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: 32853 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 887E920DCC for ; Tue, 1 Jul 2014 08:10:42 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id rd3sf50245188pab.11 for ; Tue, 01 Jul 2014 01:10:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=eJ5VFxUydZjp/nxsUbTJ6P4mW0QVcP9IPCIu81Vx5/g=; b=KlFfce9w/NE8PwrTOP/fFW0ZC8kyFSZZ/IDNqMvnh0GwZ3wA8cApjUB0ynE8oR/ZSG 4wJpKjOA1MoeHUFR+FFb07NqDWqwnJkryRdN3MCPsPBB6EGbHyPNvozBqJExcIouV1GF q+Up2YeiXR/JiRSejSbXPugayd0qQISwuL+B+MUUhLVPoOeFlVCV3mTx+KULgsDPWyCL CU6449u7wPDAF5kkv3lXNZfXv2a1pYrdyVFVnhTbU0Y14DSSMP3STWuDBBI2HjGnd01R V/NkHit+dCf/vHS8BvkUBl+E4aJPzGxrCAzefxINpgd3u9z4BwUx4zgx41F6nxQLVjSN Ayyw== X-Gm-Message-State: ALoCoQlVt5WAHCCpPd8rTazs5bro3v8vGfddib34vL8OeCVWrVBH5f6p7nZ8NF82cNmzxvY0pDgF X-Received: by 10.68.230.193 with SMTP id ta1mr24636466pbc.6.1404202241878; Tue, 01 Jul 2014 01:10:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.17.19 with SMTP id 19ls1908022qgc.69.gmail; Tue, 01 Jul 2014 01:10:41 -0700 (PDT) X-Received: by 10.58.208.170 with SMTP id mf10mr25249022vec.22.1404202241726; Tue, 01 Jul 2014 01:10:41 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id r1si11131353vcx.25.2014.07.01.01.10.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Jul 2014 01:10:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id hy10so8668868vcb.29 for ; Tue, 01 Jul 2014 01:10:41 -0700 (PDT) X-Received: by 10.221.44.73 with SMTP id uf9mr43361425vcb.9.1404202241628; Tue, 01 Jul 2014 01:10:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp197871vcb; Tue, 1 Jul 2014 01:10:41 -0700 (PDT) X-Received: by 10.50.77.34 with SMTP id p2mr39036610igw.31.1404202241040; Tue, 01 Jul 2014 01:10:41 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id so9si25090523pac.191.2014.07.01.01.10.40; Tue, 01 Jul 2014 01:10:40 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757405AbaGAIKj (ORCPT + 8 others); 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: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m.szyprowski@samsung.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 {