[PATCH v2 00/12] rockchip: rk3399: Migrate to use IO-domain driver

Jonas Karlman jonas at kwiboo.se
Wed Mar 13 00:36:10 CET 2024


This series remove old unused board_early_init_f() functions, adds
support for RK3399 to the IO-domain driver and migrates all boards that
used setup_iodomain() to now use the IO-domain driver instead.

Also add device tree files and myself as reviewer to MAINTAINERS.

Changes in v2:
- Use glob pattern where appropriate
- Split gpt_capsule_update_setup() change into own patch
- Collect r-b tags

This series depends on following series for a clean apply:
- rockchip: rk3328: Update defconfigs, DTs and enable boot from SPI [1]
- rockchip: Read cpuid and generate MAC address from efuse for RK3328
  and RK3399 [2]
- rockchip: Update stack and bss addresses on RK3308, RK3328, RK3399,
  RK356x and RK3588 [3]
- rockchip: add support for Theobroma JAGUAR SBC-RK3588-AMR [4]

A copy of this series and its depends can also be found at [5]

[1] https://patchwork.ozlabs.org/cover/1900345/
[2] https://patchwork.ozlabs.org/cover/1897743/
[3] https://patchwork.ozlabs.org/cover/1907155/
[4] https://patchwork.ozlabs.org/cover/1910408/
[5] https://github.com/Kwiboo/u-boot-rockchip/commits/rk3399-io-domain-v2

Jonas Karlman (12):
  board: rockchip: rk3399: Add device tree files to MAINTAINERS
  board: rockchip: rk3399: Add myself as reviewer to MAINTAINERS
  board: rockchip: rk3399: Remove unused board_early_init_f functions
  board: rockchip: Add a common ROCK Pi 4 target
  rockchip: io-domain: Add support for RK3399
  rockchip: pine64: rockpro64: Migrate to use IO-domain driver
  rockchip: pine64: pinebook-pro: Migrate to use IO-domain driver
  rockchip: pine64: pinephone-pro: Migrate to use IO-domain driver
  rockchip: vamrs: rock960: Migrate to use IO-domain driver
  rockchip: theobroma-systems: puma: Migrate to use IO-domain driver
  rockchip: google: gru: Migrate to use IO-domain driver
  rockchip: board: Move gpt_capsule_update_setup() call

 arch/arm/mach-rockchip/board.c                | 10 +--
 arch/arm/mach-rockchip/rk3399/Kconfig         |  6 ++
 board/firefly/roc-pc-rk3399/MAINTAINERS       |  1 +
 board/firefly/roc-pc-rk3399/roc-pc-rk3399.c   | 22 +-----
 board/google/gru/gru.c                        | 35 --------
 board/pine64/pinebook-pro-rk3399/MAINTAINERS  |  6 +-
 board/pine64/pinebook-pro-rk3399/Makefile     |  1 -
 .../pinebook-pro-rk3399/pinebook-pro-rk3399.c | 61 --------------
 board/pine64/pinephone-pro-rk3399/MAINTAINERS |  5 +-
 board/pine64/pinephone-pro-rk3399/Makefile    |  1 -
 .../pinephone-pro-rk3399.c                    | 64 ---------------
 board/pine64/rockpro64_rk3399/MAINTAINERS     |  3 +-
 board/pine64/rockpro64_rk3399/Makefile        |  7 --
 .../rockpro64_rk3399/rockpro64-rk3399.c       | 39 ---------
 board/radxa/rockpi4-rk3399/Kconfig            | 15 ++++
 board/radxa/rockpi4-rk3399/MAINTAINERS        | 22 ++++++
 .../rockpi4-rk3399}/Makefile                  |  2 +-
 .../rockpi4-rk3399/rockpi4-rk3399.c}          | 33 +-------
 board/rockchip/evb_rk3399/MAINTAINERS         | 48 ++++-------
 .../puma_rk3399/puma-rk3399.c                 | 21 -----
 board/vamrs/rock960_rk3399/MAINTAINERS        |  2 +
 board/vamrs/rock960_rk3399/Makefile           |  6 --
 board/vamrs/rock960_rk3399/rock960-rk3399.c   | 27 -------
 configs/chromebook_bob_defconfig              |  1 +
 configs/chromebook_kevin_defconfig            |  1 +
 configs/ficus-rk3399_defconfig                |  1 +
 configs/pinebook-pro-rk3399_defconfig         |  1 +
 configs/pinephone-pro-rk3399_defconfig        |  1 +
 configs/puma-rk3399_defconfig                 |  1 +
 configs/rock-4c-plus-rk3399_defconfig         |  2 +-
 configs/rock-4se-rk3399_defconfig             |  2 +-
 configs/rock-pi-4-rk3399_defconfig            |  2 +-
 configs/rock-pi-4c-rk3399_defconfig           |  2 +-
 configs/rock960-rk3399_defconfig              |  1 +
 configs/rockpro64-rk3399_defconfig            |  1 +
 drivers/misc/rockchip-io-domain.c             | 79 ++++++++++++++++++-
 include/configs/rk3399_common.h               | 16 ----
 include/configs/rockpi4-rk3399.h              | 32 ++++++++
 38 files changed, 198 insertions(+), 382 deletions(-)
 delete mode 100644 board/pine64/pinebook-pro-rk3399/Makefile
 delete mode 100644 board/pine64/pinebook-pro-rk3399/pinebook-pro-rk3399.c
 delete mode 100644 board/pine64/pinephone-pro-rk3399/Makefile
 delete mode 100644 board/pine64/pinephone-pro-rk3399/pinephone-pro-rk3399.c
 delete mode 100644 board/pine64/rockpro64_rk3399/Makefile
 delete mode 100644 board/pine64/rockpro64_rk3399/rockpro64-rk3399.c
 create mode 100644 board/radxa/rockpi4-rk3399/Kconfig
 create mode 100644 board/radxa/rockpi4-rk3399/MAINTAINERS
 rename board/{rockchip/evb_rk3399 => radxa/rockpi4-rk3399}/Makefile (79%)
 rename board/{rockchip/evb_rk3399/evb-rk3399.c => radxa/rockpi4-rk3399/rockpi4-rk3399.c} (65%)
 delete mode 100644 board/vamrs/rock960_rk3399/Makefile
 delete mode 100644 board/vamrs/rock960_rk3399/rock960-rk3399.c
 create mode 100644 include/configs/rockpi4-rk3399.h

-- 
2.43.2



More information about the U-Boot mailing list