From patchwork Wed Jan 14 13:44:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5631211 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C69F19F357 for ; Wed, 14 Jan 2015 13:45:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 991282038A for ; Wed, 14 Jan 2015 13:45:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 92A042038D for ; Wed, 14 Jan 2015 13:45:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753045AbbANNpH (ORCPT ); Wed, 14 Jan 2015 08:45:07 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:19870 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753032AbbANNpD (ORCPT ); Wed, 14 Jan 2015 08:45:03 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NI600B5B6DXL660@mailout1.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 14 Jan 2015 13:49:09 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-21-54b672dd6d34 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 27.6B.07834.DD276B45; Wed, 14 Jan 2015 13:45:01 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NI6002M966RL740@eusync3.samsung.com>; Wed, 14 Jan 2015 13:45:01 +0000 (GMT) From: Marek Szyprowski To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Kukjin Kim , Tobias Jakobi , Daniel Drake , Andrzej Hajda , Inki Dae , Tomasz Figa , kyungmin.park@samsung.com Subject: [PATCH v3 6/7] ARM: dts: exynos4210-universal_c210: enable hdmi support Date: Wed, 14 Jan 2015 14:44:50 +0100 Message-id: <1421243091-10778-7-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1421243091-10778-1-git-send-email-m.szyprowski@samsung.com> References: <1421243091-10778-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmluLIzCtJLcpLzFFi42I5/e/4Vd27RdtCDHas1ra4te4cq8Wj+Y+Z LSbdn8Bi0f/4NbPF2aY37BabHl9jtZhxfh+TRdfPn2wWa4/cZbdYtesPowOXx6LvWR47Z91l 91i8aT+bx6ZVnWwem5fUe/RtWcXo8XmTXAB7FJdNSmpOZllqkb5dAlfGsYZmloJ1/BVNryYw NzBu4Oli5OSQEDCRaJkxjRHCFpO4cG89WxcjF4eQwFJGiUt3JzBCOH1MEh8XH2cDqWITMJTo etsFZHNwiAh4Syy/pggSZhZYxCRx7UowiC0sECDx4/ZBsHIWAVWJO1ebmUFsXgEPiVmrfrJC LJOT+P9yBROIzSngKTFv60omkJFCQDWLD7pNYORdwMiwilE0tTS5oDgpPddQrzgxt7g0L10v OT93EyMkAL/sYFx8zOoQowAHoxIP78yYbSFCrIllxZW5hxglOJiVRHjT5IBCvCmJlVWpRfnx RaU5qcWHGJk4OKUaGB1nb3wg2VVkUefBztCgcHHduV3iD/ImHlD9GV5eE6cRxMWstTE5vUVp 99qOfx7LglIMGB8JHF+80K/6V7vs7/fJy15cN02tE5oVfFKi66nlfFFbnrnR5+9WPfS6miRW HHSeSV1s6pkl4UeiK1hlLyXefLvqVPy5XyJfDgs86T9U5BUe0fn0ghJLcUaioRZzUXEiAMHN Y08eAgAA 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 From: Tomasz Stanislawski This patch adds configuration of hw modules required to enable HDMI support on Universal C210 board. Signed-off-by: Tomasz Stanislawski Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4210-universal_c210.dts | 57 +++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index aaf0cae..01f7d3c 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -503,6 +503,63 @@ assigned-clock-rates = <0>, <160000000>; }; }; + + hdmi_en: voltage-regulator-hdmi-5v { + compatible = "regulator-fixed"; + regulator-name = "HDMI_5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpe0 1 0>; + enable-active-high; + }; + + hdmi_ddc: i2c-ddc { + compatible = "i2c-gpio"; + gpios = <&gpe4 2 0 &gpe4 3 0>; + i2c-gpio,delay-us = <100>; + #address-cells = <1>; + #size-cells = <0>; + + pinctrl-0 = <&i2c_ddc_bus>; + pinctrl-names = "default"; + status = "okay"; + }; + + mixer@12C10000 { + status = "okay"; + }; + + hdmi@12D00000 { + hpd-gpio = <&gpx3 7 0>; + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_hpd>; + hdmi-en-supply = <&hdmi_en>; + vdd-supply = <&ldo3_reg>; + vdd_osc-supply = <&ldo4_reg>; + vdd_pll-supply = <&ldo3_reg>; + ddc = <&hdmi_ddc>; + status = "okay"; + }; + + i2c@138E0000 { + status = "okay"; + }; +}; + +&pinctrl_1 { + hdmi_hpd: hdmi-hpd { + samsung,pins = "gpx3-7"; + samsung,pin-pud = <0>; + }; +}; + +&pinctrl_0 { + i2c_ddc_bus: i2c-ddc-bus { + samsung,pins = "gpe4-2", "gpe4-3"; + samsung,pin-function = <2>; + samsung,pin-pud = <3>; + samsung,pin-drv = <0>; + }; }; &mdma1 {