Thread (19 messages) flat view 19 messages, 3 authors, 2014-05-15

[PATCH v4 5/5] ARM: dts: enable hdmi for exynos5800 based peach-pi board

From: Tomasz Figa <hidden>
Date: 2014-05-14 19:56:36
Also in: linux-devicetree, linux-samsung-soc

Hi Rahul,

On 14.05.2014 04:46, Rahul Sharma wrote:
quoted hunk ↗ jump to hunk
From: Rahul Sharma <redacted>

Enable hdmi for peach-pi board.

Signed-off-by: Rahul Sharma <redacted>
---
 arch/arm/boot/dts/exynos5800-peach-pi.dts |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
index 742655b..2a6f23b8 100644
--- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
+++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
@@ -134,6 +134,25 @@
 	};
 };
 
+&i2c_2 {
+	status = "okay";
+	samsung,i2c-sda-delay = <100>;
+	samsung,i2c-max-bus-freq = <66000>;
+	samsung,i2c-slave-addr = <0x50>;
+
+	hdmiddc at 50 {
+		reg = <0x50>;
+	};
+};
+
+&hdmi {
+	status = "okay";
+	hpd-gpio = <&gpx3 7 2>;
What is the 2 flag? I don't see any value other than 0 and 1 defined in
include/dt-bindings/gpio/gpio.h. Also it would be better to use
preprocessor macros instead of magic numbers for flags like this.

Best regards,
Tomasz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help