ipq806x: add missing wakeup-source for gpio keys
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 8 Apr 2021 13:09:32 +0000 (15:09 +0200)
committerPetr Štetiar <ynezz@true.cz>
Fri, 7 May 2021 05:05:16 +0000 (07:05 +0200)
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 <ansuelsmth@gmail.com>
16 files changed:
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8062-wg2600hp3.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ad7200.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea7500-v1.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-unifi-ac-hd.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8068-ecw5410.dts

index d234b94a465ebb09bd5cf3e0f2de5ba4850b59a4..3e04618d5782cb4dd3127c4dba8dcf2b670e2059 100644 (file)
                        label = "reset";
                        gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 22 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                mode0 {
@@ -46,6 +50,8 @@
                        gpios = <&qcom_pinmux 40 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                        linux,input-type = <EV_SW>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                mode1 {
@@ -53,6 +59,8 @@
                        gpios = <&qcom_pinmux 41 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_1>;
                        linux,input-type = <EV_SW>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index 9ccf3d74ac8cd17f7ad824bed7a808f7e42b8249..6cb21fc4f3f08ae595d13901a2e9cefbcd102fda 100644 (file)
                        label = "wifi";
                        gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 7 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                led_enable {
                        label = "led-enable";
                        gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_LIGHTS_TOGGLE>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index 3f2a90fdee10e267439d2a1944a4fe2e4f96eec9..cef1aba34445d3e4415e97c03529d0e19caa2448 100644 (file)
                        label = "wifi";
                        gpios = <&qcom_pinmux 49 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                ledswitch {
                        label = "ledswitch";
                        gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_LIGHTS_TOGGLE>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index aeeb040ad804d67eca843f3c076e6ebca9cdb9e8..82535cc86bf5c0a68831a5932df48e28b598c562 100644 (file)
                        label = "wifi";
                        gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index 176807163e10d66de5e585e538c575540bb0c77f..9d82d52d273ffd632d166bc48aa626deff3a5084 100644 (file)
                        label = "reset";
                        gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index 9b01ae03282a497384c6c71076b0ed20dbca286e..1c6a4bdacd02c242bc3bb0a50ad44741cc404c4f 100644 (file)
                        label = "wifi";
                        gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index ccefc2301142bee632e55786869cc4cfaf6eb999..45efb2b46fd0eb4f6a91d63fe1c427c70e42dce6 100644 (file)
                        label = "ir-remote";
                        gpios = <&qcom_pinmux 15 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps5g {
                        label = "wps5g";
                        gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps2g {
                        label = "wps2g";
                        gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 };
index 1f457d99449ac205525d36e13d20ed720219fe14..1dd45631532b1817fa7c4b1f86de95f32128bdc4 100644 (file)
                        label = "wifi";
                        gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index f1904332773dd46c8bafd4504bab80f20333d315..71c4c3b1a3e8bd33176a238d3d444c6b8be33494 100644 (file)
                        label = "wifi";
                        gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index 672be3ca2c9705a8e771b8e354a1aa11c6fc35b4..d6ac1fef1de164ff37ea7a237d9bfdca84c8800c 100644 (file)
@@ -46,6 +46,7 @@
                        gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                        debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 };
index ea7d0235cedc7a496719878a022723404b81d413..893addf240909b36c925158acb2f228630be058c 100644 (file)
                        label = "wifi";
                        gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                dect {
                        label = "dect";
                        gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_PHONE>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                ledswitch {
                        label = "ledswitch";
                        gpios = <&qcom_pinmux 68 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_LIGHTS_TOGGLE>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index 23898e0221a1d9f458bb9ff5090d4b2e7cf88ff0..635e9fc8f944257afe64664240b7d670b2983742 100644 (file)
                        label = "wps";
                        gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                bridge {
@@ -42,6 +46,8 @@
                        gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                        linux,input-type = <EV_SW>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                converter {
@@ -49,6 +55,8 @@
                        gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
                        linux,input-type = <EV_SW>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index 69be60b019f467fe98b41ebbe8f7af7117545994..ec5d5047aa25547feaacf3c5ac9a9fa9aae6f833 100644 (file)
@@ -83,6 +83,8 @@
                        label = "reset";
                        gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index d80bfa204d0320f46d0526c74afb6bb22f685817..8c4e3b71e36e6ecbcbac24732b0cb834493f314e 100644 (file)
                        label = "power";
                        gpios = <&qcom_pinmux 58 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_POWER>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                eject {
                        label = "eject";
                        gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_EJECTCD>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                guest {
                        label = "guest";
                        gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_0>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                ap {
                        gpios = <&qcom_pinmux 55 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_1>;
                        linux,input-type = <EV_SW>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                router {
                        gpios = <&qcom_pinmux 56 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_1>;
                        linux,input-type = <EV_SW>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                auto {
                        gpios = <&qcom_pinmux 57 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_1>;
                        linux,input-type = <EV_SW>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 };
index 34b9c5fc873217f59a98afc42b00f73fe429e4ac..969ca724e3ae500425012ebcb80f2fae02227827 100644 (file)
                        gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
                        linux,input-type = <EV_SW>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                reset {
                        label = "reset";
                        gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
 
                wps {
                        label = "wps";
                        gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
index 1d159714db02c9af61ab73786ebc25fd3f37e170..43bed451cbfb08816b2956f946576370325200c6 100644 (file)
@@ -57,6 +57,8 @@
                        label = "reset";
                        gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };