arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on
authorSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Mon, 15 Mar 2021 08:35:30 +0000 (09:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 May 2021 12:47:18 +0000 (14:47 +0200)
[ Upstream commit a362b0cc94d476b097ba0ff466958c1d4e27e219 ]

Commit 99e71c029213 ("arm64: dts: imx8mq-librem5: Don't mark buck3 as always on")
removed always-on marking from GPU regulator, which is great for power
saving - however it introduces additional i2c0 traffic which can be deadly
for devices from the Dogwood batch.

To workaround the i2c0 shutdown issue on Dogwood, this commit marks
buck3 as always-on again - but only for Dogwood (r3).

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts

index 6704ea2..cc29223 100644 (file)
        ti,termination-current = <144000>;  /* uA */
 };
 
+&buck3_reg {
+       regulator-always-on;
+};
+
 &proximity {
        proximity-near-level = <25>;
 };