From patchwork Fri Sep 15 09:11:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 112687 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp385761qgf; Fri, 15 Sep 2017 02:11:45 -0700 (PDT) X-Google-Smtp-Source: ADKCNb5B/DVnYRcqybYskVr/HJFkAJWM7aKiND2HMKfhvcqRGhVcdCO+wNdmI0wjhIh5LTRdg4SE X-Received: by 10.98.217.133 with SMTP id b5mr24105740pfl.227.1505466705626; Fri, 15 Sep 2017 02:11:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505466705; cv=none; d=google.com; s=arc-20160816; b=E4fKIVTls3661C40SZ2yt1yKJZCUnyLeWKx3Tqz9wZyKJ8W7DhoFDR1SfBGibrJcJ3 6gYsyMrk+f5+YanXfbN3fBuTWqvTzFvWgXNUlOOQYRB6KQtLfrGvI4U0mDqqV410wBAg 3UQ1twD215cfoqgGfVYpcnML9oY+qZczfsLADHVTUvbqlVqJsnVlCeUx7Ywv6n93LSKc D1h71mT03CHKJKy9nCTuWzPrBo7KAOG46wGwQEpQX5V8f2XQiIT3hHckjSH6wQ/Ng6pV lPm8+cSCnRGkFqIMoxmqwGx6yl+hHZ5875ZdbFA5+9csOL+FhqbjrCCx5z0a3QYIgsSY A+Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=rpzCd82314JM2MaBpl35PBtbFFZzNWfiyEo1HM6uD9E=; b=RvX24rt1TpK8HxTcWa7d+vf/5xfosL3ojzorRFXXd8jvALjMRkEsU0UX4ZWFMyoIO8 ZzeBXIXf4wk+rdmHNOQKVPcRBW/SSp6xc8HCCnoAIyjamq9KXdh/+B7Cp6xXXRs5V5yG 4aNRl2CgOrT3qohOdx6URFldx5RPYC3jQ5sCStJBCdDImijUPXkvgZgi+0d5p6UqFAwW 622OuOhhzqcek108OR0WwiedonnFGdLwYjddtDG2msth4mAlOXiz0UqZOzSRdiRXG6ft CkraGFz0k+so7bsu60N3iA9T8Lu27CozRm2uL51SSBMKXS9ey/+RwYwT7MMCfvlNmJaa kWFA== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o61si374857plb.444.2017.09.15.02.11.45; Fri, 15 Sep 2017 02:11:45 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751316AbdIOJLo (ORCPT + 4 others); Fri, 15 Sep 2017 05:11:44 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:33482 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751248AbdIOJLm (ORCPT ); Fri, 15 Sep 2017 05:11:42 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20170915091141euoutp02e7eed048d98236a8340f46e4ebfee05f~kff0Vwz1z1457914579euoutp02T; Fri, 15 Sep 2017 09:11:41 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170915091140eucas1p17ee23757d73fcef80d7dc7a83dd5c082~kffzo9dDQ2794027940eucas1p1y; Fri, 15 Sep 2017 09:11:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 16.7E.12944.C499BB95; Fri, 15 Sep 2017 10:11:40 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170915091139eucas1p2eb6d2d81ee77ee5a47f1c32f9ccce268~kffy1wWU80219502195eucas1p2F; Fri, 15 Sep 2017 09:11:39 +0000 (GMT) X-AuditID: cbfec7f4-f79ab6d000003290-b1-59bb994c61cf Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 0E.D0.20118.B499BB95; Fri, 15 Sep 2017 10:11:39 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OWB00CXHDJA0530@eusync2.samsung.com>; Fri, 15 Sep 2017 10:11:39 +0100 (BST) 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 Subject: [PATCH 2/5] ARM: dts: exynos: Move HDMI PHY node to exynos5250.dtsi Date: Fri, 15 Sep 2017 11:11:20 +0200 Message-id: <1505466683-32148-3-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1505466683-32148-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrAIsWRmVeSWpSXmKPExsWy7djPc7o+M3dHGhw6K25xa905VouNM9az Wlz5+p7NYtL9CSwWL+5dZLE4f34Du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QMJbredrGB2CICbhJNh2eyghQxC6xh kmht/wxWJCzgIzHl0k+wIhYBVYlTG58xg9i8Ah4SM6fcZoJYJydx8thkVhCbU8BTYvKFBWC2 EFDN/OYpzBMYeRcwMqxiFEktLc5Nzy020itOzC0uzUvXS87P3cQIDK5tx35u2cHY9S74EKMA B6MSD6/AhF2RQqyJZcWVuYcYJTiYlUR4I9t2RwrxpiRWVqUW5ccXleakFh9ilOZgURLn7d2z OlJIID2xJDU7NbUgtQgmy8TBKdXAKJ1+atkf9zdHrstqRz87OLnvldwyhuczVe24tpbUSRSu n+j+W0+gxDpxFpdFws7F7Eempvzfcf35HYHVvje7L5pPuMh+pi5OdMNe8fsG6a4Ga76W5vYc sL/ucU6Q/dh5sfvXNPie3/0X9Dyds9Hi/eV3HQonrD9N3G2gc/565snjb95O//p6ygwlluKM REMt5qLiRAAxt3KZKgIAAA== X-CMS-MailID: 20170915091139eucas1p2eb6d2d81ee77ee5a47f1c32f9ccce268 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-CMS-RootMailID: 20170915091139eucas1p2eb6d2d81ee77ee5a47f1c32f9ccce268 X-RootMTR: 20170915091139eucas1p2eb6d2d81ee77ee5a47f1c32f9ccce268 References: <1505466683-32148-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org All Exynos 5250 SoCs have HDMI PHY connected via dedicated I2C bus (bus number 8), so HDMI PHY should be defined in exynos5250.dtsi instead of duplicating it in every board, which enable HDMI support. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5250-arndale.dts | 8 +------- arch/arm/boot/dts/exynos5250-smdk5250.dts | 6 +----- arch/arm/boot/dts/exynos5250-snow-common.dtsi | 7 +------ arch/arm/boot/dts/exynos5250-spring.dts | 7 +------ arch/arm/boot/dts/exynos5250.dtsi | 6 ++++++ 5 files changed, 10 insertions(+), 24 deletions(-) -- 1.9.1 -- 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/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 18a7f396ac5f..7ef257b75562 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -489,15 +489,9 @@ &i2c_8 { status = "okay"; - + /* used by HDMI PHY */ samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; - samsung,i2c-slave-addr = <0x38>; - - hdmiphy@38 { - compatible = "samsung,exynos4212-hdmiphy"; - reg = <0x38>; - }; }; &i2c_9 { diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 062cba4c2c31..24e5abc9fb9d 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -319,13 +319,9 @@ &i2c_8 { status = "okay"; + /* used by HDMI PHY */ samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; - - hdmiphy@38 { - compatible = "samsung,exynos4212-hdmiphy"; - reg = <0x38>; - }; }; &i2c_9 { diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi index 8788880e459d..077be5355bf9 100644 --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi @@ -264,7 +264,6 @@ hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&hdmi_hpd_irq>; - phy = <&hdmiphy>; ddc = <&i2c_2>; hdmi-en-supply = <&tps65090_fet7>; vdd-supply = <&ldo8_reg>; @@ -514,13 +513,9 @@ &i2c_8 { status = "okay"; + /* used by HDMI PHY */ samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <378000>; - - hdmiphy: hdmiphy@38 { - compatible = "samsung,exynos4212-hdmiphy"; - reg = <0x38>; - }; }; &i2s0 { diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index d53bfcbeb39c..ebf0b2d5b363 100644 --- a/arch/arm/boot/dts/exynos5250-spring.dts +++ b/arch/arm/boot/dts/exynos5250-spring.dts @@ -94,7 +94,6 @@ hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&hdmi_hpd_irq>; - phy = <&hdmiphy>; ddc = <&i2c_2>; hdmi-en-supply = <&ldo8_reg>; vdd-supply = <&ldo8_reg>; @@ -412,13 +411,9 @@ &i2c_8 { status = "okay"; + /* used by HDMI PHY */ samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <378000>; - - hdmiphy: hdmiphy@38 { - compatible = "samsung,exynos4212-hdmiphy"; - reg = <0x38>; - }; }; &i2s0 { diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 8dbeb873e99c..995230685ac8 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -367,6 +367,11 @@ clocks = <&clock CLK_I2C_HDMI>; clock-names = "i2c"; status = "disabled"; + + hdmiphy: hdmiphy@38 { + compatible = "samsung,exynos4212-hdmiphy"; + reg = <0x38>; + }; }; i2c_9: i2c@121D0000 { @@ -687,6 +692,7 @@ clock-names = "hdmi", "sclk_hdmi", "sclk_pixel", "sclk_hdmiphy", "mout_hdmi"; samsung,syscon-phandle = <&pmu_system_controller>; + phy = <&hdmiphy>; }; hdmicec: cec@101B0000 { From patchwork Fri Sep 15 09:11:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 112688 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp385770qgf; Fri, 15 Sep 2017 02:11:46 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6YQy+VyHVqx8l9C3sck8uAb+bsuaKCdzsynPunj/ETgVTTp0pNaX9tRY+KwFruRuQ8vLkc X-Received: by 10.98.74.217 with SMTP id c86mr23876284pfj.225.1505466706458; Fri, 15 Sep 2017 02:11:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505466706; cv=none; d=google.com; s=arc-20160816; b=k6v7j/U28g945GCDdlKRMIN1hEeig8oHgPA8VmeIYI7KAuqQtZVoBNEpEbUkyPI2mh xH1q/9qyibCbHcF26mom6YbmQtLY9e8U67bTX4DtYv/dcVWOfNrMvjLWOM13qmE1vEA8 rnwKq8I3liRw4CqkaOAM6AlIs9urdaCWPBbAUOU2MFj5vVcURFj9YrpqzalKvVOH0HtK jtgU4sZGM2kNFHcrhkGBif4aMY3RyHtFU9APYEJzRuDXTK4GvIkcdadGxuF0RIj8P7u/ 25bYaM9hev4LEWumJcFBHQJQ92HEkjeV0Tw7HXbQUFECgCJk9zOYw7XCoPU3+BvdbT8O dmSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=jSFVdfhWu6yVb4T3Xg/f2LNrfTlbxZ2y1LbhbjDGLcY=; b=q3SH1hd+4SBJpK/yYfvBHrxi8Q3YBuHoQS3BpXulerwO/x6l6KxrzADKXLkIqMM484 cGppgMEVcRozpREShyNFrJBR/Mj9sKUZ9tymeZhNpyFywyIVyU723bqZL56YUbs/dnbd Bl5UX7KaKX4fKOsIiqLBvsuQ4jBEUciHyTs2AOLdVcTSrX89e/fhjA+P5A3A8ZHxd070 /bxCm4w6d3gLwFlcSY5KDpN/k9J6TNVFNlGv1YsEyqkt6IfLnIgqq9AtE39BXEjnZ9kb 9BppzkTuyp2YMxkmWpet3gmQDHoP4A8fDP3GjEaPwBOqcyzhH24QFFN1TjAS0kr0xd2Y Za1g== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o61si374857plb.444.2017.09.15.02.11.46; Fri, 15 Sep 2017 02:11:46 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751317AbdIOJLp (ORCPT + 4 others); Fri, 15 Sep 2017 05:11:45 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:33480 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751171AbdIOJLm (ORCPT ); Fri, 15 Sep 2017 05:11:42 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20170915091141euoutp028e5b0c6b9ed51bfc950b766222bbb8f9~kff0OZWR41457714577euoutp02c; Fri, 15 Sep 2017 09:11:41 +0000 (GMT) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170915091140eucas1p2ebfe58cdcd20358881e4e423a9ae33df~kffz4aR7a0220402204eucas1p2h; Fri, 15 Sep 2017 09:11:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3.samsung.com (EUCPMTA) with SMTP id E0.D9.12867.C499BB95; Fri, 15 Sep 2017 10:11:40 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170915091140eucas1p268cefeea0d564c340ede8ab54788ff6a~kffzOE3p11174011740eucas1p2a; Fri, 15 Sep 2017 09:11:40 +0000 (GMT) X-AuditID: cbfec7f2-f793b6d000003243-27-59bb994ca538 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A0.BF.18832.C499BB95; Fri, 15 Sep 2017 10:11:40 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OWB00CXHDJA0530@eusync2.samsung.com>; Fri, 15 Sep 2017 10:11:40 +0100 (BST) 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 Subject: [PATCH 3/5] ARM: dts: exynos: Cleanup HDMI DCC definitions Date: Fri, 15 Sep 2017 11:11:21 +0200 Message-id: <1505466683-32148-4-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1505466683-32148-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrIIsWRmVeSWpSXmKPExsWy7djPc7o+M3dHGnRuUbe4te4cq8XGGetZ La58fc9mMen+BBaLF/cuslicP7+B3WLG+X1MFmuP3AWyJr9kc+D02LSqk83jfvdxJo++LasY PT5vkgtgieKySUnNySxLLdK3S+DK6F93i6Xgh2rFqw25DYy98l2MnBwSAiYSW/Z+ZYOwxSQu 3FsPZHNxCAksZZS4/+MoC0hCSOAzo0T/LxmYhq1LLjBCFC1jlGieu5kZwmlgkrix9Q8TSBWb gKFE19susLEiAm4STYdnsoIUMQusYZJ4v28hWJGwgLPExLMv2LsYOThYBFQlPnYIg4R5BTwk uo8dZobYJidx8thkVhCbU8BTYvKFBWBzJARmsEnc2rULqshFYsfbdVA/CEu8Or6FHcKWkejs OMgEYfczSjS1akPYMxglzr3lhbCtJQ4fvwi2gFmAT2LStunMIPdICPBKdLQJQZR4SHxuXsgK YTtKLP70ggni4TmMEgem72afwCi9gJFhFaNIamlxbnpqsbFecWJucWleul5yfu4mRmDEnv53 /NMOxq8nrA4xCnAwKvHwKszbFSnEmlhWXJl7iFGCg1lJhDeybXekEG9KYmVValF+fFFpTmrx IUZpDhYlcV7bqLZIIYH0xJLU7NTUgtQimCwTB6dUA+OE5z+FZC94bdW6nuudc/r/Bn5/43uL kr8ELPi/+cN7w6nMvQ6fXV7Pdvacc6Gstq+xp0O0O+Xp/qZzh/2nltpVprxbZhOoELV43prz PQsn1jmVdPcyzN+trvlX+4LgGvu4/Qxnzf27Zr2IdFqy/Z31leRZzrtKjS6VXbOyvy9dk5nK eW+RwyslluKMREMt5qLiRACKrJrl1AIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGLMWRmVeSWpSXmKPExsVy+t/xK7o+M3dHGrxewmVxa905VouNM9az Wlz5+p7NYtL9CSwWL+5dZLE4f34Du8WM8/uYLNYeuQtkTX7J5sDpsWlVJ5vH/e7jTB59W1Yx enzeJBfAEsVlk5Kak1mWWqRvl8CV0b/uFkvBD9WKVxtyGxh75bsYOTkkBEwkti65wAhhi0lc uLeerYuRi0NIYAmjxI2nS9hAEkICTUwSm2+bgthsAoYSXW+7wOIiAm4STYdnsoI0MAusYZJo bf/MDpIQFnCWmHj2BZDNwcEioCrxsUMYJMwr4CHRfewwM8QyOYmTxyazgticAp4Sky8sYIXY 5SExv3kK8wRG3gWMDKsYRVJLi3PTc4sN9YoTc4tL89L1kvNzNzECQ2vbsZ+bdzBe2hh8iFGA g1GJh1dgwq5IIdbEsuLK3EOMEhzMSiK8kW27I4V4UxIrq1KL8uOLSnNSiw8xSnOwKInz9u5Z HSkkkJ5YkpqdmlqQWgSTZeLglGpg5LDQYKl041S2nqH5eK+CsM7/DuuPaR0rjq5du1S2/8eC dfO7/pd/mqvcFGDt0L3z7ZZTj3co/Sm1nl9xLptl7ZTthlPaHCZlekb0zKmZkzXZNSp42+Gu O/Y+eY+/xu3K5/cqVhRlkJ/LN/tnANOqt15V6pFHI/4bbU1esNZw3vN3uZnOdybNUmIpzkg0 1GIuKk4EAKZBomIpAgAA X-CMS-MailID: 20170915091140eucas1p268cefeea0d564c340ede8ab54788ff6a X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-CMS-RootMailID: 20170915091140eucas1p268cefeea0d564c340ede8ab54788ff6a X-RootMTR: 20170915091140eucas1p268cefeea0d564c340ede8ab54788ff6a References: <1505466683-32148-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Commit 2b7681326dc2 ("drm/exynos: hdmi: remove the i2c drivers and use") merged to v3.15 kernel added a required 'ddc' property to Exynos HDMI device tree bindings, which should point to i2c bus used for handling DDC (mainly reading display's EDID information). It has been enough time to convert all boards to use new bindings, but sadly due to copy/paste design the old approach using separate node with 'samsung,exynos4210-hdmiddc' compatible was used also for many new boards. This patch finally converts all boards to the new approach and unifies HDMI DDC definition across all Exynos boards. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5250-arndale.dts | 9 ++------- arch/arm/boot/dts/exynos5250-smdk5250.dts | 7 ++----- arch/arm/boot/dts/exynos5250-snow-common.dtsi | 6 +----- arch/arm/boot/dts/exynos5250-spring.dts | 6 +----- arch/arm/boot/dts/exynos5420-smdk5420.dts | 7 ++----- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 7 ++----- 6 files changed, 10 insertions(+), 32 deletions(-) -- 1.9.1 -- 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/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 7ef257b75562..a380cff466ae 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -152,6 +152,7 @@ }; &hdmi { + ddc = <&i2c_2>; hpd-gpios = <&gpx3 7 GPIO_ACTIVE_LOW>; vdd_osc-supply = <&ldo10_reg>; vdd_pll-supply = <&ldo8_reg>; @@ -455,15 +456,9 @@ &i2c_2 { status = "okay"; - + /* used by HDMI DDC */ samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; - samsung,i2c-slave-addr = <0x50>; - - hdmiddc@50 { - compatible = "samsung,exynos4210-hdmiddc"; - reg = <0x50>; - }; }; &i2c_3 { diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 24e5abc9fb9d..1330ded91445 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -116,6 +116,7 @@ }; &hdmi { + ddc = <&i2c_2>; hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; }; @@ -308,13 +309,9 @@ &i2c_2 { status = "okay"; + /* used by HDMI DDC */ samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; - - hdmiddc@50 { - compatible = "samsung,exynos4210-hdmiddc"; - reg = <0x50>; - }; }; &i2c_8 { diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi index 077be5355bf9..88a8656ca7b3 100644 --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi @@ -449,13 +449,9 @@ &i2c_2 { status = "okay"; + /* used by HDMI DDC */ samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; - - hdmiddc@50 { - compatible = "samsung,exynos4210-hdmiddc"; - reg = <0x50>; - }; }; &i2c_3 { diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index ebf0b2d5b363..b3cc22568033 100644 --- a/arch/arm/boot/dts/exynos5250-spring.dts +++ b/arch/arm/boot/dts/exynos5250-spring.dts @@ -361,13 +361,9 @@ &i2c_2 { status = "okay"; + /* used by HDMI DDC */ samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; - - hdmiddc@50 { - compatible = "samsung,exynos4210-hdmiddc"; - reg = <0x50>; - }; }; &i2c_3 { diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts index 08c8ab173e87..cc44dc60d81e 100644 --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts @@ -130,6 +130,7 @@ &hdmi { status = "okay"; + ddc = <&i2c_2>; hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&hdmi_hpd_irq>; @@ -347,12 +348,8 @@ &i2c_2 { samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; + /* used by HDMI DDC */ status = "okay"; - - hdmiddc@50 { - compatible = "samsung,exynos4210-hdmiddc"; - reg = <0x50>; - }; }; &mmc_0 { diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 4e5cbe8968ed..9409fbceedec 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -277,6 +277,7 @@ &hdmi { status = "okay"; + ddc = <&i2c_2>; hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&hdmi_hpd_irq>; @@ -546,12 +547,8 @@ &i2c_2 { samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; + /* used by HDMI DDC */ status = "okay"; - - hdmiddc@50 { - compatible = "samsung,exynos4210-hdmiddc"; - reg = <0x50>; - }; }; &mmc_0 { From patchwork Fri Sep 15 09:11:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 112690 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp385803qgf; Fri, 15 Sep 2017 02:11:48 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6zyQ/4V0LMkUW1KPyL90ow4jZobdO9IjLhCKeaQEDt/IM0msN49ObJKR7fecN4X8moTF5E X-Received: by 10.99.114.76 with SMTP id c12mr23084881pgn.1.1505466708351; Fri, 15 Sep 2017 02:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505466708; cv=none; d=google.com; s=arc-20160816; b=hwQU+FhcEGPJqlpSZukwYxhV/+u0ikNrlfbDnNXkyiqOAOyzVj8pRjBIjW9FZjzlmO 6huPovPPrkTUSHIJLN7VnjbxcUz2YoU41gpfJGsjZCf0I19QX1BszK1uRb1ZOAsFZhoF 7cnfpQPWB4x2KA7mAoyZHGgm8DOizqH2df9FQQ2ncYWCEydLpXizoWmg/u/jkzyEaypy KD1mXHWy/4WYuFfd2TDyGkwmqX730yIlr9Y4wqP+mWp9KC3xdSvJ9x7MV+ZHeNQK36eF hqSGMNOBESHp2f3N7yy/7CjJwD3zjglh6LMhFJxMzkGcB2+uZdIt7oe7tiXpp0lQuZDb RkfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=m2SaHnom2FuqbXWUCv48Tf2B/KkXRKOKjdhSh0rl4jk=; b=J0mqYfbr13nEONFIZ78l3JlzlDR9XA6bfQ3Fuw1nAg2HB8YOb6/ElF2UQnrI5azqIg 1Z9Afr/huyVyBl/6992wUoAU9dynHokc+Osnw7f/xnmB+iOmQqv0uc383eW3I5Eb6vZh 856PN45t3v/NhJbEWrQSrmZJaIFmJ1CsqCeaDXw8kkFujFMbuwuQ83CsGxRjA6BuJHcM 1Sv3sM+kgTfxFktbKctvhR+Td758hqO1L78JNUTLLFC49C7m0IMhpiL6kkUhAuI06RqS khn90JhxOsBOkn7dULzIVO3awEL+kaBdkiBHfHLMpP7lEJJxm6QmB7sqBAtEOpMYsmTX U//Q== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o61si374857plb.444.2017.09.15.02.11.48; Fri, 15 Sep 2017 02:11:48 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751157AbdIOJLr (ORCPT + 4 others); Fri, 15 Sep 2017 05:11:47 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:33486 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbdIOJLn (ORCPT ); Fri, 15 Sep 2017 05:11:43 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20170915091142euoutp02b85fa3850e9f1b711d3072db6df3f6c2~kff1Gym_u1457614576euoutp02s; Fri, 15 Sep 2017 09:11:42 +0000 (GMT) Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170915091141eucas1p1720773b7c996a6e5a3336376a268fe65~kff0UvjTf2793227932eucas1p1s; Fri, 15 Sep 2017 09:11:41 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges5.samsung.com (EUCPMTA) with SMTP id 36.07.12743.D499BB95; Fri, 15 Sep 2017 10:11:41 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170915091140eucas1p25c1c554f07c2fd0e4326a432ed23f587~kffzoS1150219502195eucas1p2I; Fri, 15 Sep 2017 09:11:40 +0000 (GMT) X-AuditID: cbfec7f5-f79d06d0000031c7-22-59bb994d7794 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 7F.D0.20118.C499BB95; Fri, 15 Sep 2017 10:11:40 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OWB00CXHDJA0530@eusync2.samsung.com>; Fri, 15 Sep 2017 10:11:40 +0100 (BST) 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 Subject: [PATCH 4/5] ARM: dts: exynos: Add status property to Exynos 5250 HDMI and Mixer nodes Date: Fri, 15 Sep 2017 11:11:22 +0200 Message-id: <1505466683-32148-5-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1505466683-32148-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrIIsWRmVeSWpSXmKPExsWy7djP87q+M3dHGkxsZLa4te4cq8XGGetZ La58fc9mMen+BBaLF/cuslicP7+B3WLG+X1MFmuP3AWyJr9kc+D02LSqk83jfvdxJo++LasY PT5vkgtgieKySUnNySxLLdK3S+DK2Pj6MmvBN+mK5Xd2MTYw7hPrYuTkkBAwkWiacZIRwhaT uHBvPVsXIxeHkMBSRolHB0+zQjifGSX2/d8HVMUB1rFgISNEfBmjxPGX/9ghnAYmiRtb/zCB jGITMJToetvFBmKLCLhJNB2eCTaJWWANk8T7fQvBioQFEiR+HbwOVsQioCoxc/o1VhCbV8BD Ys2Oc8wQN8lJnDw2GSzOKeApMfnCArBBEgJz2CQWLjjDClHkIrH2z30WCFt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oD+7o7d0i/qyx4XVsquc7s/qPaJULd2/ssk79SXflzfy u0pEuKYp82s7h4iYSui3bt6++EP5Grbj67x+hbHZTLKW4fDfdeq2ifxkZfnZNzc4TZNWYinO SDTUYi4qTgQAfEPFSyoCAAA= X-CMS-MailID: 20170915091140eucas1p25c1c554f07c2fd0e4326a432ed23f587 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-CMS-RootMailID: 20170915091140eucas1p25c1c554f07c2fd0e4326a432ed23f587 X-RootMTR: 20170915091140eucas1p25c1c554f07c2fd0e4326a432ed23f587 References: <1505466683-32148-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org HDMI support requires some additional off-SoC logic, so HDMI and Mixer devices should be disabled by default in SoC dtsi and enabled then in each board dts. This patch unifies HDMI and Mixer handling with other Exynos SoCs. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5250-arndale.dts | 5 +++++ arch/arm/boot/dts/exynos5250-smdk5250.dts | 5 +++++ arch/arm/boot/dts/exynos5250-snow-common.dtsi | 5 +++++ arch/arm/boot/dts/exynos5250-spring.dts | 5 +++++ arch/arm/boot/dts/exynos5250.dtsi | 4 +++- 5 files changed, 23 insertions(+), 1 deletion(-) -- 1.9.1 -- 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/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index a380cff466ae..0efd678b8251 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -152,6 +152,7 @@ }; &hdmi { + status = "okay"; ddc = <&i2c_2>; hpd-gpios = <&gpx3 7 GPIO_ACTIVE_LOW>; vdd_osc-supply = <&ldo10_reg>; @@ -505,6 +506,10 @@ status = "okay"; }; +&mixer { + status = "okay"; +}; + &mmc_0 { status = "okay"; broken-cd; diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 1330ded91445..e98e62c1216c 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -116,6 +116,7 @@ }; &hdmi { + status = "okay"; ddc = <&i2c_2>; hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; }; @@ -337,6 +338,10 @@ status = "okay"; }; +&mixer { + status = "okay"; +}; + &mmc_0 { status = "okay"; broken-cd; diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi index 88a8656ca7b3..11e6cfdc0f68 100644 --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi @@ -261,6 +261,7 @@ }; &hdmi { + status = "okay"; hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&hdmi_hpd_irq>; @@ -518,6 +519,10 @@ status = "okay"; }; +&mixer { + status = "okay"; +}; + /* eMMC flash */ &mmc_0 { status = "okay"; diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index b3cc22568033..47dbc50546c1 100644 --- a/arch/arm/boot/dts/exynos5250-spring.dts +++ b/arch/arm/boot/dts/exynos5250-spring.dts @@ -91,6 +91,7 @@ }; &hdmi { + status = "okay"; hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&hdmi_hpd_irq>; @@ -416,6 +417,10 @@ status = "okay"; }; +&mixer { + status = "okay"; +}; + &mmc_0 { status = "okay"; broken-cd; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 995230685ac8..f371f929d700 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -693,6 +693,7 @@ "sclk_hdmiphy", "mout_hdmi"; samsung,syscon-phandle = <&pmu_system_controller>; phy = <&hdmiphy>; + status = "disabled"; }; hdmicec: cec@101B0000 { @@ -708,7 +709,7 @@ status = "disabled"; }; - mixer@14450000 { + mixer: mixer@14450000 { compatible = "samsung,exynos5250-mixer"; reg = <0x14450000 0x10000>; power-domains = <&pd_disp1>; @@ -717,6 +718,7 @@ <&clock CLK_SCLK_HDMI>; clock-names = "mixer", "hdmi", "sclk_hdmi"; iommus = <&sysmmu_tv>; + status = "disabled"; }; dp_phy: video-phy { From patchwork Fri Sep 15 09:11:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 112691 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp385813qgf; Fri, 15 Sep 2017 02:11:49 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAQiCEcu4j+OwKNeKyPiTyvn63H1dFLaMhpAcZncyAA7RI7SYqqBPtlEDS44HLKnwiiEifp X-Received: by 10.159.244.24 with SMTP id x24mr5271061plr.434.1505466708954; Fri, 15 Sep 2017 02:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505466708; cv=none; d=google.com; s=arc-20160816; b=daMvmmv5K7SNnEOj5yac9l/aQcgAaS+aDSdiuGwEv1OoleirI0SW2A+entd3CAzFjH llea4i3NZDZLjhEcHV460PQyS2XOxD60FnPhofd1r0vcDcdvsXkDCzJBKceTsuBR2V8y /EKPHnnlLpA7MFb3zAjjCO41cpdvvINRMVZwdbaUyYGTkp1f0jf0IaNwZQTy/TMxhnQJ JeobboKJOAX5Vf+Cn0C5Z8n+r9Khkzb45QjerTYj+XbFZmJUcrrxFjgY6u+f6VoZucnc Oj12ysRXBKzWxXPMqd1wjcVp+xZS0ab5m4c8iinszUv4KwhZ+mnqiF7KU7uOhR/ylzH7 OUBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=EwtBlqgMRBb6MEQkfq1nM6LVf8rmAGPUrEZCUJqEVdI=; b=scekaAPiJXZv+n5fO5QyF+Yrj3kPB5IBxMW8Pv6ePFSBqqn/EYqUMFWJydAvU7qz4R +4z8r8CoNU9PhKD8ORn/ES3u92ZgEaxbj6VVyDuNHfrJ+gkDAs1qvAVbMYoAuxZmHZwM MJQocehiFVyPPsA2f9Iio8XoHI9E8S+py7mh7UOIxT+MkK+mxqEgWhrRLjzeJ7wgWqmA CkIPI2q4Fi+ZIJGJUp+EmWeHZSjNgNQ7fLUDBhn9MnX8FeZAGrchJzJhLrRIAybQYKej I8Pskbf2hVQCBR/8ApeguEpIZIMkTcONwl0FAurmPgqxfhlukn5mtEVP1Y9mYZIQfAV7 j5Cw== ARC-Authentication-Results: i=1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o61si374857plb.444.2017.09.15.02.11.48; Fri, 15 Sep 2017 02:11:48 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751278AbdIOJLs (ORCPT + 4 others); Fri, 15 Sep 2017 05:11:48 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:44227 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751156AbdIOJLo (ORCPT ); Fri, 15 Sep 2017 05:11:44 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20170915091142euoutp01f2809256aacfc6c404fac059ccd403f7~kff1m66Y-1548115481euoutp01d; Fri, 15 Sep 2017 09:11:42 +0000 (GMT) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170915091141eucas1p217e5edef1672557b11a3928850a83288~kff0mmG081171711717eucas1p2a; Fri, 15 Sep 2017 09:11:41 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3.samsung.com (EUCPMTA) with SMTP id 81.D9.12867.D499BB95; Fri, 15 Sep 2017 10:11:41 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170915091141eucas1p2622dd1def1799e6bfde948ff17d497b9~kff0Awc5Z0406804068eucas1p2v; Fri, 15 Sep 2017 09:11:41 +0000 (GMT) X-AuditID: cbfec7f2-f793b6d000003243-28-59bb994d1d3e Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 10.E0.20118.C499BB95; Fri, 15 Sep 2017 10:11:41 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OWB00CXHDJA0530@eusync2.samsung.com>; Fri, 15 Sep 2017 10:11:40 +0100 (BST) 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 Subject: [PATCH 5/5] ARM: dts: exynos: Add status property to Exynos 54xx Mixer nodes Date: Fri, 15 Sep 2017 11:11:23 +0200 Message-id: <1505466683-32148-6-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1505466683-32148-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCIsWRmVeSWpSXmKPExsWy7djPc7q+M3dHGvx7KWlxa905VouNM9az Wlz5+p7NYtL9CSwWL+5dZLE4f34Du8WM8/uYLNYeuQtkTX7J5sDpsWlVJ5vH/e7jTB59W1Yx enzeJBfAEsVlk5Kak1mWWqRvl8CV0bpiI2vBBZGKnjeLGRsYpwt2MXJySAiYSKzp/MYEYYtJ XLi3nq2LkYtDSGApo8Stb7dZIZzPjBJ/z+5hhum4/nYlO0RiGaNE75v/zBBOA5PEja1/wGax CRhKdL3tYgOxRQTcJJoOzwQbxSywhkni/b6FYEXCAuESZ8+uYgexWQRUJZasmAy2glfAQ2LJ 0sXsEOvkJE4em8wKYnMKeEpMvrAAbJCEwAw2ictb57FBFLlILNuxhhXCFpZ4dXwLVLOMxOXJ 3SwQdj+jRFOrNoQ9g1Hi3FteCNta4vDxi2C9zAJ8EpO2TQc6ggMozivR0SYEUeIhsfjZFUYI 21Gie1Y71PtzGCVmPlzAOIFRegEjwyp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G WsxFxYkAVVXiJCsCAAA= X-CMS-MailID: 20170915091141eucas1p2622dd1def1799e6bfde948ff17d497b9 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-CMS-RootMailID: 20170915091141eucas1p2622dd1def1799e6bfde948ff17d497b9 X-RootMTR: 20170915091141eucas1p2622dd1def1799e6bfde948ff17d497b9 References: <1505466683-32148-1-git-send-email-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org HDMI support requires some additional off-SoC logic, so Mixer device (part of HDMI display path) should be disabled by default in SoC dtsi and enabled then in each board dts. This patch unifies Mixer handling with other Exynos SoCs. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5420-arndale-octa.dts | 4 ++++ arch/arm/boot/dts/exynos5420-peach-pit.dts | 4 ++++ arch/arm/boot/dts/exynos5420-smdk5420.dts | 4 ++++ arch/arm/boot/dts/exynos5420.dtsi | 1 + arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 4 ++++ 5 files changed, 17 insertions(+) -- 1.9.1 -- 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/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index ee1bb9b8b366..b0ac10f124e6 100644 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts @@ -360,6 +360,10 @@ status = "okay"; }; +&mixer { + status = "okay"; +}; + &mmc_0 { status = "okay"; broken-cd; diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 683a4cfb4a23..38af8769711c 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -696,6 +696,10 @@ status = "okay"; }; +&mixer { + status = "okay"; +}; + /* eMMC flash */ &mmc_0 { status = "okay"; diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts index cc44dc60d81e..310d8637ce9f 100644 --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts @@ -352,6 +352,10 @@ status = "okay"; }; +&mixer { + status = "okay"; +}; + &mmc_0 { status = "okay"; broken-cd; diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 02d2f898efa6..7a8da011512d 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -646,6 +646,7 @@ clock-names = "mixer", "hdmi", "sclk_hdmi"; power-domains = <&disp_pd>; iommus = <&sysmmu_tv>; + status = "disabled"; }; rotator: rotator@11C00000 { diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 9409fbceedec..47d03b3d7a54 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -551,6 +551,10 @@ status = "okay"; }; +&mixer { + status = "okay"; +}; + &mmc_0 { status = "okay"; mmc-pwrseq = <&emmc_pwrseq>;