Message ID | 20241125081814.397352-3-andrej.picej@norik.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Update PHYTEC's i.MX8MM DTSs | expand |
Am Montag, dem 25.11.2024 um 09:18 +0100 schrieb Andrej Picej: > 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> > --- > arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis- > rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts > index 5eacbd9611ee..31d5c57d3c24 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts > @@ -255,7 +255,7 @@ bluetooth { > 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>; > @@ -332,7 +332,7 @@ pinctrl_bt: btgrp { > 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 > >; > }; >
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts index 5eacbd9611ee..31d5c57d3c24 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts @@ -255,7 +255,7 @@ bluetooth { 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>; @@ -332,7 +332,7 @@ pinctrl_bt: btgrp { 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 >; };
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> --- arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)