From patchwork Tue Jul 1 08:10:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 32851 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 474C7203C0 for ; Tue, 1 Jul 2014 08:10:41 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id rd3sf50280975pab.3 for ; Tue, 01 Jul 2014 01:10:40 -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=FDvtKrJkRwNC0Vn57c/o30fkLf+9cyAFfxu9J83RUU4=; b=Wt5G6WfMXPxZqA2tpp26zVB37p7zyWmr7NYJ35+OYG43k1jodAdZrZha91hOr5JIdv ydUt+gYgaptKmCnRqeFNmLoWvEVV8vCL87GPEKK/jCNKYTprwUapvfENL6iOd4s3CA0D yHpQFRBwyCwekR/SpsRO17x6QDBtvIyAWZbyhfp9Rv5mdnL1HDrFmxCrtTxgIIQx/Fs+ eSL0j0PQ0AMcVxUOSgINVckO1vx1gkraPO59bMHF4X3aOOq6kciZGE53oJpEJCj1rJfu KEroZJO7ev1bvwXc6Foc+XLDR+m/tR2Ia1kX6UKjgytWiOK0Y5etA6BXPxpPjxCj0bG4 LWIQ== X-Gm-Message-State: ALoCoQm7eeULCiapRwmTlr5PuaRiE9WjGn4Veqx91oAbOBiRQ3p459Z1nTnb3yFZ7LiAvJyV16Nr X-Received: by 10.68.137.99 with SMTP id qh3mr24658329pbb.2.1404202240561; Tue, 01 Jul 2014 01:10:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.18.242 with SMTP id 105ls1762950qgf.83.gmail; Tue, 01 Jul 2014 01:10:40 -0700 (PDT) X-Received: by 10.52.228.163 with SMTP id sj3mr28850936vdc.30.1404202240407; Tue, 01 Jul 2014 01:10:40 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id gm6si11125748vec.75.2014.07.01.01.10.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Jul 2014 01:10:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.173 as permitted sender) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id db11so9276107veb.18 for ; Tue, 01 Jul 2014 01:10:40 -0700 (PDT) X-Received: by 10.220.166.9 with SMTP id k9mr43178306vcy.20.1404202240309; Tue, 01 Jul 2014 01:10:40 -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 tc5csp197869vcb; Tue, 1 Jul 2014 01:10:39 -0700 (PDT) X-Received: by 10.51.16.132 with SMTP id fw4mr38233830igd.26.1404202239737; Tue, 01 Jul 2014 01:10:39 -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.39; Tue, 01 Jul 2014 01:10:39 -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 S1755813AbaGAIKi (ORCPT + 8 others); Tue, 1 Jul 2014 04:10:38 -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 S1753150AbaGAIKf (ORCPT ); Tue, 1 Jul 2014 04:10:35 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) 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 <0N80007XEXDB5T80@mailout4.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Tue, 01 Jul 2014 09:10:23 +0100 (BST) X-AuditID: cbfec7f4-b7fac6d000006cfe-75-53b26cf623aa Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 58.C5.27902.6FC62B35; Tue, 01 Jul 2014 09:10:30 +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:30 +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 5/7] ARM: dts: exynos4: add hdmi related nodes Date: Tue, 01 Jul 2014 10:10:09 +0200 Message-id: <1404202211-15788-6-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+NgFmphluLIzCtJLcpLzFFi42I5/e/4Fd1vOZuCDfpPC1ncWneO1eLR/MfM Fle+vmezmHR/AotF74KrbBYzzu9jsuj6+ZPNYu2Ru+wW62e8ZrGY1/6S1YHLY9H3LI/Fm/az edzvPs7k0bdlFaPH501yAaxRXDYpqTmZZalF+nYJXBnfX99lK+iQrOhvb2ZrYDwi0sXIySEh YCJxo3ETI4QtJnHh3nq2LkYuDiGBpYwSU+fNZYVw+pgk7v47yQpSxSZgKNH1tguoioNDRMBN YtZ/sBpmgb1MEldfTWQDqREWsJO4fayNBcRmEVCV+Pv5GhOIzSvgIbHrex8LxDY5if8vV4DF OQU8JfZcPcgOYgsB1ez/voVpAiPvAkaGVYyiqaXJBcVJ6bmGesWJucWleel6yfm5mxghIfdl B+PiY1aHGAU4GJV4eBtXbAgWYk0sK67MPcQowcGsJMLLnrYpWIg3JbGyKrUoP76oNCe1+BAj EwenVANjwWqHi3mbvqwNnD7pBfPkmTozxadbX1P3sYz+p7uo8fq3T3FXswRlLNLLvTftsGmd yu1wsOhsr8OCaoXDrne9S9kL3j/P7Ey5c8Nqy6ecwt7stYX/pp2elHv0586gnPcTexa8U7zH 9KSY/cg20emVK4wV3qyUrU28K/yDtS172ukXnW+2zUzuVGIpzkg01GIuKk4EAMOXmZcXAgAA 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.128.173 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: , 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 --- arch/arm/boot/dts/exynos4.dtsi | 37 +++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/exynos4210.dtsi | 5 +++++ arch/arm/boot/dts/exynos4x12.dtsi | 10 ++++++++++ 3 files changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 933bd2141601..5b55c4de7e6f 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; @@ -527,6 +528,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>; @@ -634,4 +651,24 @@ samsung,power-domain = <&pd_lcd0>; 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 ee3001f38821..d32063d00ad7 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -171,4 +171,9 @@ 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 c5a943df1cd7..856cd45b696b 100644 --- a/arch/arm/boot/dts/exynos4x12.dtsi +++ b/arch/arm/boot/dts/exynos4x12.dtsi @@ -270,4 +270,14 @@ 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>; + }; };