Skip to contentSkip to conversation

dt-bindings: Add jdi lt070me05000 panel bindings

PATCH Applied Vinay Simha BN 2 participants 3 messages Sep 8, 2016 – Sep 16, 2016

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 dt-bindings: Add jdi lt070me05000 panel bindings

Add documentation for lt070me05000 panel

Cc Archit Taneja <[email protected]>
Cc John Stultz <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sumit Semwal <[email protected]>

---
v2:
* incorporated rob herring and thierry reviews gpio to gpios, gpio to regulator using fixed regulators and pwm backlight is removed, since it is controlled by dcs commands

v3:
* incorporated thierry reviews
- Added gpio polarity details for reset-gpios
- proper naming conventions and sequence wrt panel datasheet (vddp-supply, iovcc-supply,
enable-gpios, reset-gpios, dcdc-en-gpios)
v4:
* pinctrl-names, pinctrl-0 removed, not required for reset-gpios

---
 .../bindings/display/panel/jdi,lt070me05000.txt    | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt
Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt new file +31 -0
new file mode 100644
index 0000000..4989c91d
@@ -0,0 +1,31 @@
+JDI model LT070ME05000 1200x1920 7" DSI Panel
+
+Required properties:
+- compatible: should be "jdi,lt070me05000"
+- vddp-supply: phandle of the regulator that provides the supply voltage
+  Power IC supply (3-5V)
+- iovcc-supply: phandle of the regulator that provides the supply voltage
+  IOVCC , power supply for LCM (1.8V)
+- enable-gpios: phandle of gpio for enable line
+  LED_EN, LED backlight enable, High active
+- reset-gpios: phandle of gpio for reset line
+  This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names
+  XRES, Reset, Low active
+- dcdc-en-gpios: phandle of the gpio for power ic line
+  Power IC supply enable, High active
+
+Example:
+
+	dsi0: qcom,mdss_dsi@4700000 {
+		panel@0 {
+			compatible = "jdi,lt070me05000";
+			reg = <0>;
+
+			vddp-supply = <&pm8921_l17>;
+			iovcc-supply = <&pm8921_lvs7>;
+
+			enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
+			reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
+			dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
+		};
+	};
Signature · 6 lines
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

Hi Tierry,

Could you please review the patch and integrate?

Quoted 75 lines · Vinay Simha BN

Add documentation for lt070me05000 panel

Cc Archit Taneja <[email protected]>
Cc John Stultz <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sumit Semwal <[email protected]>

---
v2:
* incorporated rob herring and thierry reviews gpio to gpios, gpio to regulator using fixed regulators and pwm backlight is removed, since it is controlled by dcs commands

v3:
* incorporated thierry reviews
- Added gpio polarity details for reset-gpios
- proper naming conventions and sequence wrt panel datasheet (vddp-supply, iovcc-supply,
enable-gpios, reset-gpios, dcdc-en-gpios)
v4:
* pinctrl-names, pinctrl-0 removed, not required for reset-gpios

---
 .../bindings/display/panel/jdi,lt070me05000.txt    | 31
++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/jdi,

lt070me05000.txt

Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt new file +12 -0
new file mode 100644
index 0000000..4989c91d
@@ -0,0 +1,31 @@
+JDI model LT070ME05000 1200x1920 7" DSI Panel
+
+Required properties:
+- compatible: should be "jdi,lt070me05000"
+- vddp-supply: phandle of the regulator that provides the supply voltage
+  Power IC supply (3-5V)
+- iovcc-supply: phandle of the regulator that provides the supply voltage
+  IOVCC , power supply for LCM (1.8V)
+- enable-gpios: phandle of gpio for enable line
+  LED_EN, LED backlight enable, High active
+- reset-gpios: phandle of gpio for reset line
+  This should be 8mA, gpio can be configured using mux, pinctrl,

pinctrl-names

Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt new file +19 -1
+  XRES, Reset, Low active
+- dcdc-en-gpios: phandle of the gpio for power ic line
+  Power IC supply enable, High active
+
+Example:
+
+       dsi0: qcom,mdss_dsi@4700000 {
+               panel@0 {
+                       compatible = "jdi,lt070me05000";
+                       reg = <0>;
+
+                       vddp-supply = <&pm8921_l17>;
+                       iovcc-supply = <&pm8921_lvs7>;
+
+                       enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
+                       reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
+                       dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
+               };
+       };
--

2.1.2

Signature · 2 lines
regards,
vinaysimha

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to Vinay Simha BN
Quoted 25 lines · Vinay Simha BN

Add documentation for lt070me05000 panel

Cc Archit Taneja <[email protected]>
Cc John Stultz <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sumit Semwal <[email protected]>

---
v2:
* incorporated rob herring and thierry reviews gpio to gpios, gpio to regulator using fixed regulators and pwm backlight is removed, since it is controlled by dcs commands

v3:
* incorporated thierry reviews
- Added gpio polarity details for reset-gpios
- proper naming conventions and sequence wrt panel datasheet (vddp-supply, iovcc-supply,
enable-gpios, reset-gpios, dcdc-en-gpios)
v4:
* pinctrl-names, pinctrl-0 removed, not required for reset-gpios

Quoted 4 lines
---
 .../bindings/display/panel/jdi,lt070me05000.txt    | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt

Applied, with a modified commit message.

Thanks,
Thierry