Skip to content

Commit 91e4a39

Browse files
committed
ARM: dts: adi: fix polarity of GPIO signals
Currently, these GPIO hogs are defined as GPIO_ACTIVE_HIGH in the device tree. This patch updates them to GPIO_ACTIVE_LOW to accurately reflect the hardware polarity. Fixes: a5d4be9 ("arm64: dts: adi: sc598-som-ezkit: Add initial support") Signed-off-by: Ozan Durgut <ozan.durgut@analog.com>
1 parent 844d5e4 commit 91e4a39

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

arch/arm64/boot/dts/adi/sc598-som-ezkit.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

9292
pushbutton {
9393
gpio-hog;
94-
gpios = <1 GPIO_ACTIVE_HIGH>;
94+
gpios = <1 GPIO_ACTIVE_LOW>;
9595
output-high;
9696
line-name = "pushbutton-en";
9797
};
@@ -133,7 +133,7 @@
133133

134134
octal {
135135
gpio-hog;
136-
gpios = <8 GPIO_ACTIVE_HIGH>;
136+
gpios = <8 GPIO_ACTIVE_LOW>;
137137
output-low;
138138
line-name = "octal-spi-cs-en";
139139
};
@@ -184,7 +184,7 @@
184184

185185
gige-reset {
186186
gpio-hog;
187-
gpios = <15 GPIO_ACTIVE_HIGH>;
187+
gpios = <15 GPIO_ACTIVE_LOW>;
188188
output-high;
189189
line-name = "gige-reset";
190190
};

arch/arm64/boot/dts/adi/sc598-som.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,21 +273,21 @@
273273

274274
led1 {
275275
gpio-hog;
276-
gpios = <0 GPIO_ACTIVE_HIGH>;
276+
gpios = <0 GPIO_ACTIVE_LOW>;
277277
output-high;
278278
line-name = "led1-en";
279279
};
280280

281281
led2 {
282282
gpio-hog;
283-
gpios = <1 GPIO_ACTIVE_HIGH>;
283+
gpios = <1 GPIO_ACTIVE_LOW>;
284284
output-high;
285285
line-name = "led2-en";
286286
};
287287

288288
led3 {
289289
gpio-hog;
290-
gpios = <2 GPIO_ACTIVE_HIGH>;
290+
gpios = <2 GPIO_ACTIVE_LOW>;
291291
output-high;
292292
line-name = "led3-en";
293293
};

0 commit comments

Comments
 (0)