[PATCH V2 0/9] Rockchip: Improve Support for RK3566 Devices

Chris Morgan
2023-02-13T22:28:18Z

From: Chris Morgan <macromorgan@hotmail.com>

This series is to lay the groundwork to improve support for the RK3566
based devices. This syncs the devicetrees with upstream Linux and adds
support for the pin controller of the rk356x series.

Future patches will be submitted that builds on top of this to support
devices such as the Anbernic RG353 and RG503 which are based on the
RK3566.

Changes Since V1:
- Updated GPIO to parse bank ID from new property of "gpio-ranges"
which should be included in upstream Linux soon.
- Updated name of u-boot.dtsi file for the rk3568-evb1-v10.
- Updated MAINTAINERS file for evb-rk3568 board.
- Updated rockchip documentation for build instructions for
rk3568 boards.
- Removed links to patches co-authored by Peter Geis and instead
included him in the tags.

Chris Morgan (9):
gpio: gpio-rockchip: parse gpio-ranges for bank id
dts: rockchip: px30: add gpio-ranges property to gpio nodes
rockchip: vop2: Add vop2 dt-binding from Linux
arm64: dts: rockchip: Sync rk356x from Linux main
rockchip: rk3568: add boot device detection
rockchip: rk3568: enable automatic power savings
gpio/rockchip: rk_gpio support v2 gpio controller
arm64: dts: rockchip: add gpio-ranges property to gpio nodes
evb1-v10-rk3568: Update MAINTAINERS and documentation

arch/arm/dts/Makefile | 2 +-
arch/arm/dts/px30.dtsi | 4 +
arch/arm/dts/rk3568-evb.dts | 79 --
...-boot.dtsi => rk3568-evb1-v10-u-boot.dtsi} | 0
arch/arm/dts/rk3568-evb1-v10.dts | 692 ++++++++++++++++++
arch/arm/dts/rk3568.dtsi | 122 +++
arch/arm/dts/rk356x.dtsi | 187 ++++-
arch/arm/include/asm/arch-rockchip/gpio.h | 38 +
arch/arm/mach-rockchip/rk3568/rk3568.c | 31 +
board/rockchip/evb_rk3568/MAINTAINERS | 12 +-
...68_defconfig => evb1-v10-rk3568_defconfig} | 4 +-
doc/board/rockchip/rockchip.rst | 10 +
drivers/gpio/rk_gpio.c | 69 +-
drivers/pinctrl/rockchip/Makefile | 1 +
drivers/pinctrl/rockchip/pinctrl-rk3568.c | 453 ++++++++++++
.../pinctrl/rockchip/pinctrl-rockchip-core.c | 12 +-
include/dt-bindings/soc/rockchip,vop2.h | 14 +
17 files changed, 1613 insertions(+), 117 deletions(-)
delete mode 100644 arch/arm/dts/rk3568-evb.dts
rename arch/arm/dts/{rk3568-evb-u-boot.dtsi => rk3568-evb1-v10-u-boot.dtsi} (100%)
create mode 100644 arch/arm/dts/rk3568-evb1-v10.dts
rename configs/{evb-rk3568_defconfig => evb1-v10-rk3568_defconfig} (94%)
create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3568.c
create mode 100644 include/dt-bindings/soc/rockchip,vop2.h

--
2.34.1