From 35a462d1d44cf9cf8dfdca57fdfb88b0f9f1fb72 Mon Sep 17 00:00:00 2001 From: "lei.chen" Date: Thu, 12 Jun 2025 17:26:54 +0800 Subject: [PATCH] Bluetooth: add btwakeup-gpios for trunk [1/1] PD#SWPL-217372 PD#WIRELESS-12065 Problem: W2 Bluetooth wake-up failed Solution: Add btwakeup-gpios Verify: S905X4 Change-Id: Iac996d894bad3c84a4725128f53ce6c46882afd8 Signed-off-by: lei.chen --- arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_debian.dts | 1 + arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_drm.dts | 1 + arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_linux.dts | 1 + patchinfo/Iac996d894bad3c84a4725128f53ce6c46882afd8 | 1 + 4 files changed, 4 insertions(+) create mode 100644 patchinfo/Iac996d894bad3c84a4725128f53ce6c46882afd8 diff --git a/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_debian.dts b/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_debian.dts index 0951666bd..3d0f397ce 100644 --- a/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_debian.dts +++ b/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_debian.dts @@ -1829,6 +1829,7 @@ &aml_bt { status = "okay"; reset-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + btwakeup-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>; hostwake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; power_down_disable = <1>; }; diff --git a/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_drm.dts b/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_drm.dts index b655e99b9..3e584b84b 100644 --- a/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_drm.dts +++ b/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_drm.dts @@ -1765,6 +1765,7 @@ &aml_bt { status = "okay"; reset-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + btwakeup-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>; hostwake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; }; diff --git a/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_linux.dts b/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_linux.dts index 9bb790964..fa5d77490 100644 --- a/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_linux.dts +++ b/arch/arm64/boot/dts/amlogic/sc2_s905x4_ah212_linux.dts @@ -1546,6 +1546,7 @@ &aml_bt { status = "okay"; reset-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + btwakeup-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>; hostwake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; }; diff --git a/patchinfo/Iac996d894bad3c84a4725128f53ce6c46882afd8 b/patchinfo/Iac996d894bad3c84a4725128f53ce6c46882afd8 new file mode 100644 index 000000000..28bbe1a99 --- /dev/null +++ b/patchinfo/Iac996d894bad3c84a4725128f53ce6c46882afd8 @@ -0,0 +1 @@ +SWPL-217372