[PATCH v3 00/10] rockchip: Fixes for RK3568 and RK3588

Jonas Karlman jonas at kwiboo.se
Mon Apr 17 21:07:11 CEST 2023


This re-send series contains fixes for RK3568 and RK3588 that never made
it into v2023.04 and is needed to generate a bootable rockchip-u-boot.bin
image for RK3568 and RK3588.

I have folded all my pending fixes into this series. Some have r-b tags
others seem to have been missed :-)

Patch 1 imply use of ROCKCHIP_TPL for RK3588 to generate a bootable
rockchip-u-boot.bin image.
Patch 2 fixes sdmmc boot on rk3588-rock-5b.
Patch 3 fixes boot of rk3568-rock-3a, an issue introduced in v1.
Patch 4 add fdtoverlay and compressed kernel addresses to env.
Patch 5-7 fixes support for sdmmc clocks in SPL on RK3588.
Patch 8 fixes IO mux selection on RK3568.
Patch 9 adds support for RK3568 and RK3588 gpio banks.
Patch 10 fixes probe of pmic and missing regulators on rk3568-evb and
rk3568-rock-3a.

Please consider these fixes for v2023.07.

Changes in v3:
- Change u-boot,dm-spl to bootph-pre-ram
- Include patches from [2], [3], [4] and [5]
- Collect r-b tags

Changes in v2:
- Drop applied patches
- Add the pre-req patch from [1]
- Add patch to fix an issue introduced in v1
- Collect r-b tags

This series can also be found at [6]

[1] https://patchwork.ozlabs.org/project/uboot/patch/20230228213822.3583989-1-jonas@kwiboo.se/
[2] https://patchwork.ozlabs.org/project/uboot/cover/20230317191638.2558279-1-jonas@kwiboo.se/
[3] https://patchwork.ozlabs.org/project/uboot/patch/20230318233039.799975-1-jonas@kwiboo.se/
[4] https://patchwork.ozlabs.org/project/uboot/patch/20230319183949.1375997-1-jonas@kwiboo.se/
[5] https://patchwork.ozlabs.org/project/uboot/patch/20230402155816.1312383-1-jonas@kwiboo.se/
[6] https://github.com/Kwiboo/u-boot-rockchip/commits/rk35xx-fixes-v3

Jonas Karlman (10):
  rockchip: Use an external TPL binary on RK3588
  rockchip: rk3588-rock-5b: Fix sdmmc boot
  rockchip: rk35xx: Fix boot with a large fdt blob
  rockchip: rk35xx: Enable fdtoverlay and kernel compression
  clk: scmi: Add Kconfig option for SPL
  rockchip: rk3588: Add support for sdmmc clocks in SPL
  rockchip: rk3588: Sync sdmmc node from linux-next
  pinctrl: rockchip: Fix IO mux selection on RK3568
  gpio: rockchip: Add support for RK3568 and RK3588 banks
  clk: rockchip: rk3568: Add dummy I2S1_MCLKOUT_TX clock support

 .../dts/rk3588-edgeble-neu6a-io-u-boot.dtsi   |   2 -
 arch/arm/dts/rk3588-rock-5b-u-boot.dtsi       |   3 +-
 arch/arm/dts/rk3588s-u-boot.dtsi              |  27 ++--
 arch/arm/dts/rk3588s.dtsi                     |  15 +++
 arch/arm/include/asm/arch-rockchip/clock.h    |   1 -
 .../include/asm/arch-rockchip/cru_rk3588.h    |  19 ++-
 arch/arm/mach-rockchip/Kconfig                |   8 +-
 configs/neu6a-io-rk3588_defconfig             |   1 -
 configs/rock-3a-rk3568_defconfig              |   1 -
 configs/rock5b-rk3588_defconfig               |   2 -
 doc/board/rockchip/rockchip.rst               |   9 ++
 drivers/clk/Kconfig                           |   8 ++
 drivers/clk/Makefile                          |   2 +-
 drivers/clk/rockchip/clk_rk3568.c             |   2 +
 drivers/clk/rockchip/clk_rk3588.c             | 125 ++++++++++++++++++
 drivers/firmware/scmi/scmi_agent-uclass.c     |   2 +-
 drivers/gpio/rk_gpio.c                        | 112 +++++++++++-----
 drivers/pinctrl/rockchip/pinctrl-rk3568.c     |  66 +++++----
 include/configs/rk3568_common.h               |   7 +-
 include/configs/rk3588_common.h               |   7 +-
 20 files changed, 326 insertions(+), 93 deletions(-)

-- 
2.40.0



More information about the U-Boot mailing list