arm64: dts: imx8mm-phycore-som: Fix bluetooth wakeup source
authorAndrej Picej <andrej.picej@norik.com>
Tue, 18 Feb 2025 07:41:43 +0000 (08:41 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 25 Feb 2025 00:33:00 +0000 (08:33 +0800)
Not using pull-up on the host wake-up line triggers the wake up
immediately after device enters suspend. Fix this by enabling internal
pull-up and setting interrupt triggering on the falling edge.

Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Reviewed-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts

index 5eacbd9611eef35520eaac19854128fc9303a2f8..31d5c57d3c240382b985f3ff8ca3a19082cdc39c 100644 (file)
                device-wakeup-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
                interrupt-names = "host-wakeup";
                interrupt-parent = <&gpio2>;
-               interrupts = <9 IRQ_TYPE_EDGE_BOTH>;
+               interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
                max-speed = <2000000>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_bt>;
                fsl,pins = <
                        MX8MM_IOMUXC_SD1_DATA4_GPIO2_IO6        0x00
                        MX8MM_IOMUXC_SD1_DATA6_GPIO2_IO8        0x00
-                       MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9        0x00
+                       MX8MM_IOMUXC_SD1_DATA7_GPIO2_IO9        0x140
                >;
        };