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: 4457091 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 DD16A9F26C for ; Tue, 1 Jul 2014 08:10:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08ED120411 for ; Tue, 1 Jul 2014 08:10:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 15F35203EC for ; Tue, 1 Jul 2014 08:10:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755813AbaGAIKi (ORCPT ); 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: 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 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>; + }; };