forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/media/i2c/adv748x.txt
....@@ -10,7 +10,11 @@
1010 - "adi,adv7481" for the ADV7481
1111 - "adi,adv7482" for the ADV7482
1212
13
- - reg: I2C slave address
13
+ - reg: I2C slave addresses
14
+ The ADV748x has up to twelve 256-byte maps that can be accessed via the
15
+ main I2C ports. Each map has it own I2C address and acts as a standard
16
+ slave device on the I2C bus. The main address is mandatory, others are
17
+ optional and remain at default values if not specified.
1418
1519 Optional Properties:
1620
....@@ -18,6 +22,11 @@
1822 "intrq3". All interrupts are optional. The "intrq3" interrupt
1923 is only available on the adv7481
2024 - interrupts: Specify the interrupt lines for the ADV748x
25
+ - reg-names : Names of maps with programmable addresses.
26
+ It shall contain all maps needing a non-default address.
27
+ Possible map names are:
28
+ "main", "dpll", "cp", "hdmi", "edid", "repeater",
29
+ "infoframe", "cbus", "cec", "sdp", "txa", "txb"
2130
2231 The device node must contain one 'port' child node per device input and output
2332 port, in accordance with the video interface bindings defined in
....@@ -39,7 +48,16 @@
3948 TXA source 10
4049 TXB source 11
4150
42
-The digital output port nodes must contain at least one endpoint.
51
+The digital output port nodes, when present, shall contain at least one
52
+endpoint. Each of those endpoints shall contain the data-lanes property as
53
+described in video-interfaces.txt.
54
+
55
+Required source endpoint properties:
56
+ - data-lanes: an array of physical data lane indexes
57
+ The accepted value(s) for this property depends on which of the two
58
+ sources are described. For TXA 1, 2 or 4 data lanes can be described
59
+ while for TXB only 1 data lane is valid. See video-interfaces.txt
60
+ for detailed description.
4361
4462 Ports are optional if they are not connected to anything at the hardware level.
4563
....@@ -47,7 +65,10 @@
4765
4866 video-receiver@70 {
4967 compatible = "adi,adv7482";
50
- reg = <0x70>;
68
+ reg = <0x70 0x71 0x72 0x73 0x74 0x75
69
+ 0x60 0x61 0x62 0x63 0x64 0x65>;
70
+ reg-names = "main", "dpll", "cp", "hdmi", "edid", "repeater",
71
+ "infoframe", "cbus", "cec", "sdp", "txa", "txb";
5172
5273 #address-cells = <1>;
5374 #size-cells = <0>;