[PATCH 0/3] rockchip: gpio: Add support for RK3568 and RK3588
Jonas Karlman
jonas at kwiboo.se
Sun Mar 19 00:56:54 CET 2023
This series adds support for RK3568 and RK3588 in the rk gpio driver.
It also reverts the use of gpio-ranges to set gpio bank id and instead
add gpio aliases and instead use the alias sequence as the bank id.
Using an alias should remove the need for adding a new bank-id prop and
abusing the gpio-ranges prop. The alias is also used to determin the
bank id in the linux driver.
The series can also be found at [1].
[1] https://github.com/Kwiboo/u-boot-rockchip/commits/rk35xx-gpio-v1
Jonas Karlman (3):
rockchip: dts: Add missing alias for gpio controllers
gpio: rockchip: Use gpio alias id as gpio bank id
gpio: rockchip: Add support for RK3568 and RK3588 banks
arch/arm/dts/px30-u-boot.dtsi | 4 +
arch/arm/dts/rk3066a-u-boot.dtsi | 11 +++
arch/arm/dts/rk3188-u-boot.dtsi | 9 +++
arch/arm/dts/rk322x-u-boot.dtsi | 7 ++
arch/arm/dts/rk3308-u-boot.dtsi | 5 ++
arch/arm/dts/rk3328-u-boot.dtsi | 4 +
arch/arm/dts/rk3368-u-boot.dtsi | 7 ++
arch/arm/dts/rk3399-u-boot.dtsi | 5 ++
arch/arm/dts/rk3588s-u-boot.dtsi | 8 ++
arch/arm/dts/rv1108-u-boot.dtsi | 9 +++
arch/arm/dts/rv1126-u-boot.dtsi | 8 ++
drivers/gpio/rk_gpio.c | 130 +++++++++++++++++++------------
12 files changed, 157 insertions(+), 50 deletions(-)
--
2.40.0
More information about the U-Boot
mailing list