Skip to contentSkip to conversation

Dcumentation: bridge: Add documentation for ps8640 DT properties

RFC CK Hu 1 participant 1 message Oct 20, 2015

lore
Share & tools
lore

CK Hu

author
#0 lore raw

Hi, Rob:

Quoted 4 lines

-----Original Message-----
From: Rob Herring [mailto:[email protected]]
Sent: Friday, October 16, 2015 9:22 PM
Subject: Re: [RFC 1/2] Dcumentation: bridge: Add documentation for

ps8640

Quoted 8 lines

DT properties

Quoted 5 lines · CK Hu

From: Jitao Shi <[email protected]>

Add documentation for DT properties supported by ps8640 DSI-eDP converter.

Quoted 6 lines
Quoted 3 lines
---
 .../devicetree/bindings/video/bridge/ps8640.txt    |   48

++++++++++++++++++++

Please move to bindings/display/bridge/.

ok, we will move ps8640.txt to bindings/display/bridge/

Quoted 6 lines
Quoted 6 lines
 1 file changed, 48 insertions(+)
 create mode 100644

Documentation/devicetree/bindings/video/bridge/ps8640.txt

diff --git

a/Documentation/devicetree/bindings/video/bridge/ps8640.txt

Quoted 4 lines
Quoted 4 lines

b/Documentation/devicetree/bindings/video/bridge/ps8640.txt new file mode 100644
index 0000000..450b5df
--- /dev/null

Quoted 8 lines

Review line 6

Quoted 8 lines

+++ b/Documentation/devicetree/bindings/video/bridge/ps8640.txt

(quoted diff) +6 -0
@@ -0,0 +1,48 @@
+ps8640-bridge bindings
+
+Required properties:
+       - compatible: "parade,ps8640"
+       - reg: first i2c address of the bridge
+       - power-gpios: OF device-tree gpio specification for power

pin.

Quoted 1 line

Review line 7

Quoted 1 line
(quoted diff) +1 -0
+       - reset-gpios: OF device-tree gpio specification for reset

pin.

Quoted 1 line

Review line 8

Quoted 1 line
(quoted diff) +1 -0
+       - mode-sel-gpios: OF device-tree gpio specification for

mode-sel

Quoted 2 lines

pin.

Quoted 1 line
(quoted diff) +1 -0
+       - ps8640-1v2-supply: OF device-tree regulator specification

for

Quoted 2 lines

1v2.

Quoted 1 line
(quoted diff) +1 -0
+       - ps8640-3v3-supply: OF device-tree regulator specification

for

Quoted 3 lines

3v3.

As others have said, I would drop the part number and name them based

on

Quoted 1 line

the supply name (e.g. vdd?, vcore?).

yes, we should use vdd12-supply and vdd33-supply, we'll fixed it in next patch.

Quoted 4 lines

Review line 13

Quoted 4 lines
(quoted diff) +3 -0
+
+Optional properties:
+       - video interfaces: Device node can contain video interface

port

Quoted 4 lines

Review line 14

Quoted 1 line
(quoted diff) +1 -0
+                           nodes for panel according to [1].

I don't think this should be optional.

yes, we will fix it in next patch.

Quoted 1 line
Quoted 1 line