OSDN Git Service

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)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Mar 2021 01:49:57 +0000 (09:49 +0800)
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>
arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts

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