[PATCH v1 3/3] arm64: dts: imx8mq-librem5: set pd power-supply-needs-irq when needed

Martin Kepplinger martin.kepplinger at puri.sm
Mon Jul 11 02:45:49 PDT 2022


For the pgc power-supply nodes on the librem5 board, interrupts are
always needed for them to work as they are regulators controlled via
i2c.

Signed-off-by: Martin Kepplinger <martin.kepplinger at puri.sm>
---
 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index 9eec8a7eecfc..1b445cbfdc78 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -1159,14 +1159,17 @@ mipi_dsi_out: endpoint {
 
 &pgc_gpu {
 	power-supply = <&buck3_reg>;
+	power-supply-needs-irq;
 };
 
 &pgc_mipi {
 	power-supply = <&ldo5_reg>;
+	power-supply-needs-irq;
 };
 
 &pgc_vpu {
 	power-supply = <&buck4_reg>;
+	power-supply-needs-irq;
 };
 
 &pwm1 {
-- 
2.30.2




More information about the linux-arm-kernel mailing list