From patchwork Thu May 15 15:04:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 4183071 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C1A16BFF02 for ; Thu, 15 May 2014 15:05:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0799120306 for ; Thu, 15 May 2014 15:05:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 176C1201DE for ; Thu, 15 May 2014 15:05:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754839AbaEOPF5 (ORCPT ); Thu, 15 May 2014 11:05:57 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:43378 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754344AbaEOPF4 (ORCPT ); Thu, 15 May 2014 11:05:56 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5M00KFAF9U99B0@mailout2.samsung.com>; Fri, 16 May 2014 00:05:54 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 79.82.09952.2D7D4735; Fri, 16 May 2014 00:05:54 +0900 (KST) X-AuditID: cbfee690-b7fcd6d0000026e0-32-5374d7d297c7 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 94.04.25708.2D7D4735; Fri, 16 May 2014 00:05:54 +0900 (KST) Received: from localhost.localdomain ([107.108.83.245]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5M001QSF89JH10@mmp2.samsung.com>; Fri, 16 May 2014 00:05:54 +0900 (KST) From: Rahul Sharma To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, inki.dae@samsung.com, tomasz.figa@gmail.com, joshi@samsung.com, r.sh.open@gmail.com, Rahul Sharma Subject: [PATCH v5 1/4] ARM: dts: enable hdmi for exynos5250 based snow board Date: Thu, 15 May 2014 20:34:21 +0530 Message-id: <1400166264-3428-2-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1400166264-3428-1-git-send-email-rahul.sharma@samsung.com> References: <1400166264-3428-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOLMWRmVeSWpSXmKPExsWyRsSkVvfS9ZJgg8mzlSzmHznHajHp/gQW i++7vrBb9C64ymax6fE1VosZ5/cxWSx8EW8xZdFhVotVu/4wOnB67Jx1l91j85J6j74tqxg9 Pm+SC2CJ4rJJSc3JLEst0rdL4Mpo6JjPWnCet+LKvwUsDYxfuboYOTkkBEwkVq/uYYWwxSQu 3FvP1sXIxSEksJRR4vG6BkaYoqsHjrFDJKYzSmx+doYZJCEk0M4k0b6UF8RmE9CVmH3wGViD iECmxPyD78AamAVmMkqsWXOXHSQhLOArcfhyE9g6FgFViSmdG1hAbF4Bd4k3N+cBxTmAtilI zJlkAxLmFPCQmD3vPjNIWAio5PFUf4h7lrFL7HtpBDFFQOLb5EMsEJ2yEpsOMEOUSEocXHGD ZQKj8AJGhlWMoqkFyQXFSelFJnrFibnFpXnpesn5uZsYgYF++t+zCTsY7x2wPsSYDDRuIrOU aHI+MFLySuINjc2MLExNTI2NzC3NSBNWEudVe5Q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4jxmh1+y9ij9j+iSDi2TfudUtLfhe+KvJVYijMSDbWYi4oT Aej3yO/oAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected 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.5 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: Rahul Sharma Enable support for HDMI for exynos5250 based Snow board. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5250-cros-common.dtsi | 6 +++++- arch/arm/boot/dts/exynos5250-snow.dts | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250-cros-common.dtsi b/arch/arm/boot/dts/exynos5250-cros-common.dtsi index 2c1560d..89ac90f 100644 --- a/arch/arm/boot/dts/exynos5250-cros-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-cros-common.dtsi @@ -240,7 +240,7 @@ samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <378000>; - hdmiphy@38 { + hdmiphy: hdmiphy@38 { compatible = "samsung,exynos4212-hdmiphy"; reg = <0x38>; }; @@ -304,6 +304,10 @@ hdmi { hpd-gpio = <&gpx3 7 0>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_hpd_irq>; + phy = <&hdmiphy>; + ddc = <&i2c_2>; }; gpio-keys { diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 1ce1088..7aa5d11 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -37,6 +37,13 @@ sd3_bus4: sd3-bus-width4 { samsung,pin-drv = <0>; }; + + hdmi_hpd_irq: hdmi-hpd-irq { + samsung,pins = "gpx3-7"; + samsung,pin-function = <0>; + samsung,pin-pud = <1>; + samsung,pin-drv = <0>; + }; }; gpio-keys { @@ -206,4 +213,11 @@ clock-frequency = <24000000>; }; }; + + hdmi { + hdmi-en-supply = <&tps65090_fet7>; + vdd-supply = <&ldo8_reg>; + vdd_osc-supply = <&ldo10_reg>; + vdd_pll-supply = <&ldo8_reg>; + }; };