Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * Texas Instruments TV7002 video decoder |
| 2 | |
| 3 | The TVP7002 device supports digitizing of video and graphics signal in RGB and |
| 4 | YPbPr color space. |
| 5 | |
| 6 | Required Properties : |
| 7 | - compatible : Must be "ti,tvp7002" |
| 8 | |
| 9 | Optional Properties: |
| 10 | - hsync-active: HSYNC Polarity configuration for the bus. Default value when |
| 11 | this property is not specified is <0>. |
| 12 | |
| 13 | - vsync-active: VSYNC Polarity configuration for the bus. Default value when |
| 14 | this property is not specified is <0>. |
| 15 | |
| 16 | - pclk-sample: Clock polarity of the bus. Default value when this property is |
| 17 | not specified is <0>. |
| 18 | |
| 19 | - sync-on-green-active: Active state of Sync-on-green signal property of the |
| 20 | endpoint. |
| 21 | 0 = Normal Operation (Active Low, Default) |
| 22 | 1 = Inverted operation |
| 23 | |
| 24 | - field-even-active: Active-high Field ID output polarity control of the bus. |
| 25 | Under normal operation, the field ID output is set to logic 1 for an odd field |
| 26 | (field 1) and set to logic 0 for an even field (field 0). |
| 27 | 0 = Normal Operation (Active Low, Default) |
| 28 | 1 = FID output polarity inverted |
| 29 | |
| 30 | For further reading of port node refer Documentation/devicetree/bindings/media/ |
| 31 | video-interfaces.txt. |
| 32 | |
| 33 | Example: |
| 34 | |
| 35 | i2c0@1c22000 { |
| 36 | ... |
| 37 | ... |
| 38 | tvp7002@5c { |
| 39 | compatible = "ti,tvp7002"; |
| 40 | reg = <0x5c>; |
| 41 | |
| 42 | port { |
| 43 | tvp7002_1: endpoint { |
| 44 | hsync-active = <1>; |
| 45 | vsync-active = <1>; |
| 46 | pclk-sample = <0>; |
| 47 | sync-on-green-active = <1>; |
| 48 | field-even-active = <0>; |
| 49 | }; |
| 50 | }; |
| 51 | }; |
| 52 | ... |
| 53 | }; |