Skip to contentSkip to conversation

arch/arm/boot/dts/st/ste-ux500-samsung: dts bluetooth wakeup interrupt

PATCH In review Alex Tran 2 participants 2 messages Aug 23, 2025 – Aug 28, 2025

Subsystems (2)
lore
Share & tools
lore

Alex Tran

author
#0 lore raw

PATCH 1/1 arch/arm/boot/dts/st/ste-ux500-samsung: dts bluetooth wakeup interrupt

Interrupt support on host wakeup gpio for ste-ux500-samsung bluetooth.

---
 arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts | 5 +++--
 arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts     | 5 +++--
 arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts     | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)
arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts +3 -2
index c623cc35c5ea..03c679164c11 100644
@@ -383,8 +383,9 @@ bluetooth {
 				/* 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";
arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts +3 -2
index 2355ca6e9ad6..bedffd969ec9 100644
@@ -475,8 +475,9 @@ bluetooth {
 				/* 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";
arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts +3 -2
index 229f7c32103c..64562a3a262c 100644
@@ -481,8 +481,9 @@ bluetooth {
 				/* 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";
Signature · 1 line
2.51.0