Skip to content

Commit

Permalink
arm64: dts: rockchip: regulator for sd needs to be always on for BPI-…
Browse files Browse the repository at this point in the history
…R2Pro

[ Upstream commit 433d548 ]

With default dts configuration for BPI-R2Pro, the regulator for sd card is
powered off when reboot is commanded, and the only solution to detect the
sd card again, and therefore, allow rebooting from there, is to do a
hardware reset.

Configure the regulator for sd to be always on for BPI-R2Pro in order to
avoid this issue.

Fixes: f901aaa ("arm64: dts: rockchip: Add Bananapi R2 Pro")
Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
Link: https://lore.kernel.org/r/20240305143222.189413-1-jtornosm@redhat.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
jtornosm authored and gregkh committed May 2, 2024
1 parent ff3e2ca commit 9f9d12a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@

vccio_sd: LDO_REG5 {
regulator-name = "vccio_sd";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;

Expand Down

0 comments on commit 9f9d12a

Please sign in to comment.