From patchwork Mon Nov 24 07:36:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 5363741 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 5A18AC11AC for ; Mon, 24 Nov 2014 07:36:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3946020123 for ; Mon, 24 Nov 2014 07:36:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 573D820272 for ; Mon, 24 Nov 2014 07:36:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752176AbaKXHgf (ORCPT ); Mon, 24 Nov 2014 02:36:35 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:47099 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752520AbaKXHge (ORCPT ); Mon, 24 Nov 2014 02:36:34 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NFJ00L5999H9C80@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 24 Nov 2014 07:39:17 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-eb-5472e000a273 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 24.6B.07834.000E2745; Mon, 24 Nov 2014 07:36:32 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NFJ00KI594JAK30@eusync1.samsung.com>; Mon, 24 Nov 2014 07:36:32 +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 , Sylwester Nawrocki , Andrzej Hajda Subject: [PATCH RESEND 6/7] ARM: dts: exynos4210-universal_c210: enable hdmi support Date: Mon, 24 Nov 2014 08:36:15 +0100 Message-id: <1416814575-24609-1-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1416814256-24288-1-git-send-email-a.hajda@samsung.com> References: <1416814256-24288-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphluLIzCtJLcpLzFFi42I5/e/4ZV2GB0UhBpNuyVjcWneO1eLR/MfM FpPuT2Cx6H/8mtlixvl9TBZdP3+yWaw9cpfd4vCbdlaLVbv+MDpweiz6nuWxc9Zddo/Fm/az eWxa1cnm0bdlFaPH501yAWxRXDYpqTmZZalF+nYJXBkL2pexFJzir3jT0sbSwHiCp4uRk0NC wETi0+nNrBC2mMSFe+vZuhi5OIQEljJKtO1axwTh9DFJdExayAxSxSagKfF38002EFtEQFXi c9sCdpAiZoFtTBI31nxmAUkIC4RJXFg1BayIBaio//UcoDgHB6+As8TlaVkQ2+QkTh6bDLaZ U8BF4trjQ2DzhYBKZu5/wzSBkXcBI8MqRtHU0uSC4qT0XEO94sTc4tK8dL3k/NxNjJCQ+7KD cfExq0OMAhyMSjy8P3oKQ4RYE8uKK3MPMUpwMCuJ8J79BxTiTUmsrEotyo8vKs1JLT7EyMTB KdXAOF9tNfeFly+Ef7lo/1mVtfO4ZtgqzTNRdfdFt2/xXW/aaaye7dy2yi2tVmvi5ieWec/u VU/cw72ST0TuzUnBivns3jxXTrj66dovzfz3Vvn4xjRjk8X6qcxXb5/Lfvb09C2ly1ne13Ob djg+F4j/rn1h3pamuT84P7+e+vemzD519V2zt1ic3aPEUpyRaKjFXFScCACcnNNSFwIAAA== 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 Signed-off-by: Andrzej Hajda --- 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 d50eb3a..069b2e2 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -487,6 +487,63 @@ status = "okay"; }; }; + + 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 {