hc
2023-11-07 5e8555e3ea324daaf0e38422bcba48c4df33a0d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Rockchip RK1000 TVEncoder
-------------------------------
 
The RK1000-TVE are RK1000 TV Encoder register block.
The chip is connected to an i2c bus.
 
Required properties:
 
- compatible: should be "rockchip,rk1000-tve"
- reg: I2C slave address
- rockchip,data-width: should be <18> or <24>
- rockchip,output: This describes the output face
- rockchip,ctl: phandle to the rk1000 core controller
 
Optional properties:
 
- rockchip,tvemode: tve preferred mode, 0 for PAL, 1 for NTSC
 
Required node:
 
The rk1000 tve has one video port. its connection is modeled using the OF
graph binding specified in Documentation/devicetree/bindings/graph.txt.
 
- Video port 0 for LVDS input
 
 
Example
-------
 
   rk1000-tve@42 {
       status = "okay";
       compatible = "rockchip,rk1000-tve";
       reg = <0x42>;
       rockchip,data-width = <24>;
       rockchip,output = "rgb";
       rockchip,ctl = <&rk1000_ctl>;
       rockchip,tvemode = <0>;
       ports {
           #address-cells = <1>;
           #size-cells = <0>;
           tve_in: port@0 {
               reg = <0>;
               tve_in_lvds: endpoint {
                   remote-endpoint = <&lvds_out_tve>;
               };
           };
       };
   };