Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / display / bridge / megachips-stdpxxxx-ge-b850v3-fw.txt
1 Drivers for the second video output of the GE B850v3:
2    STDP4028-ge-b850v3-fw bridges (LVDS-DP)
3    STDP2690-ge-b850v3-fw bridges (DP-DP++)
4
5 The video processing pipeline on the second output on the GE B850v3:
6
7    Host -> LVDS|--(STDP4028)--|DP -> DP|--(STDP2690)--|DP++ -> Video output
8
9 Each bridge has a dedicated flash containing firmware for supporting the custom
10 design. The result is that, in this design, neither the STDP4028 nor the
11 STDP2690 behave as the stock bridges would. The compatible strings include the
12 suffix "-ge-b850v3-fw" to make it clear that the driver is for the bridges with
13 the firmware specific for the GE B850v3.
14
15 The hardware do not provide control over the video processing pipeline, as the
16 two bridges behaves as a single one. The only interfaces exposed by the
17 hardware are EDID, HPD, and interrupts.
18
19 stdp4028-ge-b850v3-fw required properties:
20   - compatible : "megachips,stdp4028-ge-b850v3-fw"
21   - reg : I2C bus address
22   - interrupt-parent : phandle of the interrupt controller that services
23     interrupts to the device
24   - interrupts : one interrupt should be described here, as in
25     <0 IRQ_TYPE_LEVEL_HIGH>
26   - ports : One input port(reg = <0>) and one output port(reg = <1>)
27
28 stdp2690-ge-b850v3-fw required properties:
29     compatible : "megachips,stdp2690-ge-b850v3-fw"
30   - reg : I2C bus address
31   - ports : One input port(reg = <0>) and one output port(reg = <1>)
32
33 Example:
34
35 &mux2_i2c2 {
36         clock-frequency = <100000>;
37
38         stdp4028@73 {
39                 compatible = "megachips,stdp4028-ge-b850v3-fw";
40                 #address-cells = <1>;
41                 #size-cells = <0>;
42
43                 reg = <0x73>;
44
45                 interrupt-parent = <&gpio2>;
46                 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
47
48                 ports {
49                         #address-cells = <1>;
50                         #size-cells = <0>;
51
52                         port@0 {
53                                 reg = <0>;
54                                 stdp4028_in: endpoint {
55                                         remote-endpoint = <&lvds0_out>;
56                                 };
57                         };
58                         port@1 {
59                                 reg = <1>;
60                                 stdp4028_out: endpoint {
61                                         remote-endpoint = <&stdp2690_in>;
62                                 };
63                         };
64                 };
65         };
66
67         stdp2690@72 {
68                 compatible = "megachips,stdp2690-ge-b850v3-fw";
69                 #address-cells = <1>;
70                 #size-cells = <0>;
71
72                 reg = <0x72>;
73
74                 ports {
75                         #address-cells = <1>;
76                         #size-cells = <0>;
77
78                         port@0 {
79                                 reg = <0>;
80                                 stdp2690_in: endpoint {
81                                         remote-endpoint = <&stdp4028_out>;
82                                 };
83                         };
84
85                         port@1 {
86                                 reg = <1>;
87                                 stdp2690_out: endpoint {
88                                         /* Connector for external display */
89                                 };
90                         };
91                 };
92         };
93 };