[PATCH 6/9] Doc/DT: Add DT binding documentation for MIPI DSI CM Panel

From
Tomi Valkeinen <hidden>
Date
2014-03-18 06:33:55
Also in
dri-devel, linux-devicetree, linux-fbdev
Reply to
Laurent Pinchart, 2014-03-17
On 17/03/14 16:22, Laurent Pinchart wrote:
quoted
+Example
+-------
+
+lcd0: display {
+	compatible = "tpo,taal", "panel-dsi-cm";
+	label = "lcd0";
+
+	gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;	/* 102, reset */
If the panel uses a TE GPIO but no reset GPIO, do you plan to express this 
with a "hole" for the reset GPIO ? e.g. something like

	gpios = <0>, <&gpio4 6 GPIO_ACTIVE_HIGH>;
Yes.
Wouldn't it be better to split the gpios property into "reset-gpios" and "te-
gpios" ?
Yes, I can change it. I don't have a strong preference.

I've gotten similar comments for other bindings also, so I guess the
preferred way is to use named "-gpios" properties for everything except
the case where you really have multiple gpios with the same purpose?

The gpio binding documentation doesn't give much guidance on this.

 Tomi


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140318/d3f51e70/attachment.sig>
Thread (4 messages) 4 messages, 3 authors, last reply 2014-03-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help