linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: [PATCH 05/10] ARM: tegra: Add Tegra114 DSI support
Date: Thu, 19 Dec 2013 16:59:29 +0100	[thread overview]
Message-ID: <1387468774-14216-6-git-send-email-treding@nvidia.com> (raw)
In-Reply-To: <1387468774-14216-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Add device tree nodes for the DSI controllers found on Tegra114 SoCs.

Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
Changes in v4:
- add reset and reset-names properties

Changes in v3:
- add #address-cells and #size-cells properties for DSI bus
- update for revised MIPI calibration bindings
- add low-power clocks

Changes in v2:
- use a comment to describe which pads need calibration

 arch/arm/boot/dts/tegra114.dtsi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi
index 65e34e7fe6f2..28d2eea46b52 100644
--- a/arch/arm/boot/dts/tegra114.dtsi
+++ b/arch/arm/boot/dts/tegra114.dtsi
@@ -71,6 +71,38 @@
 			reset-names = "hdmi";
 			status = "disabled";
 		};
+
+		dsi@54300000 {
+			compatible = "nvidia,tegra114-dsi";
+			reg = <0x54300000 0x00040000>;
+			clocks = <&tegra_car TEGRA114_CLK_DSIA>,
+				 <&tegra_car TEGRA114_CLK_DSIALP>,
+				 <&tegra_car TEGRA114_CLK_PLL_D_OUT0>;
+			clock-names = "dsi", "lp", "parent";
+			resets = <&tegra_car 48>;
+			reset-names = "dsi";
+			nvidia,mipi-calibrate = <&mipi 0x060>; /* DSIA & DSIB pads */
+			status = "disabled";
+
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		dsi@54400000 {
+			compatible = "nvidia,tegra114-dsi";
+			reg = <0x54400000 0x00040000>;
+			clocks = <&tegra_car TEGRA114_CLK_DSIB>,
+				 <&tegra_car TEGRA114_CLK_DSIBLP>,
+				 <&tegra_car TEGRA114_CLK_PLL_D2_OUT0>;
+			clock-names = "dsi", "lp", "parent";
+			resets = <&tegra_car 82>;
+			reset-names = "dsi";
+			nvidia,mipi-calibrate = <&mipi 0x180>; /* DSIC & DSID pads */
+			status = "disabled";
+
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
 	};
 
 	gic: interrupt-controller@50041000 {
-- 
1.8.4.2

  parent reply	other threads:[~2013-12-19 15:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-19 15:59 [PATCH 00/10] ARM: tegra: DSI and panel support Thierry Reding
     [not found] ` <1387468774-14216-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 15:59   ` [PATCH 01/10] ARM: tegra: Enable LVDS on Harmony Thierry Reding
2013-12-19 15:59   ` [PATCH 02/10] ARM: tegra: Enable LVDS on Cardhu Thierry Reding
2013-12-19 15:59   ` [PATCH 03/10] ARM: tegra: Add MIPI calibration DT entries for Tegra114 Thierry Reding
     [not found]     ` <1387468774-14216-4-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-20  0:11       ` Stephen Warren
     [not found]         ` <52B38B14.8080605-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 11:56           ` Thierry Reding
2013-12-19 15:59   ` [PATCH 04/10] ARM: tegra: Add host1x, DC and HDMI to Tegra114 device tree Thierry Reding
2013-12-19 15:59   ` Thierry Reding [this message]
     [not found]     ` <1387468774-14216-6-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-12-19 19:57       ` [PATCH 05/10] ARM: tegra: Add Tegra114 DSI support Stephen Warren
     [not found]         ` <52B34FC2.5010409-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 11:54           ` Thierry Reding
2013-12-19 15:59   ` [PATCH 06/10] ARM: tegra: Add Tegra114 gr2d support Thierry Reding
2013-12-19 15:59   ` [PATCH 07/10] ARM: tegra: Add Tegra114 gr3d support Thierry Reding
2013-12-19 15:59   ` [PATCH 08/10] ARM: tegra: Enable DSI support on Dalmore Thierry Reding
2013-12-19 15:59   ` [PATCH 09/10] ARM: tegra: Enable HDMI " Thierry Reding
2013-12-19 15:59   ` [PATCH 10/10] ARM: tegra: Enable DRM panel support Thierry Reding
2013-12-19 20:12   ` [PATCH 00/10] ARM: tegra: DSI and " Stephen Warren
     [not found]     ` <52B35346.1070202-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-12-20 10:16       ` Marc Dietrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387468774-14216-6-git-send-email-treding@nvidia.com \
    --to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).