Skip to contentSkip to conversation

ARM: dts: bcm283x: Fix hdmi hpd-gpio pin

PATCH Applied Florian Klink 4 participants 7 messages Jul 15, 2024 – Jul 16, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: bcm283x: Fix hdmi hpd-gpio pin

HDMI_HPD_N_1V8 is connected to GPIO pin 0, not 1.

This fixes HDMI hotplug/output detection.

See https://datasheets.raspberrypi.com/cm/cm3-schematics.pdf

---
 arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts +1 -1
index 72d26d130efa..85f54fa595aa 100644
@@ -77,7 +77,7 @@ &gpio {
 };
 
 &hdmi {
-	hpd-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
+	hpd-gpios = <&expgpio 0 GPIO_ACTIVE_LOW>;
 	power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
 	status = "okay";
 };
Signature · 1 line
2.45.1
#1 lore raw

+Stefan,

Quoted 7 lines · Florian Klink

HDMI_HPD_N_1V8 is connected to GPIO pin 0, not 1.

This fixes HDMI hotplug/output detection.

See https://datasheets.raspberrypi.com/cm/cm3-schematics.pdf

Assuming Stefan is OK wit the change, I will apply this along with a:

Fixes a54fe8a6cf66 ("ARM: dts: add Raspberry Pi Compute Module 3 and IO board")
Quoted 17 lines
---
  arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts +1 -1
index 72d26d130efa..85f54fa595aa 100644
@@ -77,7 +77,7 @@ &gpio {
  };
 
  &hdmi {
-	hpd-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
+	hpd-gpios = <&expgpio 0 GPIO_ACTIVE_LOW>;
  	power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
  	status = "okay";
  };
Signature · 1 line
Florian
#2 lore raw
Quoted 1 line · Florian Fainelli

+Stefan,

With the correct email this time...

Quoted 31 lines · Florian Klink
Quoted 7 lines

HDMI_HPD_N_1V8 is connected to GPIO pin 0, not 1.

This fixes HDMI hotplug/output detection.

See https://datasheets.raspberrypi.com/cm/cm3-schematics.pdf

Assuming Stefan is OK wit the change, I will apply this along with a:

Fixes a54fe8a6cf66 ("ARM: dts: add Raspberry Pi Compute Module 3 and IO board")
Quoted 16 lines

---
  arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts +1 -1
index 72d26d130efa..85f54fa595aa 100644
@@ -77,7 +77,7 @@ &gpio {
   };
   &hdmi {
-    hpd-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
+    hpd-gpios = <&expgpio 0 GPIO_ACTIVE_LOW>;
       power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
       status = "okay";
   };
Signature · 1 line
Florian
Reviewed-by
#3 lore raw
In reply to Florian Fainelli

Hi,

Am 16.07.24 um 01:19 schrieb Florian Fainelli:

Quoted 7 lines

+Stefan,

Quoted 4 lines · Florian Klink

HDMI_HPD_N_1V8 is connected to GPIO pin 0, not 1.

This fixes HDMI hotplug/output detection.

Quoted 8 lines
Quoted 3 lines

See https://datasheets.raspberrypi.com/cm/cm3-schematics.pdf

Assuming Stefan is OK wit the change, I will apply this along with a:

Fixes a54fe8a6cf66 ("ARM: dts: add Raspberry Pi Compute Module 3 and

IO board")

thanks for fixing and i'm fine with this change. The GPIO line names are already correct.

Maybe the subject should be more specific:

ARM: dts: bcm2837-rpi-cm3-io3: Fix HDMI hpd-gpio pin

Except of this:

Regards

Quoted 19 lines
Quoted 18 lines

---
  arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts +1 -1
index 72d26d130efa..85f54fa595aa 100644
@@ -77,7 +77,7 @@ &gpio {
   };
     &hdmi {
-    hpd-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
+    hpd-gpios = <&expgpio 0 GPIO_ACTIVE_LOW>;
       power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
       status = "okay";
   };
#4 lore raw

Hey,

fine with the subject change too :-)

@Florian: Let me know if you want me to roll all in a v2 or are happy to apply that subject change too.

Cheers,
flokli

Quoted 50 lines · Stefan Wahren

Hi,

Am 16.07.24 um 01:19 schrieb Florian Fainelli:

Quoted 7 lines

+Stefan,

Quoted 4 lines · Florian Klink

HDMI_HPD_N_1V8 is connected to GPIO pin 0, not 1.

This fixes HDMI hotplug/output detection.

Quoted 8 lines
Quoted 3 lines

See https://datasheets.raspberrypi.com/cm/cm3-schematics.pdf

Assuming Stefan is OK wit the change, I will apply this along with a:

Fixes a54fe8a6cf66 ("ARM: dts: add Raspberry Pi Compute Module 3 and

IO board")

thanks for fixing and i'm fine with this change. The GPIO line names are already correct.

Maybe the subject should be more specific:

ARM: dts: bcm2837-rpi-cm3-io3: Fix HDMI hpd-gpio pin

Except of this:

Regards

Quoted 19 lines
Quoted 18 lines

---
  arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/broadcom/bcm2837-rpi-cm3-io3.dts +1 -1
index 72d26d130efa..85f54fa595aa 100644
@@ -77,7 +77,7 @@ &gpio {
   };
     &hdmi {
-    hpd-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
+    hpd-gpios = <&expgpio 0 GPIO_ACTIVE_LOW>;
       power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
       status = "okay";
   };
Signature · 1 line
Florian Klink
#5 lore raw
Quoted 6 lines · Florian Klink

Hey,

fine with the subject change too :-)

@Florian: Let me know if you want me to roll all in a v2 or are happy to apply that subject change too.

Will fix it up while applying, no need for a v2, thanks!

Signature · 1 line
Florian