From patchwork Tue Jan 20 12:16:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5668561 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1DDEAC058D for ; Tue, 20 Jan 2015 12:17:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 545ED2037D for ; Tue, 20 Jan 2015 12:17:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1CCEE203B8 for ; Tue, 20 Jan 2015 12:17:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753994AbbATMRN (ORCPT ); Tue, 20 Jan 2015 07:17:13 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:40504 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753960AbbATMRL (ORCPT ); Tue, 20 Jan 2015 07:17:11 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NIH00EZX6BCBL60@mailout2.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 20 Jan 2015 12:21:13 +0000 (GMT) X-AuditID: cbfec7f5-b7fc86d0000066b7-86-54be4746c5ea Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 21.E1.26295.6474EB45; Tue, 20 Jan 2015 12:17:10 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NIH00J4064B2380@eusync3.samsung.com>; Tue, 20 Jan 2015 12:17:08 +0000 (GMT) From: Marek Szyprowski To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, Marek Szyprowski , Kukjin Kim , Tobias Jakobi , Daniel Drake , Andrzej Hajda , Inki Dae , Tomasz Figa , Javier Martinez Canillas , jy0922.shim@samsung.com, kyungmin.park@samsung.com Subject: [PATCH v4 5/9] ARM: dts: exynos4412-odroid: enable hdmi support Date: Tue, 20 Jan 2015 13:16:55 +0100 Message-id: <1421756219-21037-6-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1421756219-21037-1-git-send-email-m.szyprowski@samsung.com> References: <1421756219-21037-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMLMWRmVeSWpSXmKPExsVy+t/xq7pu7vtCDJY06VjcWneO1eLR/MfM Fle+vmezmHR/AovF0d8FFi/uXWSx6H/8mtnibNMbdotNj6+xWsw4v4/JouvnTzaLtUfuslus 2vWH0YHX4+/z6ywei75neeycdZfdY/Gm/Wwem1Z1snnc7z7O5LF5Sb1H35ZVjB6fN8kFcEZx 2aSk5mSWpRbp2yVwZcyYlVTwn6/i48LHbA2Md7m7GDk4JARMJLa98uli5AQyxSQu3FvP1sXI xSEksJRR4sypRcwQTh+TxIpL99lBqtgEDCW63naxgTSLCHhLLL+mCFLDLDCPWaL1xTk2kBph AQ+JvoOLmEBsFgFViY5zL8HivEDxw6eOsEJsk5P4/3IFWA2ngKdE878ZYDVCQDWnHnSxTWDk XcDIsIpRNLU0uaA4KT3XSK84Mbe4NC9dLzk/dxMjJGC/7mBceszqEKMAB6MSD+8J570hQqyJ ZcWVuYcYJTiYlUR4z5rvCxHiTUmsrEotyo8vKs1JLT7EyMTBKdXAGH5SiG8//0nhO/HCBcIH 83P7Zia05t2y9lqar8bosMd2UsaP3qlL/h6aLDTn5022CDsDzS7xh3t8fNN/aWkt8Jz5fNH3 jfc4j97ydX77d4fX+UVmrrns/7a2ODqkpCRO/C+dWMogbXHAgvfFkWgGvlNz2xJmLf63lcfB sHKW3kyR4lu+V8XklViKMxINtZiLihMBBXzmYjYCAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds nodes specific to Exynos4412 based Odroid X/X2/U2/U3 boards required for enabling HDMI display. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 44 +++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 3fbf588682b9..e10efa88807a 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -231,6 +231,20 @@ regulator-always-on; }; + ldo8_reg: ldo@8 { + regulator-compatible = "LDO8"; + regulator-name = "VDD10_HDMI_1.0V"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + }; + + ldo10_reg: ldo@10 { + regulator-compatible = "LDO10"; + regulator-name = "VDDQ_MIPIHSI_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + ldo11_reg: LDO11 { regulator-name = "VDD18_ABB1_1.8V"; regulator-min-microvolt = <1800000>; @@ -389,6 +403,31 @@ ehci: ehci@12580000 { status = "okay"; }; + + mixer: mixer@12C10000 { + status = "okay"; + }; + + hdmi@12D00000 { + hpd-gpio = <&gpx3 7 0>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_hpd>; + vdd-supply = <&ldo8_reg>; + vdd_osc-supply = <&ldo10_reg>; + vdd_pll-supply = <&ldo8_reg>; + ddc = <&hdmi_ddc>; + status = "okay"; + }; + + hdmi_ddc: i2c@13880000 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_bus>; + }; + + i2c@138E0000 { + status = "okay"; + }; }; &pinctrl_1 { @@ -403,4 +442,9 @@ samsung,pin-pud = <0>; samsung,pin-drv = <0>; }; + + hdmi_hpd: hdmi-hpd { + samsung,pins = "gpx3-7"; + samsung,pin-pud = <1>; + }; };