| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/bridge/megachips,stdp2690-ge-b850v3-fw.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: GE B850v3 video bridge |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Frank Li <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
STDP4028-ge-b850v3-fw bridges (LVDS-DP) |
| 14 |
STDP2690-ge-b850v3-fw bridges (DP-DP++) |
| 15 |
|
| 16 |
The video processing pipeline on the second output on the GE B850v3: |
| 17 |
|
| 18 |
Host -> LVDS|--(STDP4028)--|DP -> DP|--(STDP2690)--|DP++ -> Video output |
| 19 |
|
| 20 |
Each bridge has a dedicated flash containing firmware for supporting the custom |
| 21 |
design. The result is that, in this design, neither the STDP4028 nor the |
| 22 |
STDP2690 behave as the stock bridges would. The compatible strings include the |
| 23 |
suffix "-ge-b850v3-fw" to make it clear that the driver is for the bridges with |
| 24 |
the firmware specific for the GE B850v3. |
| 25 |
|
| 26 |
The hardware do not provide control over the video processing pipeline, as the |
| 27 |
two bridges behaves as a single one. The only interfaces exposed by the |
| 28 |
hardware are EDID, HPD, and interrupts. |
| 29 |
|
| 30 |
properties: |
| 31 |
compatible: |
| 32 |
enum: |
| 33 |
- megachips,stdp4028-ge-b850v3-fw |
| 34 |
- megachips,stdp2690-ge-b850v3-fw |
| 35 |
|
| 36 |
reg: |
| 37 |
maxItems: 1 |
| 38 |
|
| 39 |
interrupts: |
| 40 |
maxItems: 1 |
| 41 |
|
| 42 |
ports: |
| 43 |
$ref: /schemas/graph.yaml#/properties/ports |
| 44 |
properties: |
| 45 |
port@0: |
| 46 |
description: sink port |
| 47 |
$ref: /schemas/graph.yaml#/properties/port |
| 48 |
|
| 49 |
port@1: |
| 50 |
description: source port |
| 51 |
$ref: /schemas/graph.yaml#/properties/port |
| 52 |
|
| 53 |
required: |
| 54 |
- port@0 |
| 55 |
- port@1 |
| 56 |
|
| 57 |
required: |
| 58 |
- compatible |
| 59 |
- reg |
| 60 |
- ports |
| 61 |
|
| 62 |
allOf: |
| 63 |
- if: |
| 64 |
properties: |
| 65 |
compatible: |
| 66 |
contains: |
| 67 |
const: megachips,stdp4028-ge-b850v3-fw |
| 68 |
then: |
| 69 |
required: |
| 70 |
- interrupts |
| 71 |
|
| 72 |
additionalProperties: false |
| 73 |
|
| 74 |
examples: |
| 75 |
- | |
| 76 |
#include <dt-bindings/interrupt-controller/irq.h> |
| 77 |
|
| 78 |
i2c { |
| 79 |
#address-cells = <1>; |
| 80 |
#size-cells = <0>; |
| 81 |
|
| 82 |
bridge@73 { |
| 83 |
compatible = "megachips,stdp4028-ge-b850v3-fw"; |
| 84 |
reg = <0x73>; |
| 85 |
interrupt-parent = <&gpio2>; |
| 86 |
interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; |
| 87 |
|
| 88 |
ports { |
| 89 |
#address-cells = <1>; |
| 90 |
#size-cells = <0>; |
| 91 |
|
| 92 |
port@0 { |
| 93 |
reg = <0>; |
| 94 |
|
| 95 |
endpoint { |
| 96 |
remote-endpoint = <&lvds0_out>; |
| 97 |
}; |
| 98 |
|
| 99 |
}; |
| 100 |
|
| 101 |
port@1 { |
| 102 |
reg = <1>; |
| 103 |
|
| 104 |
endpoint { |
| 105 |
remote-endpoint = <&stdp2690_in>; |
| 106 |
}; |
| 107 |
}; |
| 108 |
}; |
| 109 |
}; |
| 110 |
}; |
| 111 |
|