Skip to contentSkip to conversation

arm: dts: sc594: Update sc594 EZKIT GPIO polarities

PATCH In review Caleb Ethridge 3 participants 3 messages Feb 28 – Mar 13 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 arm: dts: sc594: Update sc594 EZKIT GPIO polarities

From: Caleb Ethridge <[email protected]>

Updates the polarities for the GPIOs on the sc594 EZKIT carrier board for the newest revision, Rev D. The new carrier board revision has different polarities for some GPIOs. This patch updates the sc594 entries to match the sc598 entries that were updated in a previous commit, as both SOMs can utilize the EZKIT.

Note that these updates are for the EZKIT carrier
board used by both sc598 and sc594 SOMs, not the SOMs themselves.

Fixes be79378 ("board: adi: Add support for SC594")

---
Changes in v3:
- Resubmission to fix whitespace issues

---
 arch/arm/dts/sc594-som-ezkit.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/dts/sc594-som-ezkit.dts +3 -3
index eeca6d17504..11154e65ed6 100644
@@ -22,7 +22,7 @@
 
 		eeprom {
 			gpio-hog;
-			gpios = <0 GPIO_ACTIVE_HIGH>;
+			gpios = <0 GPIO_ACTIVE_LOW>;
 			output-low;
 			line-name = "eeprom-en";
 			bootph-pre-ram;
@@ -30,7 +30,7 @@
 
 		pushbutton {
 			gpio-hog;
-			gpios = <1 GPIO_ACTIVE_HIGH>;
+			gpios = <1 GPIO_ACTIVE_LOW>;
 			output-low;
 			line-name = "pushbutton-en";
 			bootph-pre-ram;
@@ -70,7 +70,7 @@
 
 		octal {
 			gpio-hog;
-			gpios = <8 GPIO_ACTIVE_HIGH>;
+			gpios = <8 GPIO_ACTIVE_LOW>;
 			output-low;
 			line-name = "octal-spi-cs-en";
 			bootph-pre-ram;
Signature · 1 line
2.34.1
Reviewed-by on v3 1/1
#1 lore raw

Hi Caleb,

Quoted 54 lines · Caleb Ethridge

From: Caleb Ethridge <[email protected]>

Updates the polarities for the GPIOs on the sc594 EZKIT carrier board for the newest revision, Rev D. The new carrier board revision has different polarities for some GPIOs. This patch updates the sc594 entries to match the sc598 entries that were updated in a previous commit, as both SOMs can utilize the EZKIT.

Note that these updates are for the EZKIT carrier
board used by both sc598 and sc594 SOMs, not the SOMs themselves.

Fixes be79378 ("board: adi: Add support for SC594")

---
Changes in v3:
- Resubmission to fix whitespace issues

---
 arch/arm/dts/sc594-som-ezkit.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/dts/sc594-som-ezkit.dts +3 -4
index eeca6d17504..11154e65ed6 100644
@@ -22,7 +22,7 @@
 
                eeprom {
                        gpio-hog;
-                       gpios = <0 GPIO_ACTIVE_HIGH>;
+                       gpios = <0 GPIO_ACTIVE_LOW>;
                        output-low;
                        line-name = "eeprom-en";
                        bootph-pre-ram;
@@ -30,7 +30,7 @@
 
                pushbutton {
                        gpio-hog;
-                       gpios = <1 GPIO_ACTIVE_HIGH>;
+                       gpios = <1 GPIO_ACTIVE_LOW>;
                        output-low;
                        line-name = "pushbutton-en";
                        bootph-pre-ram;
@@ -70,7 +70,7 @@
 
                octal {
                        gpio-hog;
-                       gpios = <8 GPIO_ACTIVE_HIGH>;
+                       gpios = <8 GPIO_ACTIVE_LOW>;
                        output-low;
                        line-name = "octal-spi-cs-en";
                        bootph-pre-ram;
--
Quoted 2 lines

2.34.1

Looks like the reviewed-by tag was dropped on patchwork so here's fresh one:

Thanks,
Greg

#2 lore raw
In reply to Caleb Ethridge
Quoted 8 lines · Caleb Ethridge

Updates the polarities for the GPIOs on the sc594 EZKIT carrier board for the newest revision, Rev D. The new carrier board revision has different polarities for some GPIOs. This patch updates the sc594 entries to match the sc598 entries that were updated in a previous commit, as both SOMs can utilize the EZKIT.

[...]

Applied to u-boot/next, thanks!

[1/1] arm: dts: sc594: Update sc594 EZKIT GPIO polarities

      commit: f3bdde84af91b095a3f4ac07232c49b7ff13f7f4
Signature · 1 line
Tom