From patchwork Mon Feb 2 13:20:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5762191 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 3E52D9F336 for ; Mon, 2 Feb 2015 13:20:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 753C8203B8 for ; Mon, 2 Feb 2015 13:20:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 93F94203B7 for ; Mon, 2 Feb 2015 13:20:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933253AbbBBNUt (ORCPT ); Mon, 2 Feb 2015 08:20:49 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:54119 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755329AbbBBNUr (ORCPT ); Mon, 2 Feb 2015 08:20:47 -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 <0NJ5009CVBXG5C30@mailout1.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 02 Feb 2015 13:24:52 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-28-54cf791c5249 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id CB.D2.07834.C197FC45; Mon, 02 Feb 2015 13:18:20 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NJ5004YCBQ4PP60@eusync4.samsung.com>; Mon, 02 Feb 2015 13:20:45 +0000 (GMT) From: Marek Szyprowski To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, Marek Szyprowski , Kukjin Kim , Tobias Jakobi , Daniel Drake , Andrzej Hajda , Inki Dae , Tomasz Figa , Javier Martinez Canillas , jy0922.shim@samsung.com, kyungmin.park@samsung.com Subject: [PATCH v5 6/9] ARM: dts: exynos4210-universal_c210: enable hdmi support Date: Mon, 02 Feb 2015 14:20:25 +0100 Message-id: <1422883228-10690-7-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1422883228-10690-1-git-send-email-m.szyprowski@samsung.com> References: <1422883228-10690-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKLMWRmVeSWpSXmKPExsVy+t/xa7oyledDDHbPl7e4te4cq8Wj+Y+Z La58fc9mMen+BBaLo78LLF7cu8hi0f/4NbPF2aY37BabHl9jtZhxfh+TRdfPn2wWa4/cZbdY tesPowOvx9/n11k8Fn3P8tg56y67x+JN+9k8Nq3qZPO4332cyWPzknqPvi2rGD0+b5IL4Izi sklJzcksSy3St0vgyljw9jNLwQ7+iiUXZjE3MO7i6WLk5JAQMJG4PvseE4QtJnHh3nq2LkYu DiGBpYwS9xbsY4Jw+pgkHj/rZASpYhMwlOh62wVUxcEhIuAtsfyaIkgNs8A8ZonWF+fYQGqE BQIk/s6bxAJiswioSlxZ/JIVxOYV8JCYMeU/I8Q2OYn/L1eAbeYU8JT4uPopO4gtBFRzbstR 1gmMvAsYGVYxiqaWJhcUJ6XnGuoVJ+YWl+al6yXn525ihATtlx2Mi49ZHWIU4GBU4uF9wH0u RIg1say4MvcQowQHs5IIr4bF+RAh3pTEyqrUovz4otKc1OJDjEwcnFINjEFiNt8lPJbc4szS eMZwv8jBUEkhS9Wl+cofT634ia0RvFKPwlKKRKNzNvRY7FSKcdpenjxx65FXpf0Hg7L7/l0L npa74/zJAJXD//Xa1h0ozJCWfVUtekrBt97qsL/6p765rlOU5hQfXX7lYOeirbY2vU08nJ7W 71Lr4zynpv3dUWnAMS1WiaU4I9FQi7moOBEA0VDugzgCAAA= 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 08f89e0ff2b8..1d7643288569 100644 --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts @@ -504,6 +504,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 {