From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 25 Mar 2017 21:47:56 -0600 Subject: [U-Boot] [PATCH 1/6] rockchip: pinctrl: rk3399: add GMAC (RGMII only) support In-Reply-To: <1490379869-47505-2-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1490379869-47505-1-git-send-email-philipp.tomsich@theobroma-systems.com> <1490379869-47505-2-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 On 24 March 2017 at 12:24, Philipp Tomsich wrote: > To add GMAC (Gigabit Ethernet) support (limited to RGMII only at this > point), we need support for additional pin-configuration. This commit > adds the pinctrl support for GMAC in RGMII signalling mode: > * adds a PERIPH_ID_GMAC and the mapping from IRQ number to PERIPH_ID > * adds the required defines (in the GRF support) for configuring the > GPIOC pins for RGMII > * configures the RGMII pins (in GPIOC) when requested via pinctrl > > X-AffectedPlatforms: RK3399-Q7 > Signed-off-by: Philipp Tomsich > --- > > arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 37 ++++++++++++++++++++++ > arch/arm/include/asm/arch-rockchip/periph.h | 1 + > drivers/pinctrl/rockchip/pinctrl_rk3399.c | 42 +++++++++++++++++++++++++ > 3 files changed, 80 insertions(+) > Acked-by: Simon Glass