All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/6] rockchip: rk3399: GMAC support for the RK3399 SoC
@ 2017-03-24 18:24 Philipp Tomsich
  2017-03-24 18:24 ` [U-Boot] [PATCH 1/6] rockchip: pinctrl: rk3399: add GMAC (RGMII only) support Philipp Tomsich
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: Philipp Tomsich @ 2017-03-24 18:24 UTC (permalink / raw)
  To: u-boot


The RK3399 includes the Designware Gigabit Ethernet controller IP and
requires similar configuration as the RK3288. However, the configuration
register offsets (within GRF) and bit offsets (within the registers)
differ.

This changeset refactors the gmac_rockchip.c driver to handle both
RK3288 and RK3399 devices. It further adds the necessary pinctrl
and clock support for GMAC capability on the RK3399.

Tested with a RK3399-Q7 (on-module KSZ9031 PHY) at 100MBit and 1GBit.


Philipp Tomsich (6):
  rockchip: pinctrl: rk3399: add GMAC (RGMII only) support
  rockchip: clk: rk3399: fix warnings for unused variables in
    SPL/non-SPL
  rockchip: clk: rk3399: add clocking support for Ethernet
  net: gmac_rockchip: Add support for the RK3399 GMAC
  dts: rk3399: add gmac for the rk3399
  dts: rk3399-puma: add gmac for the RK3399-Q7

 arch/arm/dts/rk3399-puma.dts                    |  30 +++++
 arch/arm/dts/rk3399.dtsi                        |  55 ++++++++++
 arch/arm/include/asm/arch-rockchip/grf_rk3288.h |  68 ++++++------
 arch/arm/include/asm/arch-rockchip/grf_rk3399.h |  84 +++++++++++++-
 arch/arm/include/asm/arch-rockchip/periph.h     |   1 +
 drivers/clk/rockchip/clk_rk3399.c               |   9 ++
 drivers/net/gmac_rockchip.c                     | 140 +++++++++++++++++++-----
 drivers/pinctrl/rockchip/pinctrl_rk3399.c       |  42 +++++++
 8 files changed, 367 insertions(+), 62 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2017-04-02  0:05 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-24 18:24 [U-Boot] [PATCH 0/6] rockchip: rk3399: GMAC support for the RK3399 SoC Philipp Tomsich
2017-03-24 18:24 ` [U-Boot] [PATCH 1/6] rockchip: pinctrl: rk3399: add GMAC (RGMII only) support Philipp Tomsich
2017-03-26  3:47   ` Simon Glass
2017-04-02  0:05     ` Simon Glass
2017-03-24 18:24 ` [U-Boot] [PATCH 2/6] rockchip: clk: rk3399: fix warnings for unused variables in SPL/non-SPL Philipp Tomsich
2017-03-26  3:48   ` Simon Glass
2017-04-02  0:05     ` Simon Glass
2017-03-24 18:24 ` [U-Boot] [PATCH 3/6] rockchip: clk: rk3399: add clocking support for Ethernet Philipp Tomsich
2017-03-26  3:48   ` Simon Glass
2017-04-02  0:05     ` Simon Glass
2017-03-24 18:24 ` [U-Boot] [PATCH 4/6] net: gmac_rockchip: Add support for the RK3399 GMAC Philipp Tomsich
2017-03-25 19:09   ` Joe Hershberger
2017-03-26  3:48     ` Simon Glass
2017-03-26 13:52       ` Joe Hershberger
2017-04-02  0:05         ` Simon Glass
2017-03-24 18:24 ` [U-Boot] [PATCH 5/6] dts: rk3399: add gmac for the rk3399 Philipp Tomsich
2017-03-26  3:48   ` Simon Glass
2017-04-02  0:05     ` Simon Glass
2017-03-24 18:24 ` [U-Boot] [PATCH 6/6] dts: rk3399-puma: add gmac for the RK3399-Q7 Philipp Tomsich
2017-03-26  3:48   ` Simon Glass
2017-03-26 16:24     ` Dr. Philipp Tomsich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.