]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: ste-ux500-samsung: dts bluetooth wakeup interrupt
authorAlex Tran <alex.t.tran@gmail.com>
Sat, 23 Aug 2025 21:27:32 +0000 (14:27 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 Aug 2025 18:39:17 +0000 (20:39 +0200)
Interrupt support on host wakeup gpio for ste-ux500-samsung bluetooth.

Signed-off-by: Alex Tran <alex.t.tran@gmail.com>
Link: https://lore.kernel.org/r/20250823212732.356620-1-alex.t.tran@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts

index 404d4ea9347b99a4b5116692d0ab3e1a1472bf18..8f1780d560ff9e71763b9f74b5feb1faec42f78d 100644 (file)
                                /* BT_WAKE on GPIO199 */
                                device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
                                /* BT_HOST_WAKE on GPIO97 */
-                               /* FIXME: convert to interrupt */
-                               host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
+                               interrupt-parent = <&gpio3>;
+                               interrupts = <1 IRQ_TYPE_EDGE_RISING>;
+                               interrupt-names = "host-wakeup";
                                /* BT_RST_N on GPIO209 */
                                reset-gpios = <&gpio6 17 GPIO_ACTIVE_LOW>;
                                pinctrl-names = "default";
index 40b0d92dfb1546ed6a8becf607217dcf0d18fe68..9f58a3c2d06d1ba777b7caa4fedbc6eb6b19c10d 100644 (file)
                                /* BT_WAKE on GPIO199 */
                                device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
                                /* BT_HOST_WAKE on GPIO97 */
-                               /* FIXME: convert to interrupt */
-                               host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
+                               interrupt-parent = <&gpio3>;
+                               interrupts = <1 IRQ_TYPE_EDGE_RISING>;
+                               interrupt-names = "host-wakeup";
                                /* BT_RST_N on GPIO209 */
                                reset-gpios = <&gpio6 17 GPIO_ACTIVE_LOW>;
                                pinctrl-names = "default";
index 229f7c32103c5ca117f00b1044a6116015fd8a70..64562a3a262c46f6297a2810923a8431160f59e9 100644 (file)
                                /* BT_WAKE on GPIO199 */
                                device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
                                /* BT_HOST_WAKE on GPIO97 */
-                               /* FIXME: convert to interrupt */
-                               host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
+                               interrupt-parent = <&gpio3>;
+                               interrupts = <1 IRQ_TYPE_EDGE_RISING>;
+                               interrupt-names = "host-wakeup";
                                /* BT_RST_N on GPIO209 */
                                reset-gpios = <&gpio6 17 GPIO_ACTIVE_LOW>;
                                pinctrl-names = "default";