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+X1MF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f/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 {