This patch adds panel support for the Toshiba AC100
Scheduled for 3.15.
---
 arm-tegra-paz00-panel-dts.patch |   96 +++++++++++++++++++++++++++++++++++++++
 kernel.spec                     |    5 ++
 2 files changed, 101 insertions(+), 0 deletions(-)
 create mode 100644 arm-tegra-paz00-panel-dts.patch

diff --git a/arm-tegra-paz00-panel-dts.patch b/arm-tegra-paz00-panel-dts.patch
new file mode 100644
index 0000000..77a6cc2
--- /dev/null
+++ b/arm-tegra-paz00-panel-dts.patch
@@ -0,0 +1,96 @@
+commit 92183edf46d3811c566bb7e6ac2c31d5987a1883
+Author: Marc Dietrich <[email protected]>
+Date:   Sat Dec 21 21:38:13 2013 +0100
+
+    ARM: tegra: paz00: Add LVDS support to device tree
+    
+    Add backlight and panel nodes for the PAZ00 TFT LCD panel.
+    
+    Signed-off-by: Marc Dietrich <[email protected]>
+
+diff --git a/arch/arm/boot/dts/tegra20-paz00.dts 
b/arch/arm/boot/dts/tegra20-paz00.dts
+index c7cd8e6..679f47b 100644
+--- a/arch/arm/boot/dts/tegra20-paz00.dts
++++ b/arch/arm/boot/dts/tegra20-paz00.dts
+@@ -17,6 +17,15 @@
+       };
+ 
+       host1x@50000000 {
++              dc@54200000 {
++                      nvidia,head = <0>;
++                      rgb {
++                              status = "okay";
++
++                              nvidia,panel = <&panel>;
++                      };
++              };
++
+               hdmi@54280000 {
+                       status = "okay";
+ 
+@@ -257,7 +266,11 @@
+               status = "okay";
+       };
+ 
+-      i2c@7000c000 {
++      pwm: pwm@7000a000 {
++              status = "okay";
++      };
++
++      lvds_ddc: i2c@7000c000 {
+               status = "okay";
+               clock-frequency = <400000>;
+ 
+@@ -475,6 +488,18 @@
+               non-removable;
+       };
+ 
++      backlight: backlight {
++              compatible = "pwm-backlight";
++
++              enable-gpios = <&gpio TEGRA_GPIO(U, 4) GPIO_ACTIVE_HIGH>;
++              pwms = <&pwm 0 5000000>;
++
++              brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 
192 208 224 240 255>;
++              default-brightness-level = <10>;
++
++              backlight-boot-off;
++      };
++
+       clocks {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+@@ -509,6 +534,16 @@
+               };
+       };
+ 
++      panel: panel {
++              compatible = "samsung,ltn101nt05", "simple-panel";
++
++              ddc-i2c-bus = <&lvds_ddc>;
++              power-supply = <&vdd_pnl_reg>;
++              enable-gpios = <&gpio TEGRA_GPIO(M, 6) GPIO_ACTIVE_HIGH>;
++
++              backlight = <&backlight>;
++      };
++
+       regulators {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+@@ -522,6 +557,16 @@
+                       regulator-max-microvolt = <5000000>;
+                       regulator-always-on;
+               };
++
++              vdd_pnl_reg: regulator@1 {
++                      compatible = "regulator-fixed";
++                      reg = <1>;
++                      regulator-name = "+3VS,vdd_pnl";
++                      regulator-min-microvolt = <3300000>;
++                      regulator-max-microvolt = <3300000>;
++                      gpio = <&gpio TEGRA_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
++                      enable-active-high;
++              };
+       };
+ 
+       sound {
diff --git a/kernel.spec b/kernel.spec
index 9511a4b..ae2db12 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -598,6 +598,10 @@ Patch21010: arm-omap-load-tfp410.patch
 # ARM tegra
 Patch21020: arm-tegra-usb-no-reset-linux33.patch
 
+# Add panel support for tegra paz00
+# Backported from linux-next scheduled for 3.15
+Patch21021: arm-tegra-paz00-panel-dts.patch
+
 # ARM i.MX6
 # http://www.spinics.net/lists/devicetree/msg08276.html
 Patch21030: arm-imx6-utilite.patch
@@ -1160,6 +1164,7 @@ ApplyPatch arm-lpae-ax88796.patch
 ApplyPatch arm-sound-soc-samsung-dma-avoid-another-64bit-division.patch
 ApplyPatch arm-omap-load-tfp410.patch
 ApplyPatch arm-tegra-usb-no-reset-linux33.patch
+ApplyPatch arm-tegra-paz00-panel-dts.patch
 ApplyPatch arm-imx6-utilite.patch
 
 #
-- 
1.7.2.1

_______________________________________________
kernel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/kernel

Reply via email to