From patchwork Sun Apr 20 11:24:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 4021181 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 1183ABFF02 for ; Sun, 20 Apr 2014 11:25:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41D8A2024D for ; Sun, 20 Apr 2014 11:25:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4567620254 for ; Sun, 20 Apr 2014 11:25:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755193AbaDTLZl (ORCPT ); Sun, 20 Apr 2014 07:25:41 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:28378 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755201AbaDTLZj (ORCPT ); Sun, 20 Apr 2014 07:25:39 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N4B005UIUDTGZ40@mailout4.samsung.com>; Sun, 20 Apr 2014 20:25:05 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 41.9E.11496.09EA3535; Sun, 20 Apr 2014 20:25:05 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-ca-5353ae90bc40 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E0.15.27725.09EA3535; Sun, 20 Apr 2014 20:25:04 +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 <0N4B00H6WUD0G300@mmp2.samsung.com>; Sun, 20 Apr 2014 20:25:04 +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 7/7] ARM: dts: enable hdmi for exynos5420 based peach-pit board Date: Sun, 20 Apr 2014 16:54:04 +0530 Message-id: <1397993044-14564-8-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1397993044-14564-1-git-send-email-rahul.sharma@samsung.com> References: <1397993044-14564-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBLMWRmVeSWpSXmKPExsWyRsSkVnfiuuBgg8mnmS3mHznHajHp/gQW i++7vrBb9C64ymax6fE1VosZ5/cxWSx8EW8xZdFhVotVu/4wOnB67Jx1l91j85J6j74tqxg9 Pm+SC2CJ4rJJSc3JLEst0rdL4MpY+qSRqeAdX8WSVTeZGhhfcHcxcnBICJhInD0S3cXICWSK SVy4t56ti5GLQ0hgKaPE8isLmSASJhLXn3WzQySmM0psPLmTEcJpZ5I4vfk/M0gVm4CuxOyD zxhBbBGBTIn5B9+BdTALzGSUWLPmLjvIOmEBf4ndLwxBalgEVCXOz9/KAmLzCnhIXJn+jxHi IgWJOZNsQMKcAp4SB6fMZwOxhYBK3u1cwAIyUkJgGbvEj+27mSHmCEh8m3yIBaJXVmLTAWaI oyUlDq64wTKBUXgBI8MqRtHUguSC4qT0IlO94sTc4tK8dL3k/NxNjMBQP/3v2cQdjPcPWB9i TAYaN5FZSjQ5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37Xvsrkn ELFdVVH3yil+981/2uKuX85iC/JhmOTD2Li9MVclvvmVkcPsXOYJDVuzrJRYijMSDbWYi4oT AfMPbB3pAgAA 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 hdmi for exynos5420 based peach-pit board. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 26 ++++++++++++++++++++++++++ arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ 2 files changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 4d61a5e..5b70522 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -54,6 +54,13 @@ samsung,pin-pud = <0>; 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>; + }; }; pinctrl@14010000 { @@ -222,4 +229,23 @@ watchdog@101D0000 { timeout-sec = <32>; }; + + i2c@12C80000 { + samsung,i2c-sda-delay = <100>; + samsung,i2c-max-bus-freq = <66000>; + samsung,i2c-slave-addr = <0x50>; + status = "okay"; + + hdmiddc@50 { + reg = <0x50>; + }; + }; + + hdmi@14530000 { + hpd-gpio = <&gpx3 7 2>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_hpd_irq>; + ddc = <&i2c_2>; + status = "okay"; + }; }; diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 663fca9..f474e96 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -642,10 +642,15 @@ clock-names = "hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy", "mout_hdmi"; status = "disabled"; + phy = <&hdmiphy>; phys = <&simple_phys 0>; phy-names = "hdmiphy"; }; + hdmiphy: hdmiphy@145D0000 { + reg = <0x145D0000 0x20>; + }; + mixer@14450000 { compatible = "samsung,exynos5420-mixer"; reg = <0x14450000 0x10000>;