From patchwork Tue Jul 30 11:19:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vikas C Sajjan X-Patchwork-Id: 18663 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 054FF248E6 for ; Tue, 30 Jul 2013 11:20:21 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id m15sf2216276qcq.8 for ; Tue, 30 Jul 2013 04:20:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=vqHYRPDQVsizhtGiRITNKCR3Z4tNDR+eM4J0tS1WXgs=; b=HNCJUzRd/92YC8UfOjjtWMn6QGhgL0xMuvX8gqo1mPikyV+d6S6iekwJ1nLF3ey2oh tdVZ1gW3fhgy3yBsGJo8Hhuw1YmQr7VcQxtmYOubLQNG2QF5c3xa9DRj7ZVaTYLkjouq ClzoXTbhyAnonJjw1xbtfIFXvQN7QXWuTQSqDUMdhT/A6PO00KOsvKWIsftwQxWT0sZZ x18SThIcvJg2pbUwPDiraMuySWfYcPW9xqbac7PDE2jjj+nVWzq7kGw4gVS2xkeu6wwB eUYT467lq0/65OgxgO4MNMB+kMZsd/NZidQf3KPqxErQmlhfzsASvB61cMzZvDfWZ+79 hwfA== X-Received: by 10.224.163.14 with SMTP id y14mr70200396qax.3.1375183220836; Tue, 30 Jul 2013 04:20:20 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.49.226 with SMTP id x2ls144612qen.12.gmail; Tue, 30 Jul 2013 04:20:20 -0700 (PDT) X-Received: by 10.221.44.136 with SMTP id ug8mr9945449vcb.13.1375183220719; Tue, 30 Jul 2013 04:20:20 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id zt2si18652987vec.112.2013.07.30.04.20.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Jul 2013 04:20:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id 15so1190804vea.1 for ; Tue, 30 Jul 2013 04:20:20 -0700 (PDT) X-Received: by 10.220.198.133 with SMTP id eo5mr9946755vcb.24.1375183220614; Tue, 30 Jul 2013 04:20:20 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp170209vcb; Tue, 30 Jul 2013 04:20:20 -0700 (PDT) X-Received: by 10.68.20.200 with SMTP id p8mr24975838pbe.122.1375183219393; Tue, 30 Jul 2013 04:20:19 -0700 (PDT) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx.google.com with ESMTPS id i3si16905586pac.306.2013.07.30.04.20.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Jul 2013 04:20:19 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of vikas.sajjan@linaro.org) client-ip=209.85.192.169; Received: by mail-pd0-f169.google.com with SMTP id y11so1095810pdj.14 for ; Tue, 30 Jul 2013 04:20:19 -0700 (PDT) X-Received: by 10.68.179.225 with SMTP id dj1mr72246429pbc.193.1375183218801; Tue, 30 Jul 2013 04:20:18 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id t9sm24619204pba.46.2013.07.30.04.20.13 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Jul 2013 04:20:17 -0700 (PDT) From: Vikas Sajjan To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, t.figa@samsung.com, devicetree@vger.kernel.org, jg1.han@samsung.com, inki.dae@samsung.com, ajaynumb@gmail.com, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH v2 5/7] ARM: dts: Update DP controller DT Node for Exynos5 based SoCs Date: Tue, 30 Jul 2013 16:49:36 +0530 Message-Id: <1375183178-8201-6-git-send-email-vikas.sajjan@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1375183178-8201-1-git-send-email-vikas.sajjan@linaro.org> References: <1375183178-8201-1-git-send-email-vikas.sajjan@linaro.org> X-Gm-Message-State: ALoCoQkux9DEI8Gi70La/UldOtPAkvINh8VWLzCmAUkGN1blHGC2GDiAYZOj/+aJJStBHTCFJkIv X-Original-Sender: vikas.sajjan@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Moves the properties of DP controller to exynos5.dtsi which are common across exynos5 SoCs like Exynos5250 and Exynos5420. The PHY DP Node is based on Jingoo Han's patch at https://patchwork.linuxtv.org/patch/19189/ Signed-off-by: Vikas Sajjan --- arch/arm/boot/dts/exynos5.dtsi | 11 +++++++++++ arch/arm/boot/dts/exynos5250-arndale.dts | 3 ++- arch/arm/boot/dts/exynos5250-smdk5250.dts | 3 ++- arch/arm/boot/dts/exynos5250.dtsi | 21 +++++++++------------ 4 files changed, 24 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index d464b6c..213a2d8 100644 --- a/arch/arm/boot/dts/exynos5.dtsi +++ b/arch/arm/boot/dts/exynos5.dtsi @@ -118,4 +118,15 @@ status = "disabled"; }; + dp-controller@145b0000 { + compatible = "samsung,exynos5-dp"; + reg = <0x145b0000 0x1000>; + interrupts = <10 3>; + interrupt-parent = <&combiner>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + }; diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 76825ef..ce74400 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -509,13 +509,14 @@ }; }; - dp-controller { + dp-controller@145b0000 { samsung,color-space = <0>; samsung,dynamic-range = <0>; samsung,ycbcr-coeff = <0>; samsung,color-depth = <1>; samsung,link-rate = <0x0a>; samsung,lane-count = <4>; + status = "okay"; }; fimd: fimd@14400000 { diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index d176dbb..f9ab99c 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -250,7 +250,7 @@ samsung,vbus-gpio = <&gpx2 6 0>; }; - dp-controller { + dp-controller@145b0000 { samsung,color-space = <0>; samsung,dynamic-range = <0>; samsung,ycbcr-coeff = <0>; @@ -260,6 +260,7 @@ pinctrl-names = "default"; pinctrl-0 = <&dp_hpd>; + status = "okay"; }; fimd@14400000 { diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 238bdb2..1c017dc 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -614,20 +614,17 @@ interrupts = <0 94 0>; }; - dp-controller { - compatible = "samsung,exynos5-dp"; - reg = <0x145b0000 0x1000>; - interrupts = <10 3>; - interrupt-parent = <&combiner>; + dp_phy: video-phy@10040720 { + compatible = "samsung,exynos5250-dp-video-phy"; + reg = <0x10040720 4>; + #phy-cells = <0>; + }; + + dp-controller@145b0000 { clocks = <&clock 342>; clock-names = "dp"; - #address-cells = <1>; - #size-cells = <0>; - - dptx-phy { - reg = <0x10040720>; - samsung,enable-mask = <1>; - }; + phys = <&dp_phy>; + phy-names = "dp"; }; fimd@14400000 {