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
Subject: [PATCH 1/9] ARM: tegra: Enable LVDS and HDMI on Cardhu
Date: Mon, 7 Oct 2013 13:48:40 +0200 [thread overview]
Message-ID: <1381146528-18069-2-git-send-email-treding@nvidia.com> (raw)
In-Reply-To: <1381146528-18069-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Add backlight and panel nodes for the Cardhu 10.1" WXGA TFT LCD panel
and enable the HDMI output and hotplug detection.
Note that HDMI doesn't work for some reason and I haven't found out why
yet. I remember someone reporting that it worked at some point in time
using this set of nodes but that no longer seems to be the case. Running
the same kernel on Beaver has working HDMI, though.
Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/tegra30-cardhu.dtsi | 52 +++++++++++++++++++++++++++++++++--
1 file changed, 50 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi
index e19dbf2..2364673 100644
--- a/arch/arm/boot/dts/tegra30-cardhu.dtsi
+++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi
@@ -51,6 +51,27 @@
};
};
+ host1x {
+ dc@54200000 {
+ rgb {
+ status = "okay";
+
+ nvidia,panel = <&panel>;
+ };
+ };
+
+ hdmi {
+ status = "okay";
+
+ vdd-supply = <&sys_3v3_reg>;
+ pll-supply = <&vio_reg>;
+
+ nvidia,hpd-gpio =
+ <&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
+ nvidia,ddc-i2c-bus = <&hdmiddc>;
+ };
+ };
+
pinmux {
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
@@ -147,7 +168,11 @@
status = "okay";
};
- i2c@7000c000 {
+ pwm {
+ status = "okay";
+ };
+
+ panelddc: i2c@7000c000 {
status = "okay";
clock-frequency = <100000>;
};
@@ -170,7 +195,7 @@
};
};
- i2c@7000c700 {
+ hdmiddc: i2c@7000c700 {
status = "okay";
clock-frequency = <100000>;
};
@@ -366,6 +391,19 @@
status = "okay";
};
+ backlight: backlight {
+ compatible = "pwm-backlight";
+
+ enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
+ power-supply = <&vdd_bl_reg>;
+ pwms = <&pwm 0 5000000>;
+
+ brightness-levels = <0 4 8 16 32 64 128 255>;
+ default-brightness-level = <6>;
+
+ backlight-boot-off;
+ };
+
clocks {
compatible = "simple-bus";
#address-cells = <1>;
@@ -379,6 +417,16 @@
};
};
+ panel: panel {
+ compatible = "chunghwa,claa101wb01";
+ ddc-i2c-bus = <&panelddc>;
+
+ power-supply = <&vdd_pnl1_reg>;
+ enable-gpios = <&gpio TEGRA_GPIO(L, 2) GPIO_ACTIVE_HIGH>;
+
+ backlight = <&backlight>;
+ };
+
regulators {
compatible = "simple-bus";
#address-cells = <1>;
--
1.8.4
next prev parent reply other threads:[~2013-10-07 11:48 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-07 11:48 [PATCH 0/9] ARM: tegra: Enable DSI and panel support Thierry Reding
[not found] ` <1381146528-18069-1-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-07 11:48 ` Thierry Reding [this message]
2013-10-07 11:48 ` [PATCH 2/9] ARM: tegra: Enable LVDS output on Harmony Thierry Reding
[not found] ` <1381146528-18069-3-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-07 21:14 ` Stephen Warren
[not found] ` <52532432.6040101-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-08 9:55 ` Thierry Reding
2013-10-07 11:48 ` [PATCH 3/9] ARM: tegra: Add MIPI calibration DT entries for Tegra114 Thierry Reding
[not found] ` <1381146528-18069-4-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-07 21:16 ` Stephen Warren
[not found] ` <5253249B.6010008-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-08 10:05 ` Thierry Reding
[not found] ` <20131008100529.GE19633-AwZRO8vwLAwmlAP/+Wk3EA@public.gmane.org>
2013-10-08 16:17 ` Stephen Warren
2013-10-07 11:48 ` [PATCH 4/9] ARM: tegra: Add host1x, DC and HDMI to Tegra114 device tree Thierry Reding
[not found] ` <1381146528-18069-5-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-07 21:19 ` Stephen Warren
[not found] ` <52532546.1010506-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-08 11:04 ` Thierry Reding
2013-10-07 11:48 ` [PATCH 5/9] ARM: tegra: Add Tegra114 DSI support Thierry Reding
[not found] ` <1381146528-18069-6-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-07 21:21 ` Stephen Warren
[not found] ` <525325C2.10107-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-08 11:07 ` Thierry Reding
2013-10-07 11:48 ` [PATCH 6/9] ARM: tegra: Add Tegra114 gr2d support Thierry Reding
2013-10-07 11:48 ` [PATCH 7/9] ARM: tegra: Enable DSI support on Dalmore Thierry Reding
[not found] ` <1381146528-18069-8-git-send-email-treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-10-07 21:25 ` Stephen Warren
[not found] ` <525326E0.7080703-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-10-08 11:22 ` Thierry Reding
2013-10-07 11:48 ` [PATCH 8/9] ARM: tegra: Enable HDMI " Thierry Reding
2013-10-07 11:48 ` [PATCH 9/9] ARM: tegra: Enable DRM panel support Thierry Reding
2013-10-07 21:27 ` [PATCH 0/9] ARM: tegra: Enable DSI and " Stephen Warren
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=1381146528-18069-2-git-send-email-treding@nvidia.com \
--to=thierry.reding-re5jqeeqqe8avxtiumwx3w@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