From patchwork Thu Nov 13 16:23:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 5299071 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D28149F440 for ; Thu, 13 Nov 2014 16:24:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0969C201E4 for ; Thu, 13 Nov 2014 16:24:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D5FE820211 for ; Thu, 13 Nov 2014 16:24:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933482AbaKMQYD (ORCPT ); Thu, 13 Nov 2014 11:24:03 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:17822 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933484AbaKMQYB (ORCPT ); Thu, 13 Nov 2014 11:24:01 -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 <0NEZ005PQKCN8R80@mailout2.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Thu, 13 Nov 2014 16:26:47 +0000 (GMT) X-AuditID: cbfec7f5-b7f956d000005ed7-79-5464db1f5624 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 2E.62.24279.F1BD4645; Thu, 13 Nov 2014 16:23:59 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NEZ005DIK6TSE20@eusync3.samsung.com>; Thu, 13 Nov 2014 16:23:59 +0000 (GMT) From: Andrzej Hajda To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Kukjin Kim , Inki Dae , Tomasz Figa , Tobias Jakobi , Daniel Drake Subject: [PATCH 5/7] ARM: dts: exynos4412-odroid: enable hdmi support Date: Thu, 13 Nov 2014 17:23:03 +0100 Message-id: <1415895785-26892-6-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1415895785-26892-1-git-send-email-a.hajda@samsung.com> References: <1415895785-26892-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrEJMWRmVeSWpSXmKPExsVy+t/xq7ryt1NCDN616Vk8mv+Y2WLS/Qks Fr0LrrJZzDi/j8mi6+dPNou1R+6yW6za9YfRgd1j0fcsj52z7rJ7LN60n82jb8sqRo/Pm+QC WKO4bFJSczLLUov07RK4Mrb2vmUvWMVfcfC6TwNjI08XIyeHhICJxIUjK1ghbDGJC/fWs4HY QgJLGSV2b7TrYuQCsvuYJO4fusgCkmAT0JT4u/kmWJGIgKrE57YF7CBFzALPGSW2fl3OBJIQ FnCVeH6mF6yIBahoSeMVMJtXwFni8JSvTBDb5CROHpsMtJmDg1PARWLHZX0QUwio5MNn3QmM vAsYGVYxiqaWJhcUJ6XnGukVJ+YWl+al6yXn525ihITT1x2MS49ZHWIU4GBU4uH9wJ0SIsSa WFZcmXuIUYKDWUmE1/swUIg3JbGyKrUoP76oNCe1+BAjEwenVAPjqsWN+9d7dTgbSArY9ui0 vI449d5Y1Tskl+H2ss/FJWKPFnVYzrS057By+bNSQbMvuPaZif2mVT4L3mss9y6YUrH3vOLr a9sf2fx4z7xC4lLHR26vIx3hnJc2LtaVuCXH8D1MOWfFvYbSGZmbRD9ffHfm1an1jkd/Tvly ZZvF6m2fiv/2mz04r8RSnJFoqMVcVJwIAJvJs/wFAgAA 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=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From: Marek Szyprowski 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 c697ff0..4ebb557 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -205,6 +205,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>; @@ -363,6 +377,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 { @@ -377,4 +416,9 @@ samsung,pin-pud = <0>; samsung,pin-drv = <0>; }; + + hdmi_hpd: hdmi-hpd { + samsung,pins = "gpx3-7"; + samsung,pin-pud = <1>; + }; };