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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jBJtLZ/ZgdJCAskSEy+tAhsKouAqsTM6ddYQWxeAQ+JNTvOMUNsk5M4eWwyWJxTwFNi8oUF rBDLPCTmN09hnsDIu4CRYRWjSGppcW56brGRXnFibnFpXrpecn7uJkZgcG079nPLDsaud8GH GAU4GJV4eAUm7IoUYk0sK67MPcQowcGsJMIb2bY7Uog3JbGyKrUoP76oNCe1+BCjNAeLkjhv 757VkUIC6YklqdmpqQWpRTBZJg5OqQbGptnn5+iaTnU1OcbacsrTUmTdBgU+ru7VKosf5rXG XGxeNeP8r5kBU4w4jX6q95nuWF9QoD+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 {