From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:19 +0200 Subject: [U-Boot] [U-Boot, v4, 45/66] rockchip: clk: rk3368: add support for GMAC (SLCK_MAC) clock In-Reply-To: <1501706105-7490-46-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-46-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 > To enable the GMAC on the RK3368, we need to set up the clocking > appropriately to generate a tx_clk for the MAC. > > This adds an implementation that implements the use of the <&ext_gmac> > clock (i.e. an external 125MHz clock for RGMII provided by the PHY). > This is the clock setup used by the boards currently supported by > U-Boot (i.e. Geekbox, Sheep and RK3368-uQ7). > > This includes the change from commit > - rockchip: clk: rk3368: define GMAC_MUX_SEL_EXTCLK > > Signed-off-by: Philipp Tomsich > > Reviewed-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/include/asm/arch-rockchip/cru_rk3368.h | 3 +++ > drivers/clk/rockchip/clk_rk3368.c | 19 +++++++++++++++++-- > 2 files changed, 20 insertions(+), 2 deletions(-) > Applied to u-boot-rockchip, thanks!