From patchwork Mon May 12 10:24:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Sharma X-Patchwork-Id: 4158301 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 C37F09F170 for ; Mon, 12 May 2014 10:25:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1073020274 for ; Mon, 12 May 2014 10:25:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1C6E2202B4 for ; Mon, 12 May 2014 10:25:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756047AbaELKZB (ORCPT ); Mon, 12 May 2014 06:25:01 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:34507 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755099AbaELKY5 (ORCPT ); Mon, 12 May 2014 06:24:57 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5G00J0DI9L9I80@mailout1.samsung.com>; Mon, 12 May 2014 19:24:57 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id FE.24.11496.971A0735; Mon, 12 May 2014 19:24:57 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-b1-5370a1799ce2 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 76.C4.25708.871A0735; Mon, 12 May 2014 19:24:57 +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 <0N5G00AHYI94N270@mmp2.samsung.com>; Mon, 12 May 2014 19:24:56 +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 v3 5/5] ARM: dts: enable hdmi for exynos5800 based peach-pi board Date: Mon, 12 May 2014 15:54:08 +0530 Message-id: <1399890248-27409-6-git-send-email-rahul.sharma@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1399890248-27409-1-git-send-email-rahul.sharma@samsung.com> References: <1399890248-27409-1-git-send-email-rahul.sharma@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFLMWRmVeSWpSXmKPExsWyRsSkRrdyYUGwQdMtLov5R86xWky6P4HF 4vuuL+wWvQuusllsenyN1WLG+X1MFgtfxFtMWXSY1WLVrj+MDpweO2fdZffYvKTeo2/LKkaP z5vkAliiuGxSUnMyy1KL9O0SuDJWTlrJXPCbs+LPh68sDYxNHF2MnBwSAiYSG26eYYWwxSQu 3FvP1sXIxSEksJRRYuGpN2wwRatXX2aGSExnlPjafJcVwmlnkljZ/QysnU1AV2L2wWeMILaI QKbE/IPv2EGKmAVmMkqsWXOXHSQhLBAs0X/+NFgRi4CqxPM9+8FW8Ap4SDz6NRuohgNonYLE nEk2IGFOAU+JV6/Ps4DYQkAlTy/eBDtPQmAZu8SUs0uh5ghIfJt8iAWiV1Zi0wFmiKslJQ6u uMEygVF4ASPDKkbR1ILkguKk9CJTveLE3OLSvHS95PzcTYzAcD/979nEHYz3D1gfYkwGGjeR WUo0OR8YL3kl8YbGZkYWpiamxkbmlmakCSuJ86Y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unhGjMu/BZMyvO11hYyu2c0gVOUan5XxtNOIUPaAcqsRRnJBpqMRcVJwIA s+jaOOoCAAA= 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 peach-pi board. Signed-off-by: Rahul Sharma --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 742655b..bbb445a 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -72,6 +72,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>; + }; }; &rtc { @@ -134,6 +141,25 @@ }; }; +&i2c_2 { + status = "okay"; + samsung,i2c-sda-delay = <100>; + samsung,i2c-max-bus-freq = <66000>; + samsung,i2c-slave-addr = <0x50>; + + hdmiddc@50 { + reg = <0x50>; + }; +}; + +&hdmi { + status = "okay"; + hpd-gpio = <&gpx3 7 2>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_hpd_irq>; + ddc = <&i2c_2>; +}; + /* * Use longest HW watchdog in SoC (32 seconds) since the hardware * watchdog provides no debugging information (compared to soft/hard