devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Vaussard <florian.vaussard@epfl.ch>
To: "Benoît Cousson" <bcousson@baylibre.com>,
	"Tony Lindgren" <tony@atomide.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-omap@vger.kernel.org, Ash Charles <ash@gumstix.com>,
	Florian Vaussard <florian.vaussard@epfl.ch>
Subject: [PATCH 2/2] ARM: dts: duovero-parlor: Add HDMI output
Date: Mon, 24 Feb 2014 18:07:49 +0100	[thread overview]
Message-ID: <1393261669-32039-3-git-send-email-florian.vaussard@epfl.ch> (raw)
In-Reply-To: <1393261669-32039-1-git-send-email-florian.vaussard@epfl.ch>

Add the necessary DTS nodes to enable the micro-HDMI output on Parlor
board.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap4-duovero-parlor.dts | 36 ++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/arch/arm/boot/dts/omap4-duovero-parlor.dts b/arch/arm/boot/dts/omap4-duovero-parlor.dts
index 96f51d8..d038242 100644
--- a/arch/arm/boot/dts/omap4-duovero-parlor.dts
+++ b/arch/arm/boot/dts/omap4-duovero-parlor.dts
@@ -15,6 +15,10 @@
 	model = "OMAP4430 Gumstix Duovero on Parlor";
 	compatible = "gumstix,omap4-duovero-parlor", "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4";
 
+	aliases {
+		display0 = &hdmi0;
+	};
+
 	leds {
 		compatible = "gpio-leds";
 		led0 {
@@ -35,6 +39,15 @@
 			gpio-key,wakeup;
 		};
 	};
+
+	hdmi0: connector@0 {
+		compatible = "hdmi-connector";
+		label = "hdmi";
+
+		hdmi_connector_in: endpoint {
+			remote-endpoint = <&hdmi_out>;
+		};
+	};
 };
 
 &omap4_pmx_core {
@@ -77,6 +90,15 @@
 			0x30 (PIN_INPUT_PULLUP | MUX_MODE3)	/* gpmc_a24.gpio_48: amdix enabled */
 		>;
 	};
+
+	dss_hdmi_pins: pinmux_dss_hdmi_pins {
+		pinctrl-single,pins = <
+			0x58 (PIN_INPUT_PULLUP | MUX_MODE0)	/* hdmi_hpd.hdmi_hpd */
+			0x5a (PIN_INPUT_PULLUP | MUX_MODE0)	/* hdmi_cec.hdmi_cec */
+			0x5c (PIN_INPUT_PULLUP | MUX_MODE0)	/* hdmi_ddc_scl.hdmi_ddc_scl */
+			0x5e (PIN_INPUT_PULLUP | MUX_MODE0)	/* hdmi_ddc_sda.hdmi_ddc_sda */
+		>;
+	};
 };
 
 &i2c2 {
@@ -143,4 +165,18 @@
 	};
 };
 
+&dss {
+	status = "ok";
+};
+
+&hdmi {
+	status = "ok";
+
+	pinctrl-names = "default";
+	pinctrl-0 = <&dss_hdmi_pins>;
+
+	hdmi_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
 
-- 
1.8.1.2


  parent reply	other threads:[~2014-02-24 17:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-24 17:07 [PATCH 0/2] ARM: dts: OMAP4: Add support for DuoVero/Parlor Florian Vaussard
2014-02-24 17:07 ` [PATCH 1/2] ARM: dts: Add support for OMAP4 Gumstix DuoVero/Parlor Florian Vaussard
2014-03-03 10:08   ` Florian Vaussard
2014-03-04 18:17     ` Tony Lindgren
2014-02-24 17:07 ` Florian Vaussard [this message]
2014-02-24 18:03   ` [PATCH 2/2] ARM: dts: duovero-parlor: Add HDMI output Russell King - ARM Linux
2014-02-24 20:22     ` Javier Martinez Canillas
2014-02-25  7:54       ` Florian Vaussard
2014-02-25 12:39       ` Russell King - ARM Linux
2014-02-25 13:05         ` Florian Vaussard
     [not found]         ` <20140225123921.GY27282-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2014-02-25 13:41           ` Sebastian Reichel
2014-02-25 16:51             ` Laurent Pinchart
2014-02-25 20:56               ` Russell King - ARM Linux
2014-02-26 11:14                 ` Tomi Valkeinen
     [not found]                   ` <530DCC8A.6060708-l0cyMroinI0@public.gmane.org>
2014-02-26 12:03                     ` Russell King - ARM Linux
2014-02-26 12:44                       ` Tomi Valkeinen
2014-02-26 13:28                         ` Russell King - ARM Linux
2014-02-26 14:35                           ` Tomi Valkeinen
2014-03-06 23:29                           ` Laurent Pinchart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393261669-32039-3-git-send-email-florian.vaussard@epfl.ch \
    --to=florian.vaussard@epfl.ch \
    --cc=ash@gumstix.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).