From patchwork Mon Feb 2 13:20:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5762181 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 66009BF440 for ; Mon, 2 Feb 2015 13:20:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 88031203B4 for ; Mon, 2 Feb 2015 13:20:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B74AE203B8 for ; Mon, 2 Feb 2015 13:20:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932156AbbBBNUs (ORCPT ); Mon, 2 Feb 2015 08:20:48 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54521 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753471AbbBBNUq (ORCPT ); Mon, 2 Feb 2015 08:20:46 -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 <0NJ500BEMBXBI030@mailout2.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 02 Feb 2015 13:24:47 +0000 (GMT) X-AuditID: cbfec7f5-b7fc86d0000066b7-e6-54cf791ad136 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 49.FF.26295.A197FC45; Mon, 02 Feb 2015 13:18:18 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NJ5004YCBQ4PP60@eusync4.samsung.com>; Mon, 02 Feb 2015 13:20:44 +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 v5 5/9] ARM: dts: exynos4412-odroid: enable hdmi support Date: Mon, 02 Feb 2015 14:20:24 +0100 Message-id: <1422883228-10690-6-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1422883228-10690-1-git-send-email-m.szyprowski@samsung.com> References: <1422883228-10690-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKLMWRmVeSWpSXmKPExsVy+t/xa7pSledDDFqmalncWneO1eLR/MfM Fle+vmezmHR/AovF0d8FFi/uXWSx6H/8mtnibNMbdotNj6+xWsw4v4/JouvnTzaLtUfuslus 2vWH0YHX4+/z6ywei75neeycdZfdY/Gm/Wwem1Z1snnc7z7O5LF5Sb1H35ZVjB6fN8kFcEZx 2aSk5mSWpRbp2yVwZVxfc5+54D9fxdbHS9gaGO9ydzFyckgImEj0PXzJDmGLSVy4t56ti5GL Q0hgKaNE45yHzBBOH5PEnUP7mUCq2AQMJbredgFVcXCICHhLLL+mCFLDLDCPWaL1xTk2kBph AQ+JPSeugtWzCKhK7Gq5zwJi8wLFJy2cywixTU7i/8sVYDWcAp4SH1c/BbtCCKjm3JajrBMY eRcwMqxiFE0tTS4oTkrPNdIrTswtLs1L10vOz93ECAnarzsYlx6zOsQowMGoxMP7gPtciBBr YllxZe4hRgkOZiURXg2L8yFCvCmJlVWpRfnxRaU5qcWHGJk4OKUaGJUklriZvpjCYZlW1fH8 +MOCxR/13h1sPsY6S3eFwJdfH/R70nSkcpMO/S5kf3ErrSqI+ULMjtf3WvJ+rWkpZYpcJPFm w5x1DwT7FOfqBAutN58p/ufiz5VvTrU83yBvMv1euW6Eg1tjR+re537Xhc6UViluvsy7z0Gr aeHMR25pfLsLHyfmv1BiKc5INNRiLipOBAAtApQOOAIAAA== 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 ffcf17bbf63b..dfb24bb56cf3 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>; @@ -390,6 +404,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 { @@ -404,4 +443,9 @@ samsung,pin-pud = <0>; samsung,pin-drv = <0>; }; + + hdmi_hpd: hdmi-hpd { + samsung,pins = "gpx3-7"; + samsung,pin-pud = <1>; + }; };