From patchwork Tue Jul 1 08:10:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 4457101 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 30938BEEAA for ; Tue, 1 Jul 2014 08:10:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5716F2040F for ; Tue, 1 Jul 2014 08:10:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6091B203EC for ; Tue, 1 Jul 2014 08:10:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757405AbaGAIKj (ORCPT ); Tue, 1 Jul 2014 04:10:39 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:27046 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755725AbaGAIKi (ORCPT ); Tue, 1 Jul 2014 04:10:38 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) 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 <0N8000DH0XDBUY80@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 01 Jul 2014 09:10:23 +0100 (BST) X-AuditID: cbfec7f5-b7f626d000004b39-b8-53b26cf70325 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id A8.28.19257.7FC62B35; Tue, 01 Jul 2014 09:10:31 +0100 (BST) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N8000A5SXDBMY80@eusync2.samsung.com>; Tue, 01 Jul 2014 09:10:31 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Marek Szyprowski , Kukjin Kim , Tobias Jakobi , Daniel Drake , Andrzej Hajda , Inki Dae , Tomasz Stanislawski , Tomasz Figa Subject: [PATCH 7/7] ARM: dts: exynos4210-universal_c210: enable hdmi support Date: Tue, 01 Jul 2014 10:10:11 +0200 Message-id: <1404202211-15788-8-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1404202211-15788-1-git-send-email-m.szyprowski@samsung.com> References: <1404202211-15788-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmluLIzCtJLcpLzFFi42I5/e/4Fd3vOZuCDRof8lrcWneO1eLR/MfM Fle+vmezmHR/AotF74KrbBYzzu9jsuj6+ZPNYu2Ru+wW62e8ZrGY1/6S1YHLY9H3LI/Fm/az edzvPs7k0bdlFaPH501yAaxRXDYpqTmZZalF+nYJXBmrXl5gLPghUDHlgmAD407eLkZODgkB E4lnu+8yQthiEhfurWfrYuTiEBJYyihxdOpcVginj0niXs8JdpAqNgFDia63XUBVHBwiAm4S s/6D1TAL7GWSuPpqIhtIjbCAr8SM021g9SwCqhLNC9awgti8Ah4SV9pvM0Nsk5P4/3IFE4jN KeApsefqQbB6IaCa/d+3ME1g5F3AyLCKUTS1NLmgOCk910ivODG3uDQvXS85P3cTIyTgvu5g XHrM6hCjAAejEg/vC/1NwUKsiWXFlbmHGCU4mJVEeNnTgEK8KYmVValF+fFFpTmpxYcYmTg4 pRoY9Rxyor8ksgTKbDOVP8Kw4alKebnRU52TvE9endy37sfMMI4bVoEHgh79KmB7sipRKGvZ uoe3Tiy81+0WXjThYujRyvuB27ax7ruXaHTz5EopnZiWezrxT8UNz7vt1z3x1zI9iF199S5B m1PPumcGLJu5z3KCtfudi888rHv4vshdKap45F8io8RSnJFoqMVcVJwIAN4nUEgWAgAA 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 | 65 +++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts index d50eb3aa708e..585082397d5a 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -43,6 +43,14 @@ }; }; + lcd0-power-domain@10023C80 { + domain-always-on; + }; + + tv-power-domain@10023C20 { + domain-always-on; + }; + mct@10050000 { compatible = "none"; }; @@ -487,6 +495,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 {