• R/O
  • HTTP
  • SSH
  • HTTPS

immortalwrt: Commit

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


Commit MetaInfo

Révision31545378641d45f5fac5ffc408a31b700b80121f (tree)
l'heure2022-01-15 06:12:53
AuteurDavid Bauer <mail@davi...>
CommiterDavid Bauer

Message de Log

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>

Change Summary

Modification

--- 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 };
Afficher sur ancien navigateur de dépôt.