From patchwork Mon Nov 24 07:30:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 5363701 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7AE209F2F5 for ; Mon, 24 Nov 2014 07:31:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 95C2020375 for ; Mon, 24 Nov 2014 07:31:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A25F620361 for ; Mon, 24 Nov 2014 07:31:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752791AbaKXHbp (ORCPT ); Mon, 24 Nov 2014 02:31:45 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:8934 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752532AbaKXHbo (ORCPT ); Mon, 24 Nov 2014 02:31:44 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NFJ00K1991M6Z80@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 24 Nov 2014 07:34:34 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-9f-5472dedd6871 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 27.AA.07834.DDED2745; Mon, 24 Nov 2014 07:31:41 +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 <0NFJ0029Y8VPQA20@eusync1.samsung.com>; Mon, 24 Nov 2014 07:31:41 +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 3/7] ARM: dts: exynos4: add hdmi related nodes Date: Mon, 24 Nov 2014 08:30:52 +0100 Message-id: <1416814256-24288-4-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+NgFmplluLIzCtJLcpLzFFi42I5/e/4Zd2794pCDNZusrS4te4cq8Wj+Y+Z LSbdn8Bi0f/4NbPFjPP7mCy6fv5ks1h75C67xeE37awWq3b9YXTg9Fj0Pctj56y77B6LN+1n 89i0qpPNo2/LKkaPz5vkAtiiuGxSUnMyy1KL9O0SuDKmd39nLfguWXFj0162BsZu0S5GTg4J AROJho2vGSFsMYkL99azdTFycQgJLGWU6F73EcrpY5LYO/kvO0gVm4CmxN/NN9lAbBEBVYnP bQvYQYqYBbYxSdxY85kFJCEs4Cqx6NhSVhCbBahowu8VYHFeAWeJQ5dfskOsk5M4eWwyWA2n gIvEtceHmEFsIaCamfvfME1g5F3AyLCKUTS1NLmgOCk911CvODG3uDQvXS85P3cTIyTovuxg XHzM6hCjAAejEg/vj57CECHWxLLiytxDjBIczEoivGf/AYV4UxIrq1KL8uOLSnNSiw8xMnFw SjUwZoremfMj6kZWyZLwOKUJUn4PHGPO6yRFyO3xP8y8o8nxQ91im9dBKcz7E5tzr299LC6e Ii9fvJAh6mLAl12XF01+wpmhzir08pdBbZH04/hKnZNnRbM1tNvj5x9ldH3S8oyde/X12jQ1 r1envyrGlDsx3Lj1jIXV7X5LloPuvJlWvoZxi3mVWIozEg21mIuKEwHfo2asGAIAAA== 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: Marek Szyprowski This patch adds entries for HDMI, Mixer and i2c with hdmi-phy modules found in Exynos 4210 and 4x12 SoCs. Signed-off-by: Marek Szyprowski Signed-off-by: Andrzej Hajda --- arch/arm/boot/dts/exynos4.dtsi | 40 +++++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/exynos4210.dtsi | 8 ++++++++ arch/arm/boot/dts/exynos4x12.dtsi | 11 +++++++++++ 3 files changed, 59 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index e0278ec..4ed5868 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -38,6 +38,7 @@ i2c5 = &i2c_5; i2c6 = &i2c_6; i2c7 = &i2c_7; + i2c8 = &i2c_8; csis0 = &csis_0; csis1 = &csis_1; fimc0 = &fimc_0; @@ -537,6 +538,22 @@ status = "disabled"; }; + i2c_8: i2c@138E0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "samsung,s3c2440-hdmiphy-i2c"; + reg = <0x138E0000 0x100>; + interrupts = <0 93 0>; + clocks = <&clock CLK_I2C_HDMI>; + clock-names = "i2c"; + status = "disabled"; + + hdmi_i2c_phy: hdmiphy@38 { + compatible = "exynos4210-hdmiphy"; + reg = <0x38>; + }; + }; + spi_0: spi@13920000 { compatible = "samsung,exynos4210-spi"; reg = <0x13920000 0x100>; @@ -645,4 +662,27 @@ samsung,sysreg = <&sys_reg>; status = "disabled"; }; + + hdmi: hdmi@12D00000 { + compatible = "samsung,exynos4210-hdmi"; + reg = <0x12D00000 0x70000>; + interrupts = <0 92 0>; + clock-names = "hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy", + "mout_hdmi"; + clocks = <&clock CLK_HDMI>, <&clock CLK_SCLK_HDMI>, + <&clock CLK_SCLK_PIXEL>, <&clock CLK_SCLK_HDMIPHY>, + <&clock CLK_MOUT_HDMI>; + phy = <&hdmi_i2c_phy>; + samsung,power-domain = <&pd_tv>; + samsung,syscon-phandle = <&pmu_system_controller>; + status = "disabled"; + }; + + mixer: mixer@12C10000 { + compatible = "samsung,exynos4210-mixer"; + interrupts = <0 91 0>; + reg = <0x12C10000 0x2100>, <0x12c00000 0x300>; + samsung,power-domain = <&pd_tv>; + status = "disabled"; + }; }; diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 807bb5b..1c97784 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -175,4 +175,12 @@ samsung,lcd-wb; }; }; + + mixer: mixer@12C10000 { + clock-names = "mixer", "sclk_hdmi", "vp", "mout_mixer", + "sclk_mixer"; + clocks = <&clock CLK_MIXER>, <&clock CLK_SCLK_HDMI>, + <&clock CLK_VP>, <&clock CLK_MOUT_MIXER>, + <&clock CLK_SCLK_MIXER>; + }; }; diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi index 861bb91..d6789a0 100644 --- a/arch/arm/boot/dts/exynos4x12.dtsi +++ b/arch/arm/boot/dts/exynos4x12.dtsi @@ -271,4 +271,15 @@ compatible = "samsung,exynos4x12-usb2-phy"; samsung,sysreg-phandle = <&sys_reg>; }; + + hdmi: hdmi@12D00000 { + compatible = "samsung,exynos4212-hdmi"; + }; + + mixer: mixer@12C10000 { + compatible = "samsung,exynos4212-mixer"; + clock-names = "mixer", "sclk_hdmi", "vp"; + clocks = <&clock CLK_MIXER>, <&clock CLK_SCLK_HDMI>, + <&clock CLK_VP>; + }; };