From patchwork Tue Jan 13 09:41:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 5618851 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 24CD1C058D for ; Tue, 13 Jan 2015 09:41:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 576642060E for ; Tue, 13 Jan 2015 09:41:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6C21620605 for ; Tue, 13 Jan 2015 09:41:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751636AbbAMJli (ORCPT ); Tue, 13 Jan 2015 04:41:38 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:18293 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751241AbbAMJlh (ORCPT ); Tue, 13 Jan 2015 04:41:37 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) 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 <0NI400A1U0G70J20@mailout1.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 13 Jan 2015 09:45:43 +0000 (GMT) X-AuditID: cbfec7f5-b7fc86d0000066b7-e6-54b4e850c276 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 4A.27.26295.058E4B45; Tue, 13 Jan 2015 09:41:36 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NI400JQ50952S20@eusync1.samsung.com>; Tue, 13 Jan 2015 09:41:35 +0000 (GMT) From: Marek Szyprowski To: 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 v2 5/6] ARM: dts: exynos4210-universal_c210: enable hdmi support Date: Tue, 13 Jan 2015 10:41:29 +0100 Message-id: <1421142089-15214-1-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <1421141991-15155-1-git-send-email-m.szyprowski@samsung.com> References: <1421141991-15155-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphluLIzCtJLcpLzFFi42I5/e/4Zd2AF1tCDObvN7C4te4cq8Wj+Y+Z LSbdn8Bi0f/4NbPF2aY37BYzzu9jsuj6+ZPNYu2Ru+wWq3b9YXTg9Fj0Pctj56y77B6LN+1n 89i0qpPNo2/LKkaPz5vkAtiiuGxSUnMyy1KL9O0SuDKONTSzFKzjr2h6NYG5gXEDTxcjJ4eE gInE7XOrWCFsMYkL99azdTFycQgJLGWUWHlwFTuE08ckce3YQTaQKjYBQ4mut11gtoiAqsTn tgXsIDazwCKgoivBILawQIDEg0sHmEBsFqCa/rXPwOp5BTwk/px6zQSxTU7i/8sVYDangKfE zOc9zCC2EFDNg2vLmCYw8i5gZFjFKJpamlxQnJSea6RXnJhbXJqXrpecn7uJERJyX3cwLj1m dYhRgINRiYd3R/aWECHWxLLiytxDjBIczEoivPNvA4V4UxIrq1KL8uOLSnNSiw8xMnFwSjUw siUxNxyu4tHvjBZe9GZCfH7Oxrs7WzLiiidJRj/+5bOXyfFToUriyq/zLm2WMyuvVxPzCJp7 wkdbweLp7cRmzzKTrDYvhqsbCk9kJT1OE9xw7WpW1KUmbQbdQs+DuzsOTJl+o01sqghvXZyT ilrqqjXLTzhc3jL3mciPorP7rr2d8jI+8PtnJZbijERDLeai4kQAA2quYBcCAAA= 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 {