diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2018-06-07 15:26:09 +0300 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:32:02 +0800 |
commit | 893b09f94b54bfaf98e4ed930e85757a07421f14 (patch) | |
tree | 39a169fa75cad6b57aabf6b43bc12b25ad17e85c | |
parent | 78c167aae34d259579b4c0f09f35ab71970a00d7 (diff) |
MLK-18537 ARM: dts: imx6qdl-sabreauto: Move sensors under i2c mux
Suspend fails on sabreauto because the i2c mux is set to the default
state before suspending sensors:
dpm_run_callback(): isl29023_suspend+0x0/0x3c returns -11
PM: Device 2-0044 failed to suspend: error -11
PM: Some devices failed to suspend, or early wake event detected
Fix this by moving sensons to i2cmux/i2c@1 just like the rest of I2C3
devices. This is a porting issue, in imx_4.9.y there is no dynamic
muxing for i2c3.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 002bb871d2fa..502c5e87c782 100644 --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi @@ -354,6 +354,31 @@ gpio-controller; #gpio-cells = <2>; }; + + isl29023@44 { + compatible = "fsl,isl29023"; + reg = <0x44>; + rext = <499>; + interrupt-parent = <&gpio5>; + interrupts = <17 2>; + }; + + mag3110@0e { + compatible = "fsl,mag3110"; + reg = <0x0e>; + position = <2>; + interrupt-parent = <&gpio2>; + interrupts = <29 1>; + }; + + mma8451@1c { + compatible = "fsl,mma8451"; + reg = <0x1c>; + position = <7>; + interrupt-parent = <&gpio6>; + interrupts = <31 8>; + interrupt-route = <1>; + }; }; }; @@ -648,31 +673,6 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c3>; status = "okay"; - - isl29023@44 { - compatible = "fsl,isl29023"; - reg = <0x44>; - rext = <499>; - interrupt-parent = <&gpio5>; - interrupts = <17 2>; - }; - - mag3110@0e { - compatible = "fsl,mag3110"; - reg = <0x0e>; - position = <2>; - interrupt-parent = <&gpio2>; - interrupts = <29 1>; - }; - - mma8451@1c { - compatible = "fsl,mma8451"; - reg = <0x1c>; - position = <7>; - interrupt-parent = <&gpio6>; - interrupts = <31 8>; - interrupt-route = <1>; - }; }; &iomuxc { |