MLK-16131 arm64: dts: freescale: imx8mq: disable pwm led for over-drive mode
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 3 Aug 2017 03:19:21 +0000 (11:19 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:16 +0000 (15:36 -0500)
On i.MX8MQ EVK A1 board, GPIO1_IO13 pin is shared between
GPIO regulator and PWM2, when using over-drive dtb, there
will be no PWM2 function, disable PWM LED to avoid below
message during suspend/resume test:

[   19.754862] PM: resume of devices complete after 118.732 msecs
[   19.761740] Restarting tasks ...
[   19.761741] leds_pwm pwmleds: unable to request PWM for PWM2: -517
[   19.773557] done.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8mq-evk-od.dts

index 0f4574d..ac1b658 100644 (file)
                        states = <900000 0x1 1000000 0x0>;
                };
        };
+
+       pwmleds {
+               status = "disabled";
+       };
 };
 
 &pwm2 {