From patchwork Thu Nov 13 16:23:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 40782 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 409D62449B for ; Thu, 13 Nov 2014 16:24:04 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id y19sf945061wgg.11 for ; Thu, 13 Nov 2014 08:24:03 -0800 (PST) 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=jUAcrwOuXdRMNDnL3RfzCYAvd5by5ihKeld4zWaNvN8=; b=effun0WsadHrYrBR6oANbB4bbtisCGfT5FceAmpCse+L8pJUrBtrhuUnMdhHUK8nz1 kCV0k5ug1OviOTcrLayuWoYMvRtABnVQM+oHt0n9IWe7sN7TPFaTnm/Jd+vpt1z44CWM 3LcMPdTuexZGlKHu2YWyy/+1y7u8dVjKT1r1EsMdbUQL4z0pmgit/vmCJx0BH400a3YC j79fJYrfrbfyLVQb6WEYxH+c5zbix/SCnh9E1gqwXDTqwFySjUZrope0lS9RZPH/blxR 07vYu6eiJreRnHGRzRuwoZ3CRK7x/uLFQ/0Jwdq+FdHD1IhNzez/pUirpmIpckkVY2yn c6KA== X-Gm-Message-State: ALoCoQmbMBv9sQOZj8ZzewWrJajzYz8LNAOJLKdhSvXxi9oxhl9iZ2Fm49CxU5zoILxzpErm9kXa X-Received: by 10.180.8.9 with SMTP id n9mr1166867wia.6.1415895843543; Thu, 13 Nov 2014 08:24:03 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.133 with SMTP id ue5ls290582lac.6.gmail; Thu, 13 Nov 2014 08:24:03 -0800 (PST) X-Received: by 10.112.235.196 with SMTP id uo4mr3323703lbc.66.1415895843397; Thu, 13 Nov 2014 08:24:03 -0800 (PST) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id jr4si39089499lab.19.2014.11.13.08.24.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 08:24:03 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id w7so2683589lbi.19 for ; Thu, 13 Nov 2014 08:24:03 -0800 (PST) X-Received: by 10.112.189.10 with SMTP id ge10mr3290655lbc.23.1415895843307; Thu, 13 Nov 2014 08:24:03 -0800 (PST) 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.112.184.201 with SMTP id ew9csp616669lbc; Thu, 13 Nov 2014 08:24:02 -0800 (PST) X-Received: by 10.68.221.34 with SMTP id qb2mr3847825pbc.72.1415895840619; Thu, 13 Nov 2014 08:24:00 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si3459270pdp.168.2014.11.13.08.24.00 for ; Thu, 13 Nov 2014 08:24:00 -0800 (PST) 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 S933483AbaKMQX7 (ORCPT + 4 others); Thu, 13 Nov 2014 11:23:59 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:56800 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933311AbaKMQX6 (ORCPT ); Thu, 13 Nov 2014 11:23:58 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) 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 <0NEZ001P8KCOD180@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Thu, 13 Nov 2014 16:26:49 +0000 (GMT) X-AuditID: cbfec7f5-b7f956d000005ed7-6b-5464db1c9c55 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id CB.62.24279.C1BD4645; Thu, 13 Nov 2014 16:23:56 +0000 (GMT) Received: from AMDC1061.digital.local ([106.116.147.88]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NEZ005DIK6TSE20@eusync3.samsung.com>; Thu, 13 Nov 2014 16:23:56 +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 Subject: [PATCH 3/7] ARM: dts: exynos4: add hdmi related nodes Date: Thu, 13 Nov 2014 17:23:01 +0100 Message-id: <1415895785-26892-4-git-send-email-a.hajda@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1415895785-26892-1-git-send-email-a.hajda@samsung.com> References: <1415895785-26892-1-git-send-email-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrMJMWRmVeSWpSXmKPExsVy+t/xq7oyt1NCDFbPFbZ4NP8xs8Wk+xNY LHoXXGWzmHF+H5NF18+fbBZrj9xlt1i16w+jA7vHou9ZHjtn3WX3WLxpP5tH35ZVjB6fN8kF sEZx2aSk5mSWpRbp2yVwZfw/9Jit4LBkxbe7exgbGO+IdDFyckgImEg82HKRGcIWk7hwbz1b FyMXh5DAUkaJidN/skM4fUwSC1fcZwGpYhPQlPi7+SYbiC0ioCrxuW0BWBGzwHNGia1flzOB JIQF7CS+/t8HlODgYAEquj1PDyTMK+AscXnyA6htchInj01mBSnhFHCR2HFZH8QUAir58Fl3 AiPvAkaGVYyiqaXJBcVJ6blGesWJucWleel6yfm5mxghAfV1B+PSY1aHGAU4GJV4eD9wp4QI sSaWFVfmHmKU4GBWEuH1PgwU4k1JrKxKLcqPLyrNSS0+xMjEwSnVwGh/ua++PODFtB7ly5GL pT5x5Vw8U/YvwUY7pFhO/KCn5Dbxzv1XsrfOkXF5uXf6jqy2FtVAK9lqYfv2dzx9Ydl9T1Y9 2WpavC9CUbak9EfiUo+F3i2XBDp8njW6eFu0Gl6waNw0sSj4yZ2VTZI7VllzipV8WKHQHKq7 ZWeTiL1/vI7AvKfJSizFGYmGWsxFxYkAxGX50wYCAAA= 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: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 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: , 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 --- 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>; + }; };