18c2ecf20Sopenharmony_ciDrivers for the second video output of the GE B850v3:
28c2ecf20Sopenharmony_ci   STDP4028-ge-b850v3-fw bridges (LVDS-DP)
38c2ecf20Sopenharmony_ci   STDP2690-ge-b850v3-fw bridges (DP-DP++)
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciThe video processing pipeline on the second output on the GE B850v3:
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci   Host -> LVDS|--(STDP4028)--|DP -> DP|--(STDP2690)--|DP++ -> Video output
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciEach bridge has a dedicated flash containing firmware for supporting the custom
108c2ecf20Sopenharmony_cidesign. The result is that, in this design, neither the STDP4028 nor the
118c2ecf20Sopenharmony_ciSTDP2690 behave as the stock bridges would. The compatible strings include the
128c2ecf20Sopenharmony_cisuffix "-ge-b850v3-fw" to make it clear that the driver is for the bridges with
138c2ecf20Sopenharmony_cithe firmware specific for the GE B850v3.
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciThe hardware do not provide control over the video processing pipeline, as the
168c2ecf20Sopenharmony_citwo bridges behaves as a single one. The only interfaces exposed by the
178c2ecf20Sopenharmony_cihardware are EDID, HPD, and interrupts.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_cistdp4028-ge-b850v3-fw required properties:
208c2ecf20Sopenharmony_ci  - compatible : "megachips,stdp4028-ge-b850v3-fw"
218c2ecf20Sopenharmony_ci  - reg : I2C bus address
228c2ecf20Sopenharmony_ci  - interrupts : one interrupt should be described here, as in
238c2ecf20Sopenharmony_ci    <0 IRQ_TYPE_LEVEL_HIGH>
248c2ecf20Sopenharmony_ci  - ports : One input port(reg = <0>) and one output port(reg = <1>)
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_cistdp2690-ge-b850v3-fw required properties:
278c2ecf20Sopenharmony_ci    compatible : "megachips,stdp2690-ge-b850v3-fw"
288c2ecf20Sopenharmony_ci  - reg : I2C bus address
298c2ecf20Sopenharmony_ci  - ports : One input port(reg = <0>) and one output port(reg = <1>)
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciExample:
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci&mux2_i2c2 {
348c2ecf20Sopenharmony_ci	clock-frequency = <100000>;
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci	stdp4028@73 {
378c2ecf20Sopenharmony_ci		compatible = "megachips,stdp4028-ge-b850v3-fw";
388c2ecf20Sopenharmony_ci		#address-cells = <1>;
398c2ecf20Sopenharmony_ci		#size-cells = <0>;
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci		reg = <0x73>;
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci		interrupt-parent = <&gpio2>;
448c2ecf20Sopenharmony_ci		interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci		ports {
478c2ecf20Sopenharmony_ci			#address-cells = <1>;
488c2ecf20Sopenharmony_ci			#size-cells = <0>;
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci			port@0 {
518c2ecf20Sopenharmony_ci				reg = <0>;
528c2ecf20Sopenharmony_ci				stdp4028_in: endpoint {
538c2ecf20Sopenharmony_ci					remote-endpoint = <&lvds0_out>;
548c2ecf20Sopenharmony_ci				};
558c2ecf20Sopenharmony_ci			};
568c2ecf20Sopenharmony_ci			port@1 {
578c2ecf20Sopenharmony_ci				reg = <1>;
588c2ecf20Sopenharmony_ci				stdp4028_out: endpoint {
598c2ecf20Sopenharmony_ci					remote-endpoint = <&stdp2690_in>;
608c2ecf20Sopenharmony_ci				};
618c2ecf20Sopenharmony_ci			};
628c2ecf20Sopenharmony_ci		};
638c2ecf20Sopenharmony_ci	};
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci	stdp2690@72 {
668c2ecf20Sopenharmony_ci		compatible = "megachips,stdp2690-ge-b850v3-fw";
678c2ecf20Sopenharmony_ci		#address-cells = <1>;
688c2ecf20Sopenharmony_ci		#size-cells = <0>;
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ci		reg = <0x72>;
718c2ecf20Sopenharmony_ci
728c2ecf20Sopenharmony_ci		ports {
738c2ecf20Sopenharmony_ci			#address-cells = <1>;
748c2ecf20Sopenharmony_ci			#size-cells = <0>;
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci			port@0 {
778c2ecf20Sopenharmony_ci				reg = <0>;
788c2ecf20Sopenharmony_ci				stdp2690_in: endpoint {
798c2ecf20Sopenharmony_ci					remote-endpoint = <&stdp4028_out>;
808c2ecf20Sopenharmony_ci				};
818c2ecf20Sopenharmony_ci			};
828c2ecf20Sopenharmony_ci
838c2ecf20Sopenharmony_ci			port@1 {
848c2ecf20Sopenharmony_ci				reg = <1>;
858c2ecf20Sopenharmony_ci				stdp2690_out: endpoint {
868c2ecf20Sopenharmony_ci					/* Connector for external display */
878c2ecf20Sopenharmony_ci				};
888c2ecf20Sopenharmony_ci			};
898c2ecf20Sopenharmony_ci		};
908c2ecf20Sopenharmony_ci	};
918c2ecf20Sopenharmony_ci};
92