summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFrancesco Dolcini <francesco.dolcini@toradex.com>2023-02-27 18:23:13 +0100
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2023-02-27 19:41:47 +0100
commit001c3c9c0a9cd90479fc72d4c27e972771149c9f (patch)
tree62c4078c774b241102278da2034aaca203b2ff74 /arch
parentbfb7c06d71388ea91db807f9ec744781ae6bbd92 (diff)
arm64: dts: ti: k3-am625-verdin: fix SD_1 power supplies
+V3.3_1.8_SD regulator needs to be always on, otherwise SD I/O is not powered. Remove regulator-boot-on from vqmmc, this is a 2 states regulator (3.3V or 1.8V), there is no option to have it off, therefore it does not make any sense to mark it as 'boot-on'. Set valid LDO1 regulator range to be min/max 3.3V, this is mainly for documentation purpose WRT to the following note in the datasheet: ``` If an LDO is configured in bypass-mode, its output voltage must be configured and the PVIN_LDOx supply voltage must match the configured output voltage. PVIN_LDOx shall be within (configured VOUT) and (configured VOUT + 200mV). Violation of this may result in instability. ``` No software is actually writing to it, but given that we use it in bypass-mode and the supply is 3.3V, it must be really configured as 3.3V. Upstream-Status: Pending Initial DTS to be used for bring-up an validation of the V1.0 design, we'll decide on the step forward to mainline this once the bring-up and validation will be done. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/ti/k3-am625-verdin.dtsi5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am625-verdin.dtsi b/arch/arm64/boot/dts/ti/k3-am625-verdin.dtsi
index 4df9e6af9b52..9ed04c75000c 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-verdin.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am625-verdin.dtsi
@@ -199,7 +199,6 @@
regulator-name = "LDO1-VSEL-SD (PMIC)";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
- regulator-boot-on;
states = <1800000 0x0>,
<3300000 0x1>;
vin-supply = <&reg_sd_3v3_1v8>;
@@ -1160,8 +1159,10 @@
reg_sd_3v3_1v8: ldo1 {
regulator-allow-bypass;
+ regulator-always-on;
+ regulator-boot-on;
regulator-max-microvolt = <3300000>;
- regulator-min-microvolt = <1800000>;
+ regulator-min-microvolt = <3300000>;
regulator-name = "+V3.3_1.8_SD (PMIC LDO1)";
};