Skip to contentSkip to conversation

ARM: dts: exynos: Enable HDMI for Arndale Octa board

PATCH Applied Milo Kim 3 participants 3 messages Aug 31, 2016

Subsystems (2)
lore
Share & tools
lore

Milo Kim

author
#0 lore raw

PATCH v4 1/1 ARM: dts: exynos: Enable HDMI for Arndale Octa board

* GPIO for HDMI hot plug detect
GPX3_7 is used. The HPD awareness is done when the GPIO is active high.

* Enable HDMI block in Exynos5420
HDMI VDD and PLL consume 1.0V LDO6 (PVDD_ANAIP_1V0) and HDMI oscillator requires 1.8V LDO7 (PVDD_ANAIP_1V8).

* Support HDMI display data channel
I2C #2 is assigned for the HDMI DDC. It enables the EDID access.

Cc Kukjin Kim <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Rob Herring <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-samsung-soc at vger.kernel.org
Cc linux-kernel at vger.kernel.org
---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/boot/dts/exynos5420-arndale-octa.dts +13 -0
index 39a3b81..d2ad48e 100644
@@ -70,6 +70,15 @@
 	status = "disabled";
 };
 
+&hdmi {
+	hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
+	vdd_osc-supply = <&ldo7_reg>;
+	vdd_pll-supply = <&ldo6_reg>;
+	vdd-supply = <&ldo6_reg>;
+	ddc = <&i2c_2>;
+	status = "okay";
+};
+
 &hsi2c_4 {
 	status = "okay";
 
@@ -347,6 +356,10 @@
 	};
 };
 
+&i2c_2 {
+	status = "okay";
+};
+
 &mmc_0 {
 	status = "okay";
 	broken-cd;
Signature · 1 line
2.9.3
Reviewed-by on v4 1/1
#1 lore raw
Quoted 10 lines · Milo Kim

* GPIO for HDMI hot plug detect
GPX3_7 is used. The HPD awareness is done when the GPIO is active high.

* Enable HDMI block in Exynos5420
HDMI VDD and PLL consume 1.0V LDO6 (PVDD_ANAIP_1V0) and HDMI oscillator requires 1.8V LDO7 (PVDD_ANAIP_1V8).

* Support HDMI display data channel
I2C #2 is assigned for the HDMI DDC. It enables the EDID access.

Quoted 7 lines
Cc Kukjin Kim <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Rob Herring <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-samsung-soc at vger.kernel.org
Cc linux-kernel at vger.kernel.org

--
Regards
Andrzej

Quoted 35 lines
---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/boot/dts/exynos5420-arndale-octa.dts +13 -0
index 39a3b81..d2ad48e 100644
@@ -70,6 +70,15 @@
 	status = "disabled";
 };
 
+&hdmi {
+	hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
+	vdd_osc-supply = <&ldo7_reg>;
+	vdd_pll-supply = <&ldo6_reg>;
+	vdd-supply = <&ldo6_reg>;
+	ddc = <&i2c_2>;
+	status = "okay";
+};
+
 &hsi2c_4 {
 	status = "okay";
 
@@ -347,6 +356,10 @@
 	};
 };
 
+&i2c_2 {
+	status = "okay";
+};
+
 &mmc_0 {
 	status = "okay";
 	broken-cd;
#2 lore raw
Quoted 19 lines · Andrzej Hajda
Quoted 10 lines · Milo Kim

* GPIO for HDMI hot plug detect
GPX3_7 is used. The HPD awareness is done when the GPIO is active high.

* Enable HDMI block in Exynos5420
HDMI VDD and PLL consume 1.0V LDO6 (PVDD_ANAIP_1V0) and HDMI oscillator requires 1.8V LDO7 (PVDD_ANAIP_1V8).

* Support HDMI display data channel
I2C #2 is assigned for the HDMI DDC. It enables the EDID access.

Quoted 7 lines
Cc Kukjin Kim <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>
Cc Rob Herring <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc linux-samsung-soc at vger.kernel.org
Cc linux-kernel at vger.kernel.org
Quoted 1 line

Thanks, applied with Andrzej's review.

Best regards,
Krzysztof