From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Sun, 28 Jan 2018 17:12:45 +0100 Subject: [U-Boot] [U-Boot, v2, 3/5] rockchip: clk: rk3399: implement set_parent() operation In-Reply-To: <1516911131-51397-4-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1516911131-51397-4-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Tested-by: David Wu > --- > > Changes in v2: > - Fixed David's email address. > > drivers/clk/rockchip/clk_rk3399.c | 74 +++++++++++++++++++++++++++++++++++++-- > 1 file changed, 72 insertions(+), 2 deletions(-) > Applied to u-boot-rockchip, thanks!