From patchwork Fri Nov 13 13:29:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 56515 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp1037983lbb; Fri, 13 Nov 2015 05:30:51 -0800 (PST) X-Received: by 10.68.87.227 with SMTP id bb3mr32230842pbb.160.1447421450905; Fri, 13 Nov 2015 05:30:50 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ah5si27503954pbd.102.2015.11.13.05.30.50; Fri, 13 Nov 2015 05:30:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754579AbbKMNat (ORCPT + 4 others); Fri, 13 Nov 2015 08:30:49 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:47862 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753392AbbKMNas (ORCPT ); Fri, 13 Nov 2015 08:30:48 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NXR00L4X9JABW30@mailout3.w1.samsung.com> for linux-samsung-soc@vger.kernel.org; Fri, 13 Nov 2015 13:30:46 +0000 (GMT) X-AuditID: cbfec7f5-f794b6d000001495-4c-5645e6052184 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 05.87.05269.506E5465; Fri, 13 Nov 2015 13:30:45 +0000 (GMT) Received: from amdc1339.digital.local ([106.116.147.30]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NXR007K99J5BR00@eusync3.samsung.com>; Fri, 13 Nov 2015 13:30:45 +0000 (GMT) From: Marek Szyprowski To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Inki Dae , Joonyoung Shim , Seung-Woo Kim , Andrzej Hajda , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Tobias Jakobi , Gustavo Padovan , Javier Martinez Canillas Subject: [PATCH v2 1/4] ARM: dts: exynos4: add rotator nodes Date: Fri, 13 Nov 2015 14:29:43 +0100 Message-id: <1447421386-8084-1-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.2 In-reply-to: <5645A0C5.3090006@samsung.com> References: <5645A0C5.3090006@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRmVeSWpSXmKPExsVy+t/xq7qsz1zDDP4+sLa4te4cq8XGGetZ La58fc9msfPBLnaLSfcnsFi8ebuGyeLFvYssFq9fGFrMOL+PyWLtkbvsFjMmv2SzaFv9gdVi 1a4/jA68Hjtn3WX3uN99nMnj3zF2jy39QN7OSXuZPPq2rGL0+LxJLoA9issmJTUnsyy1SN8u gSvj6sf9bAWXeSt2Hd3M1MC4g7uLkZNDQsBE4t69HhYIW0ziwr31bF2MXBxCAksZJeY++coI 4TQxSRx62coEUsUmYCjR9baLDcQWEXCTaDo8kxXEZhY4zCxxeGodiC0sYCNx6eMesBoWAVWJ D7/esoPYvALuEjveXGOE2CYn8f/lCrCZnALaEvNub2EGsYUEtCR+XHnHOIGRdwEjwypG0dTS 5ILipPRcI73ixNzi0rx0veT83E2MkBD9uoNx6TGrQ4wCHIxKPLwJz1zChFgTy4orcw8xSnAw K4nw/nrsGibEm5JYWZValB9fVJqTWnyIUZqDRUmcd+au9yFCAumJJanZqakFqUUwWSYOTqkG RuO3a2QOzFA9IDtNQ5rBTGv21ZAJ87NL1y9cWzY/Y9Xm5lkWzzk4Cv4a1zfOdDH8MLMqvDlz 54O9NTo3+GU3nvc2cp6e3bh3V5zneTXWCdP22xziOfrELf6XyoOC91/59bTthI2znn6vCrtt YubY/iS7deoiOcm50msXHspyvOJ9hHFdWFSQlhJLcUaioRZzUXEiAGlceLRNAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org This patch adds device node for Rotator device to Exynos 4210 and 4x12 device tree files. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4.dtsi | 9 +++++++++ arch/arm/boot/dts/exynos4210.dtsi | 4 ++++ arch/arm/boot/dts/exynos4x12.dtsi | 4 ++++ 3 files changed, 17 insertions(+) -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 2f31f77..3e01d4d 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -718,6 +718,15 @@ iommus = <&sysmmu_jpeg>; }; + rotator: rotator@12810000 { + compatible = "samsung,exynos4210-rotator"; + reg = <0x12810000 0x64>; + interrupts = <0 83 0>; + clocks = <&clock CLK_ROTATOR>; + clock-names = "rotator"; + iommus = <&sysmmu_rotator>; + }; + hdmi: hdmi@12D00000 { compatible = "samsung,exynos4210-hdmi"; reg = <0x12D00000 0x70000>; diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 3e5ba66..e3048ae 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -279,3 +279,7 @@ <&clock CLK_OUT_CPU>, <&clock CLK_XXTI>, <&clock CLK_XUSBXTI>; #clock-cells = <1>; }; + +&rotator { + power-domains = <&pd_lcd0>; +}; diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi index b77dac61..148b47a 100644 --- a/arch/arm/boot/dts/exynos4x12.dtsi +++ b/arch/arm/boot/dts/exynos4x12.dtsi @@ -339,6 +339,10 @@ compatible = "samsung,exynos4212-jpeg"; }; +&rotator { + compatible = "samsung,exynos4212-rotator"; +}; + &mixer { compatible = "samsung,exynos4212-mixer"; clock-names = "mixer", "hdmi", "sclk_hdmi", "vp";