Skip to content

rockchip: Fixes for RK3568 and RK3588

Jonas Karlman u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 2 repliesIn review
  2. v24 patches 2 repliesSuperseded
  3. v112 patches 13 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10rockchip: Use an external TPL binary on RK3588arch/arm/mach-rockchip/Kconfig configs/neu6a-io-rk3588_defconfig configs/rock-3a-rk3568_defconfig +2 more+10 -40 replies
2/10rockchip: rk3588-rock-5b: Fix sdmmc bootarch/arm/dts/rk3588-rock-5b-u-boot.dtsi configs/rock5b-rk3588_defconfig+2 -20 replies
3/10rockchip: rk35xx: Fix boot with a large fdt blobarch/arm/mach-rockchip/Kconfig+2 -01 reply
4/10rockchip: rk35xx: Enable fdtoverlay and kernel compressionarch/arm/mach-rockchip/Kconfig include/configs/rk3568_common.h include/configs/rk3588_common.h+14 -20 replies
5/10clk: scmi: Add Kconfig option for SPLdrivers/clk/Kconfig drivers/clk/Makefile drivers/firmware/scmi/scmi_agent-uclass.c+10 -20 replies
6/10rockchip: rk3588: Add support for sdmmc clocks in SPLarch/arm/include/asm/arch-rockchip/clock.h arch/arm/include/asm/arch-rockchip/cru_rk3588.h drivers/clk/rockchip/clk_rk3588.c+143 -20 replies
7/10rockchip: rk3588: Sync sdmmc node from linux-nextarch/arm/dts/rk3588-edgeble-neu6a-io-u-boot.dtsi arch/arm/dts/rk3588-rock-5b-u-boot.dtsi arch/arm/dts/rk3588s-u-boot.dtsi +2 more+30 -180 replies
8/10pinctrl: rockchip: Fix IO mux selection on RK3568drivers/pinctrl/rockchip/pinctrl-rk3568.c+38 -281 reply
9/10gpio: rockchip: Add support for RK3568 and RK3588 banksdrivers/gpio/rk_gpio.c+76 -360 replies
10/10clk: rockchip: rk3568: Add dummy I2S1_MCLKOUT_TX clock supportdrivers/clk/rockchip/clk_rk3568.c+2 -00 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchJagan TekiKever YangSimon Glass
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

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

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/[email protected]/
[2] https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/
[3] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[4] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[5] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[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(-)
Signature · 1 line
2.40.0