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 {