• R/O
  • HTTP
  • SSH
  • HTTPS

immortalwrt: Commit

Mirror only - Please move to https://github.com/immortalwrt/immortalwrt


Commit MetaInfo

Revision6eced97ce40200c3ecdeb25fe3b9635ebdb79496 (tree)
Zeit2022-01-16 06:49:28
AutorDavid Bauer <mail@davi...>
CommiterDavid Bauer

Log Message

lantiq: flag FritzBox 7360 family buttons active-low

All buttons of the FritzBox 7360 family are active-low, not active-high.
Corrent the GPIO flag. This fixes release triggers upon push of a button.

Reported-by: Jan-Niklas Burfeind <git@aiyionpri.me>
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 31545378641d45f5fac5ffc408a31b700b80121f)

Ändern Zusammenfassung

Diff

--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi
@@ -33,13 +33,13 @@
3333
3434 dect {
3535 label = "dect";
36- gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
36+ gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
3737 linux,code = <KEY_PHONE>;
3838 };
3939
4040 wifi {
4141 label = "wifi";
42- gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
42+ gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
4343 linux,code = <KEY_RFKILL>;
4444 };
4545 };
Show on old repository browser