From 3bae740311eae85f9bbd2c4794ae575dfc34f1eb Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Thu, 8 Apr 2021 15:09:32 +0200 Subject: [PATCH] ipq806x: add missing wakeup-source for gpio keys wakeup-source is required for gpio keys to fix error genirq: irq_chip msmgpio did not update eff. affinity mask Signed-off-by: Ansuel Smith --- .../arch/arm/boot/dts/qcom-ipq8062-wg2600hp3.dts | 8 ++++++++ .../arch/arm/boot/dts/qcom-ipq8064-ad7200.dts | 8 ++++++++ .../arch/arm/boot/dts/qcom-ipq8064-c2600.dts | 8 ++++++++ .../arch/arm/boot/dts/qcom-ipq8064-d7800.dts | 6 ++++++ .../arch/arm/boot/dts/qcom-ipq8064-ea7500-v1.dts | 4 ++++ .../arch/arm/boot/dts/qcom-ipq8064-ea8500.dts | 6 ++++++ .../files/arch/arm/boot/dts/qcom-ipq8064-g10.dts | 8 ++++++++ .../arch/arm/boot/dts/qcom-ipq8064-r7500.dts | 6 ++++++ .../arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts | 6 ++++++ .../arm/boot/dts/qcom-ipq8064-unifi-ac-hd.dts | 1 + .../arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts | 10 ++++++++++ .../arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts | 8 ++++++++ .../arch/arm/boot/dts/qcom-ipq8064-wpq864.dts | 2 ++ .../arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts | 16 ++++++++++++++++ .../arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts | 6 ++++++ .../arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts | 2 ++ 16 files changed, 105 insertions(+) diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8062-wg2600hp3.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8062-wg2600hp3.dts index d234b94a465..3e04618d578 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8062-wg2600hp3.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8062-wg2600hp3.dts @@ -33,12 +33,16 @@ label = "reset"; gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 22 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; mode0 { @@ -46,6 +50,8 @@ gpios = <&qcom_pinmux 40 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; + debounce-interval = <60>; + wakeup-source; }; mode1 { @@ -53,6 +59,8 @@ gpios = <&qcom_pinmux 41 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200.dts index 9ccf3d74ac8..6cb21fc4f3f 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200.dts @@ -22,24 +22,32 @@ label = "wifi"; gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; led_enable { label = "led-enable"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts index 3f2a90fdee1..cef1aba3444 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts @@ -20,24 +20,32 @@ label = "wifi"; gpios = <&qcom_pinmux 49 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; ledswitch { label = "ledswitch"; gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts index aeeb040ad80..82535cc86bf 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts @@ -33,18 +33,24 @@ label = "wifi"; gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea7500-v1.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea7500-v1.dts index 176807163e1..9d82d52d273 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea7500-v1.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea7500-v1.dts @@ -32,12 +32,16 @@ label = "reset"; gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts index 9b01ae03282..1c6a4bdacd0 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts @@ -27,18 +27,24 @@ label = "wifi"; gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts index ccefc230114..45efb2b46fd 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts @@ -86,24 +86,32 @@ label = "ir-remote"; gpios = <&qcom_pinmux 15 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps5g { label = "wps5g"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps2g { label = "wps2g"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts index 1f457d99449..1dd45631532 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts @@ -44,18 +44,24 @@ label = "wifi"; gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts index f1904332773..71c4c3b1a3e 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts @@ -40,18 +40,24 @@ label = "wifi"; gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-unifi-ac-hd.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-unifi-ac-hd.dts index 672be3ca2c9..d6ac1fef1de 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-unifi-ac-hd.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-unifi-ac-hd.dts @@ -46,6 +46,7 @@ gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>; linux,code = ; debounce-interval = <60>; + wakeup-source; }; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts index ea7d0235ced..893addf2409 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts @@ -29,30 +29,40 @@ label = "wifi"; gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; dect { label = "dect"; gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; ledswitch { label = "ledswitch"; gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts index 23898e0221a..635e9fc8f94 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts @@ -29,12 +29,16 @@ label = "wps"; gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; bridge { @@ -42,6 +46,8 @@ gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; + debounce-interval = <60>; + wakeup-source; }; converter { @@ -49,6 +55,8 @@ gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts index 69be60b019f..ec5d5047aa2 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts @@ -83,6 +83,8 @@ label = "reset"; gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts index d80bfa204d0..8c4e3b71e36 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts @@ -91,30 +91,40 @@ label = "power"; gpios = <&qcom_pinmux 58 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; eject { label = "eject"; gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; guest { label = "guest"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; ap { @@ -122,6 +132,8 @@ gpios = <&qcom_pinmux 55 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; + debounce-interval = <60>; + wakeup-source; }; router { @@ -129,6 +141,8 @@ gpios = <&qcom_pinmux 56 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; + debounce-interval = <60>; + wakeup-source; }; auto { @@ -136,6 +150,8 @@ gpios = <&qcom_pinmux 57 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; + debounce-interval = <60>; + wakeup-source; }; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts index 34b9c5fc873..969ca724e3a 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts @@ -36,18 +36,24 @@ gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; + debounce-interval = <60>; + wakeup-source; }; reset { label = "reset"; gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; wps { label = "wps"; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts index 1d159714db0..43bed451cbf 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts @@ -57,6 +57,8 @@ label = "reset"; gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>; linux,code = ; + debounce-interval = <60>; + wakeup-source; }; }; -- 2.30.2