[RFC PATCH 05/12] dt: panel: Add property "te-polarity"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



te-polarity indicates the polarity of panel's TE(Tearing Effect) signal.
Normally the TE pin is connected to the host SoC. The display
controller will send a new frame to panel when the TE signal is
triggered.

Signed-off-by: Mark Zhang <markz@xxxxxxxxxx>
---
 Documentation/devicetree/bindings/panel/sharp,lq101r1sx01.txt | 2 ++
 arch/arm/boot/dts/tegra114-dalmore.dts                        | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/panel/sharp,lq101r1sx01.txt b/Documentation/devicetree/bindings/panel/sharp,lq101r1sx01.txt
index f522bb8e47e1..680ebec9a927 100644
--- a/Documentation/devicetree/bindings/panel/sharp,lq101r1sx01.txt
+++ b/Documentation/devicetree/bindings/panel/sharp,lq101r1sx01.txt
@@ -23,6 +23,7 @@ Required properties (for DSI-LINK1 only):
 - link2: phandle to the DSI peripheral on the secondary link. Note that the
   presence of this property marks the containing node as DSI-LINK1.
 - power-supply: phandle of the regulator that provides the supply voltage
+- te-polarity: indicates the TE(Tearing Effect) polarity. 0: Low, 1: High.
 
 Optional properties (for DSI-LINK1 only):
 - backlight: phandle of the backlight device attached to the panel
@@ -38,6 +39,7 @@ Example:
 
 			power-supply = <...>;
 			backlight = <...>;
+			te-polarity = <0>;
 		};
 	};
 
diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 8b7aa0dcdc6e..fdb1cc4063a9 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -47,6 +47,8 @@
 
 				power-supply = <&avdd_lcd_reg>;
 				backlight = <&backlight>;
+
+				te-polarity = <0>; /* TE_POLARITY_LOW */
 			};
 		};
 	};
-- 
2.1.4

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux