]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: clk: rk3399: implement set_parent() operation
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 8 Jan 2018 12:11:01 +0000 (13:11 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 28 Jan 2018 16:12:36 +0000 (17:12 +0100)
commit7f393cdbcf368819379222bbf7faf7ab98955679
treefaeaa41207f5caf4c7e4ce9fe69c75f0df5a2456
parentc5e5f8b31d7423816665e7c108e14214253f0c13
rockchip: clk: rk3399: implement set_parent() operation

This implements the (newly added) set_parent() operation for the
RK3399 with a focus on allowing the RGMII clock parent to be
configured via the assigned-clock-parents property of the GMAC node.

This implementation supports only the GMAC (in fact only the RGMII
clock parent) and allows to set this clock's parent either to the
internal SCLK_GMAC or to an external clock input (identifiable by it
providing a 'clock-output-name' of "gmac_clkin").

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: David Wu <david.wu@rock-chips.com>
Series-changes: 2
- Fixed David's email address.
drivers/clk/rockchip/clk_rk3399.c