hc
2023-02-14 0cc9b7c44253c93447ddf73e206fbdbb3d9f16b1
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
49
Chipone ICN6211 MIPI-DSI to RGB bridge bindings
 
Required properties:
- compatible: "chipone,icn6211"
- reg: I2C slave address
- clocks: phandle to reference clock for RGB output clock.
- clock-names: name should be "refclk"
 
Optional properties:
- enable-gpios: a GPIO spec for the en pin
- vdd1-supply: phandle to vdd1 regulator device node
- vdd2-supply: phandle to vdd2 regulator device node
- vdd3-supply: phandle to vdd3 regulator device node
 
Example:
 
&i2c0 {
   status = "okay";
 
   icn6211@2c {
       compatible = "chipone,icn6211";
       reg = <0x2c>;
       clocks = <&osc26m>;
       clock-names = "refclk";
       enable-gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>;
 
       ports {
           #address-cells = <1>;
           #size-cells = <0>;
 
           port@0 {
               reg = <0>;
 
               icn6211_in_dsi: endpoint {
                   remote-endpoint = <&dsi_out_icn6211>;
               };
           };
 
           port@1 {
               reg = <1>;
 
               icn6211_out_panel: endpoint {
                   remote-endpoint = <&panel_in_icn6211>;
               };
           };
       };
 
   };
};