mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 00/18] Add Rockchip RK3588 support
Date: Thu,  4 May 2023 10:17:27 +0200	[thread overview]
Message-ID: <20230504081745.305841-1-s.hauer@pengutronix.de> (raw)

This adds support for the Rockchip RK3588 along with the Radxa ROCK 5B
board.

As the ROCK 5B has ethernet connected via PCIe this series adds support
for that as well. The existing r8169 driver needed a major update to
support the RTL8125 found on the board.

Unfortunately I didn't manage to get eMMC and SD working, so for now
the board has ethernet, but no storage at all.

Sascha

Sascha Hauer (18):
  firmware: make drivers/firmware/ obj-y
  stddef: add sizeof_field()
  pci: add pci_select_bars() helper
  pci: set upper word for 64bit base addresses
  ARM: SCMI: Use correct smc/hvc instructions on ARM64
  clk: rockchip: Add rk3588 support
  pinctrl: rockchip: Move struct definitions to separate header file
  pinctrl/gpio: rockchip: separate gpio from pinctrl driver
  pinctrl: Update pinctrl-rockchip from kernel
  phy: rockchip: naneng-combphy: add rk3588 support
  reset: Implement reset array support
  pci: designware: add rockchip support
  phy: realtek: Add RTL8125 internal phy support
  net: Update Realtek r8169 driver
  ARM: rockchip: Add rk3588 support
  ARM: dts: Add rk3588 device trees
  ARM: rockchip: rk3588: add memsize detection
  ARM: rockchip: Add Radxa ROCK 5B support

 arch/arm/Kconfig                              |    1 +
 arch/arm/boards/Makefile                      |    1 +
 arch/arm/boards/radxa-rock5/.gitignore        |    1 +
 arch/arm/boards/radxa-rock5/Makefile          |    3 +
 arch/arm/boards/radxa-rock5/board.c           |   55 +
 arch/arm/boards/radxa-rock5/lowlevel.c        |   25 +
 arch/arm/dts/Makefile                         |    1 +
 arch/arm/dts/rk3588-rock-5b.dts               |  110 +
 arch/arm/dts/rk3588.dtsi                      |  152 +
 arch/arm/dts/rk3588s.dtsi                     |  135 +
 arch/arm/mach-rockchip/Kconfig                |   12 +
 arch/arm/mach-rockchip/Makefile               |    1 +
 arch/arm/mach-rockchip/atf.c                  |   35 +
 arch/arm/mach-rockchip/dmc.c                  |   52 +-
 arch/arm/mach-rockchip/rk3588.c               |   20 +
 arch/arm/mach-rockchip/rockchip.c             |    5 +
 common/Kconfig                                |    9 +
 drivers/Makefile                              |    2 +-
 drivers/clk/rockchip/Makefile                 |    1 +
 drivers/clk/rockchip/clk-pll.c                |  226 +-
 drivers/clk/rockchip/clk-rk3588.c             | 2529 +++++++++++++
 drivers/clk/rockchip/clk.h                    |  145 +-
 drivers/clk/rockchip/rst-rk3588.c             |  855 +++++
 drivers/clk/rockchip/softrst.c                |   34 +-
 drivers/gpio/Kconfig                          |    7 +
 drivers/gpio/Makefile                         |    1 +
 drivers/gpio/gpio-rockchip.c                  |  196 +
 drivers/net/Kconfig                           |    1 +
 drivers/net/Makefile                          |    2 +-
 drivers/net/phy/realtek.c                     |    6 +
 drivers/net/r8169.h                           |   79 +
 drivers/net/r8169_firmware.c                  |  237 ++
 drivers/net/r8169_firmware.h                  |   36 +
 drivers/net/r8169_main.c                      | 3214 +++++++++++++++++
 drivers/net/r8169_phy_config.c                | 1156 ++++++
 drivers/net/rtl8169.c                         |  562 ---
 drivers/pci/Kconfig                           |    7 +
 drivers/pci/Makefile                          |    1 +
 drivers/pci/pci.c                             |   18 +-
 drivers/pci/pcie-dw-rockchip.c                |  299 ++
 .../rockchip/phy-rockchip-naneng-combphy.c    |  278 ++
 drivers/pinctrl/pinctrl-rockchip.c            | 3174 ++++++++++++----
 drivers/pinctrl/pinctrl-rockchip.h            |  452 +++
 drivers/reset/core.c                          |  127 +
 firmware/Makefile                             |    2 +
 images/Makefile.rockchip                      |    7 +
 include/linux/arm-smccc.h                     |    4 +-
 include/linux/pci.h                           |    1 +
 include/linux/reset.h                         |    7 +
 include/linux/stddef.h                        |    8 +
 include/mach/rockchip/atf.h                   |    6 +
 include/mach/rockchip/debug_ll.h              |    6 +
 include/mach/rockchip/dmc.h                   |    1 +
 include/mach/rockchip/rk3588-regs.h           |   20 +
 include/mach/rockchip/rockchip.h              |   10 +
 55 files changed, 12985 insertions(+), 1350 deletions(-)
 create mode 100644 arch/arm/boards/radxa-rock5/.gitignore
 create mode 100644 arch/arm/boards/radxa-rock5/Makefile
 create mode 100644 arch/arm/boards/radxa-rock5/board.c
 create mode 100644 arch/arm/boards/radxa-rock5/lowlevel.c
 create mode 100644 arch/arm/dts/rk3588-rock-5b.dts
 create mode 100644 arch/arm/dts/rk3588.dtsi
 create mode 100644 arch/arm/dts/rk3588s.dtsi
 create mode 100644 arch/arm/mach-rockchip/rk3588.c
 create mode 100644 drivers/clk/rockchip/clk-rk3588.c
 create mode 100644 drivers/clk/rockchip/rst-rk3588.c
 create mode 100644 drivers/gpio/gpio-rockchip.c
 create mode 100644 drivers/net/r8169.h
 create mode 100644 drivers/net/r8169_firmware.c
 create mode 100644 drivers/net/r8169_firmware.h
 create mode 100644 drivers/net/r8169_main.c
 create mode 100644 drivers/net/r8169_phy_config.c
 delete mode 100644 drivers/net/rtl8169.c
 create mode 100644 drivers/pci/pcie-dw-rockchip.c
 create mode 100644 drivers/pinctrl/pinctrl-rockchip.h
 create mode 100644 include/mach/rockchip/rk3588-regs.h

-- 
2.39.2




             reply	other threads:[~2023-05-04  8:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-04  8:17 Sascha Hauer [this message]
2023-05-04  8:17 ` [PATCH 01/18] firmware: make drivers/firmware/ obj-y Sascha Hauer
2023-05-04  8:17 ` [PATCH 02/18] stddef: add sizeof_field() Sascha Hauer
2023-05-04  8:17 ` [PATCH 03/18] pci: add pci_select_bars() helper Sascha Hauer
2023-05-04  8:17 ` [PATCH 04/18] pci: set upper word for 64bit base addresses Sascha Hauer
2023-05-04  8:17 ` [PATCH 05/18] ARM: SCMI: Use correct smc/hvc instructions on ARM64 Sascha Hauer
2023-05-04  8:17 ` [PATCH 06/18] clk: rockchip: Add rk3588 support Sascha Hauer
2023-05-04  8:17 ` [PATCH 07/18] pinctrl: rockchip: Move struct definitions to separate header file Sascha Hauer
2023-05-04  8:17 ` [PATCH 08/18] pinctrl/gpio: rockchip: separate gpio from pinctrl driver Sascha Hauer
2023-05-04  8:17 ` [PATCH 09/18] pinctrl: Update pinctrl-rockchip from kernel Sascha Hauer
2023-05-04  8:17 ` [PATCH 10/18] phy: rockchip: naneng-combphy: add rk3588 support Sascha Hauer
2023-05-04  8:17 ` [PATCH 11/18] reset: Implement reset array support Sascha Hauer
2023-05-04  8:17 ` [PATCH 12/18] pci: designware: add rockchip support Sascha Hauer
2023-05-04  8:17 ` [PATCH 13/18] phy: realtek: Add RTL8125 internal phy support Sascha Hauer
2023-05-04  8:17 ` [PATCH 14/18] net: Update Realtek r8169 driver Sascha Hauer
2023-05-04  8:17 ` [PATCH 15/18] ARM: rockchip: Add rk3588 support Sascha Hauer
2023-05-04  8:17 ` [PATCH 16/18] ARM: dts: Add rk3588 device trees Sascha Hauer
2023-05-04  8:17 ` [PATCH 17/18] ARM: rockchip: rk3588: add memsize detection Sascha Hauer
2023-05-04  8:17 ` [PATCH 18/18] ARM: rockchip: Add Radxa ROCK 5B support Sascha Hauer
2023-05-04  9:36   ` Ahmad Fatoum
2023-05-04 10:08     ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230504081745.305841-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox