mbox series

[00/11] rockchip: rk3399: Migrate to use IO-domain driver

Message ID 20240217183610.2621132-1-jonas@kwiboo.se
Headers show
Series rockchip: rk3399: Migrate to use IO-domain driver | expand

Message

Jonas Karlman Feb. 17, 2024, 6:35 p.m. UTC
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.

This series depends on cleanup done in Quentin Schulz series "rockchip:
add support for Theobroma JAGUAR SBC-RK3588-AMR" [1]. A copy of this
series can also be found at [2]

[1] https://patchwork.ozlabs.org/cover/1896901/
[2] https://github.com/Kwiboo/u-boot-rockchip/commits/rk3399-io-domain-v1

Jonas Karlman (11):
  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

 arch/arm/mach-rockchip/board.c                | 10 +--
 arch/arm/mach-rockchip/rk3399/Kconfig         |  6 ++
 board/firefly/roc-pc-rk3399/MAINTAINERS       |  5 ++
 board/firefly/roc-pc-rk3399/roc-pc-rk3399.c   | 22 +-----
 board/google/gru/gru.c                        | 35 --------
 board/pine64/pinebook-pro-rk3399/MAINTAINERS  |  3 +-
 board/pine64/pinebook-pro-rk3399/Makefile     |  1 -
 .../pinebook-pro-rk3399/pinebook-pro-rk3399.c | 61 --------------
 board/pine64/pinephone-pro-rk3399/MAINTAINERS |  2 +-
 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        | 29 +++++++
 .../rockpi4-rk3399}/Makefile                  |  2 +-
 .../rockpi4-rk3399/rockpi4-rk3399.c}          | 33 +-------
 board/rockchip/evb_rk3399/MAINTAINERS         | 38 ++++-----
 .../puma_rk3399/puma-rk3399.c                 | 21 -----
 board/vamrs/rock960_rk3399/MAINTAINERS        |  5 ++
 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, 212 insertions(+), 366 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