mbox series

[next,v2,0/8] rockchip: px30: migrate to common bss and stack addresses and OF_UPSTREAM

Message ID 20240524-px30-of_upstream-v2-0-fdc7887097a2@cherry.de
Headers show
Series rockchip: px30: migrate to common bss and stack addresses and OF_UPSTREAM | expand

Message

Quentin Schulz May 24, 2024, 9:23 a.m. UTC
Following up on migrating PX30 Ringneck to the new common bss and stack
addresses as done in
https://lore.kernel.org/u-boot/20240523-px30-2024-07-rc-v2-0-e46782d5520c@cherry.de/T/#t
let's migrate all other px30 boards to this new memory layout so that it
aligns with other Rockchip SoCs (TPL excluded).

This also migrates all (but firefly-px30) PX30-based boards to use
OF_UPSTREAM. firefly-px30 doesn't have an upstream kernel device tree so
it is left untouched.
All but Odroid-Go2 were straightforward to migrate.

While at it, also fix a few issues related to UART on the PX30 Mini EVB
I could test.

This was boot tested on PX30 Ringneck and PX30 Mini EVB, U-Boot CLI and
Linux kernel userspace are reached.

This is based on next + https://lore.kernel.org/u-boot/20240523-px30-2024-07-rc-v2-0-e46782d5520c@cherry.de/T/#t

To: Kever Yang <kever.yang@rock-chips.com>
To: Tom Rini <trini@konsulko.com>
To: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
To: Jagan Teki <jagan@amarulasolutions.com>
To: Suniel Mahesh <sunil@amarulasolutions.com>
To: Simon Glass <sjg@chromium.org>
To: Philipp Tomsich <philipp.tomsich@vrull.eu>
To: Quentin Schulz <quentin.schulz@theobroma-systems.com>
To: Klaus Goger <klaus.goger@theobroma-systems.com>
Cc: u-boot@lists.denx.de
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>

Changes in v2:
- remove px30-base and ringneck patches, they were sent for master
- migrate boards to OF_UPSTREAM
- Link to v1: https://lore.kernel.org/r/20240521-px30-2024-07-rc-v1-0-62109c84d44f@cherry.de

independently: https://lore.kernel.org/u-boot/20240523-px30-2024-07-rc-v2-0-e46782d5520c@cherry.de/T/#t
---
Quentin Schulz (8):
      rockchip: evb-px30: Use common bss and stack addresses
      rockchip: firefly-px30: Use common bss and stack addresses
      rockchip: odroid-go2: Use common bss and stack addresses
      rockchip: px30-core-*: Use common bss and stack addresses
      rockchip: px30: make UART pinmux accessible to TPL/SPL DTB
      rockchip: evb-px30: do not remove pinctrl nodes from SPL DTB
      rockchip: evb-px30: make UART5 the debug UART
      rockchip: px30/rk3326: migrate to OF_UPSTREAM

 arch/arm/dts/Makefile                              |   8 -
 arch/arm/dts/px30-engicam-common.dtsi              | 129 -----
 arch/arm/dts/px30-engicam-ctouch2.dtsi             |  30 -
 arch/arm/dts/px30-engicam-edimm2.2.dtsi            |  66 ---
 .../dts/px30-engicam-px30-core-ctouch2-of10.dts    |  77 ---
 arch/arm/dts/px30-engicam-px30-core-ctouch2.dts    |  22 -
 arch/arm/dts/px30-engicam-px30-core-edimm2.2.dts   |  43 --
 arch/arm/dts/px30-engicam-px30-core.dtsi           | 241 --------
 arch/arm/dts/px30-evb.dts                          | 634 --------------------
 arch/arm/dts/px30-ringneck-haikou.dts              | 232 --------
 arch/arm/dts/px30-ringneck.dtsi                    | 382 ------------
 arch/arm/dts/px30-u-boot.dtsi                      |  16 +
 arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi         |  15 +
 arch/arm/dts/rk3326-odroid-go2.dts                 | 642 ---------------------
 arch/arm/mach-rockchip/Kconfig                     |   1 +
 configs/evb-px30_defconfig                         |  24 +-
 configs/firefly-px30_defconfig                     |  19 +-
 configs/odroid-go2_defconfig                       |  20 +-
 configs/px30-core-ctouch2-of10-px30_defconfig      |  20 +-
 configs/px30-core-ctouch2-px30_defconfig           |  20 +-
 configs/px30-core-edimm2.2-px30_defconfig          |  20 +-
 configs/ringneck-px30_defconfig                    |   2 +-
 22 files changed, 59 insertions(+), 2604 deletions(-)
---
base-commit: 5e9aa577480ffbb6d3d0af6b972f227e087eef49
change-id: 20240508-px30-of_upstream-18bdbae87c98

Best regards,