Skip to content

Commit 9438f97

Browse files
dolcininmenon
authored andcommitted
arm64: dts: ti: k3-am62-verdin-dahlia: Keep CTRL_SLEEP_MOCI# regulator on
This reverts commit 3935fbc. CTRL_SLEEP_MOCI# is a signal that is defined for all the SoM implementing the Verdin family specification, this signal is supposed to control the power enable in the carrier board when the system is in deep sleep mode. However this is not possible with Texas Instruments AM62 SoC, IOs output buffer is disabled in deep sleep and IOs are in tri-state mode. Given that we cannot properly control this pin, force it to be always high to minimize potential issues. Fixes: 3935fbc ("arm64: dts: ti: k3-am62-verdin-dahlia: support sleep-moci") Cc: <stable@vger.kernel.org> Link: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1361669/am625-gpio-output-state-in-deep-sleep/5244802 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Link: https://lore.kernel.org/r/20240731054804.6061-1-francesco@dolcini.it Signed-off-by: Nishanth Menon <nm@ti.com>
1 parent 137d9e7 commit 9438f97

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@
4343
sound-dai = <&mcasp0>;
4444
};
4545
};
46-
47-
reg_usb_hub: regulator-usb-hub {
48-
compatible = "regulator-fixed";
49-
enable-active-high;
50-
/* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
51-
gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
52-
regulator-boot-on;
53-
regulator-name = "HUB_PWR_EN";
54-
};
5546
};
5647

5748
/* Verdin ETHs */
@@ -193,11 +184,6 @@
193184
status = "okay";
194185
};
195186

196-
/* Do not force CTRL_SLEEP_MOCI# always enabled */
197-
&reg_force_sleep_moci {
198-
status = "disabled";
199-
};
200-
201187
/* Verdin SD_1 */
202188
&sdhci1 {
203189
status = "okay";
@@ -218,15 +204,7 @@
218204
};
219205

220206
&usb1 {
221-
#address-cells = <1>;
222-
#size-cells = <0>;
223207
status = "okay";
224-
225-
usb-hub@1 {
226-
compatible = "usb424,2744";
227-
reg = <1>;
228-
vdd-supply = <&reg_usb_hub>;
229-
};
230208
};
231209

232210
/* Verdin CTRL_WAKE1_MICO# */

arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,6 @@
138138
vin-supply = <&reg_1v8>;
139139
};
140140

141-
/*
142-
* By default we enable CTRL_SLEEP_MOCI#, this is required to have
143-
* peripherals on the carrier board powered.
144-
* If more granularity or power saving is required this can be disabled
145-
* in the carrier board device tree files.
146-
*/
147141
reg_force_sleep_moci: regulator-force-sleep-moci {
148142
compatible = "regulator-fixed";
149143
enable-active-high;

0 commit comments

Comments
 (0)