From 305f1c3dc1bb38bbd281d21377f8fd7f2fdd40ec Mon Sep 17 00:00:00 2001 From: schwarzgrau Date: Tue, 8 Nov 2022 02:09:20 +0100 Subject: [PATCH] pull --- config/boards/shields/totem/totem.dtsi | 8 ++++---- config/boards/shields/totem/totem_left.overlay | 10 +++++----- config/boards/shields/totem/totem_right.overlay | 10 +++++----- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config/boards/shields/totem/totem.dtsi b/config/boards/shields/totem/totem.dtsi index 2ce157c..73c4f93 100644 --- a/config/boards/shields/totem/totem.dtsi +++ b/config/boards/shields/totem/totem.dtsi @@ -30,10 +30,10 @@ label = "KSCAN"; diode-direction = "col2row"; row-gpios - = <&xiao_d 0 GPIO_ACTIVE_HIGH> - , <&xiao_d 1 GPIO_ACTIVE_HIGH> - , <&xiao_d 2 GPIO_ACTIVE_HIGH> - , <&xiao_d 3 GPIO_ACTIVE_HIGH> + = <&xiao_d 0 GPIO_ACTIVE_DOWN> + , <&xiao_d 1 GPIO_ACTIVE_DOWN> + , <&xiao_d 2 GPIO_ACTIVE_DOWN> + , <&xiao_d 3 GPIO_ACTIVE_DOWN> ; }; }; \ No newline at end of file diff --git a/config/boards/shields/totem/totem_left.overlay b/config/boards/shields/totem/totem_left.overlay index e9d9fb2..ae4d4c9 100644 --- a/config/boards/shields/totem/totem_left.overlay +++ b/config/boards/shields/totem/totem_left.overlay @@ -8,10 +8,10 @@ &kscan0 { col-gpios - = <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + = <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> ; }; diff --git a/config/boards/shields/totem/totem_right.overlay b/config/boards/shields/totem/totem_right.overlay index d91d699..4ea0c22 100644 --- a/config/boards/shields/totem/totem_right.overlay +++ b/config/boards/shields/totem/totem_right.overlay @@ -12,10 +12,10 @@ &kscan0 { col-gpios - = <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> + = <&xiao_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> + , <&xiao_d 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)> ; };