Skip to content

rockchip fixes and extend rk3568 support

Peter Geis u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11clk: rockchip: rk3568: fix reset handlerdrivers/clk/rockchip/clk_rk3568.c+2 -05 replies
2/11mmc: sdhci: allow disabling sdma in spldrivers/mmc/Kconfig drivers/mmc/sdhci.c+10 -32 replies
3/11spi: rockchip-sfc: fix building rockchip-sfcdrivers/spi/rockchip_sfc.c+1 -02 replies
4/11spi: rockchip-sfc: sanity check minimum freqdrivers/spi/rockchip_sfc.c+5 -02 replies
5/11spl: support adc drivers in splcommon/spl/Kconfig drivers/Makefile+6 -00 replies
6/11rockchip: handle bootrom recovery mode in splarch/arm/mach-rockchip/Makefile arch/arm/mach-rockchip/boot_mode.c arch/arm/mach-rockchip/rk3568/rk3568.c+29 -46 replies
7/11rockchip: rk3568: add boot device detectionarch/arm/mach-rockchip/rk3568/rk3568.c+8 -02 replies
8/11rockchip: rk3568: enable automatic clock gatingarch/arm/mach-rockchip/rk3568/rk3568.c+23 -02 replies
9/11rockchip: move dwc3 config to chip specific handlerarch/arm/mach-rockchip/board.c arch/arm/mach-rockchip/rk3399/rk3399.c+29 -242 replies
10/11rockchip: rk3568: add dwc3 otg supportarch/arm/mach-rockchip/rk3568/rk3568.c+29 -02 replies
11/11rockchip: rk356x: attempt to fix ram detectionarch/arm/mach-rockchip/Kconfig arch/arm/mach-rockchip/rk3568/rk3568.c arch/arm/mach-rockchip/sdram.c +2 more+55 -63 replies

Reviews trailers per patch

6 of 11 patches have a Reviewed-by or Acked-by.

PatchJaehoon ChungSimon GlassKever YangJagan Teki
1/11R-b R-b T-b
2/11R-b R-b
3/11
4/11
5/11
6/11
7/11R-b
8/11R-b R-b
9/11R-b
10/11R-b
11/11

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

Read the v1 thread

Cover letter [PATCH v1 00/11] rockchip fixes and extend rk3568 support

to: Simon Glass <[email protected]>
to: Philipp Tomsich <[email protected]>
to: Kever Yang <[email protected]>
to: Lukasz Majewski <[email protected]>
to: Sean Anderson <[email protected]>
to: Peng Fan <[email protected]>
to: Jaehoon Chung <[email protected]>
to: Heiko Stübner <[email protected]>
cc: [email protected]

Good Evening,

The following is a few patches for rockchip mainline u-boot support. Patches 1-3 are fixes for the rk3568 reset handler, rockchip emmc dma to sram, and building the rockchip-sfc driver.
Patch 4 adds a sanity check for the minimum sfc frequency. Patch 5 and 6 add adc support to spl and enable the rockchip recovery handler in spl, before attempting to load u-boot.
Patch 7 enables rk3568 spl bootrom device detection.
Patch 8 enables automatic clock gating and other power saving features on rk3568, which solves the chip running hotter compared to downstream. Patch 9 and 10 move the dwc3 platform data to the chip specific code and enable dwc3 otg support on rk3568.
Patch 11 is an RFC patch for fixing ram detection on rk3568. Downstream goes about this a different way, where they implemented a special library to handle this.

Please review and *especially test* patch 11.

Very Respectfully,
Peter Geis

Peter Geis (11):
clk: rockchip: rk3568: fix reset handler
mmc: sdhci: allow disabling sdma in spl
spi: rockchip-sfc: fix building rockchip-sfc
spi: rockchip-sfc: sanity check minimum freq
spl: support adc drivers in spl
rockchip: handle bootrom recovery mode in spl
rockchip: rk3568: add boot device detection
rockchip: rk3568: enable automatic clock gating
rockchip: move dwc3 config to chip specific handler
rockchip: rk3568: add dwc3 otg support [RFC] rockchip: rk356x: attempt to fix ram detection

 arch/arm/mach-rockchip/Kconfig         |   1 +
 arch/arm/mach-rockchip/Makefile        |   6 +-
 arch/arm/mach-rockchip/board.c         |  24 ------
 arch/arm/mach-rockchip/boot_mode.c     |   4 +-
 arch/arm/mach-rockchip/rk3399/rk3399.c |  29 +++++++
 arch/arm/mach-rockchip/rk3568/rk3568.c | 112 +++++++++++++++++++++++++
 arch/arm/mach-rockchip/sdram.c         |  19 +++--
 common/board_f.c                       |   7 ++
 common/spl/Kconfig                     |   5 ++
 drivers/Makefile                       |   1 +
 drivers/clk/rockchip/clk_rk3568.c      |   2 +
 drivers/mmc/Kconfig                    |   7 ++
 drivers/mmc/sdhci.c                    |   6 +-
 drivers/spi/rockchip_sfc.c             |   6 ++
 include/configs/rk3568_common.h        |   5 ++
 15 files changed, 197 insertions(+), 37 deletions(-)
Signature · 1 line
2.25.1