Simon Glass | c23a85c | 2015-07-02 18:16:09 -0600 | [diff] [blame] | 1 | ps8622-bridge bindings |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: "parade,ps8622" or "parade,ps8625" |
| 5 | - reg: first i2c address of the bridge |
| 6 | - sleep-gpios: OF device-tree gpio specification for PD_ pin. |
| 7 | - reset-gpios: OF device-tree gpio specification for RST_ pin. |
| 8 | - parade,regs: List of 3-byte registers tuples to write: |
| 9 | <I2C chip address offset> <register> <value> |
| 10 | |
| 11 | Optional properties: |
| 12 | - lane-count: number of DP lanes to use |
| 13 | - use-external-pwm: backlight will be controlled by an external PWM |
| 14 | - video interfaces: Device node can contain video interface port |
| 15 | nodes for panel according to [1]. |
| 16 | |
| 17 | [1]: Documentation/devicetree/bindings/media/video-interfaces.txt |
| 18 | |
| 19 | Example: |
| 20 | lvds-bridge@48 { |
| 21 | compatible = "parade,ps8622"; |
| 22 | reg = <0x48>; |
| 23 | sleep-gpios = <&gpc3 6 1 0 0>; |
| 24 | reset-gpios = <&gpc3 1 1 0 0>; |
| 25 | lane-count = <1>; |
| 26 | ports { |
| 27 | port@0 { |
| 28 | bridge_out: endpoint { |
| 29 | remote-endpoint = <&panel_in>; |
| 30 | }; |
| 31 | }; |
| 32 | }; |
| 33 | }; |