u-boot/dts/upstream
Jonas Karlman d69097683d arm64: dts: rockchip: Fix sdmmc access on rk3308-rock-s0 v1.1 boards
BootROM leave GPIO4_D6 configured as SDMMC_PWREN function and DW MCI
driver set PRWEN high on MMC_POWER_UP and low on MMC_POWER_OFF.
Similarly U-Boot also set PRWEN high before accessing mmc.

However, HW revision prior to v1.2 must pull GPIO4_D6 low to access
sdmmc. For HW revision v1.2 the state of GPIO4_D6 has no impact.

Model an always-on active low fixed regulator using GPIO4_D6 to fix
use of sdmmc on older HW revisions of the board.

Fixes: adeb5d2a4ba4 ("arm64: dts: rockchip: Add Radxa ROCK S0")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Link: https://lore.kernel.org/r/20241119230838.4137130-1-jonas@kwiboo.se
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

[ upstream commit: 26c100232b09ced0857306ac9831a4fa9c9aa231 ]

(cherry picked from commit ca8e0bedbc790b19b11efc223677d178b8eeb74e)
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
2025-02-19 23:26:40 +08:00
..
Bindings Subtree merge tag 'v6.13-dts' of dts repo [1] into dts/upstream 2025-01-26 16:19:33 -06:00
include/dt-bindings Subtree merge tag 'v6.13-dts' of dts repo [1] into dts/upstream 2025-01-26 16:19:33 -06:00
scripts Subtree merge tag 'v6.10-dts' of devicetree-rebasing repo [1] into dts/upstream 2024-07-20 11:15:22 -06:00
src arm64: dts: rockchip: Fix sdmmc access on rk3308-rock-s0 v1.1 boards 2025-02-19 23:26:40 +08:00
.gitignore Merge commit '53633a893a' as 'dts/upstream' 2024-02-29 12:33:36 -05:00
COPYING Merge commit '53633a893a' as 'dts/upstream' 2024-02-29 12:33:36 -05:00
Makefile Subtree merge tag 'v6.12-dts' of dts repo [1] into dts/upstream 2024-12-24 13:33:03 -06:00
README Merge commit '53633a893a' as 'dts/upstream' 2024-02-29 12:33:36 -05:00

This tree contains device tree definitions extracted from the Linux
kernel source tree. It is synced regularly with mainline Linux.

Type "make help" for a list of build targets.