File Index
Files and directories
Sign in
FILE

solomon,ssd2825.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/display/bridge/solomon,ssd2825.yaml YAML
  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/solomon,ssd2825.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: Solomon SSD2825 RGB to MIPI-DSI bridge
  8
  9maintainers:
 10  - Svyatoslav Ryhel <clamor95@gmail.com>
 11
 12allOf:
 13  - $ref: /schemas/spi/spi-peripheral-props.yaml#
 14
 15properties:
 16  compatible:
 17    const: solomon,ssd2825
 18
 19  reg:
 20    maxItems: 1
 21
 22  reset-gpios: true
 23
 24  dvdd-supply:
 25    description: Regulator for 1.2V digital power supply.
 26
 27  avdd-supply:
 28    description: Regulator for 1.2V analog power supply.
 29
 30  vddio-supply:
 31    description: Regulator for 1.8V IO power supply.
 32
 33  spi-max-frequency:
 34    maximum: 1000000
 35
 36  spi-cpha: true
 37  spi-cpol: true
 38
 39  clocks:
 40    maxItems: 1
 41    description: Reference TX_CLK used before PLL is locked.
 42
 43  solomon,hs-zero-delay-ns:
 44    description:
 45      HS zero delay period
 46    minimum: 0
 47    maximum: 1700
 48    default: 133
 49
 50  solomon,hs-prep-delay-ns:
 51    description:
 52      HS prep delay period
 53    minimum: 0
 54    maximum: 1728
 55    default: 40
 56
 57  ports:
 58    $ref: /schemas/graph.yaml#/properties/ports
 59
 60    properties:
 61      port@0:
 62        $ref: /schemas/graph.yaml#/$defs/port-base
 63        unevaluatedProperties: false
 64        description:
 65          Video port for RGB input
 66
 67        properties:
 68          endpoint:
 69            $ref: /schemas/graph.yaml#/$defs/endpoint-base
 70            unevaluatedProperties: false
 71
 72            properties:
 73              bus-width:
 74                enum: [ 16, 18, 24 ]
 75
 76      port@1:
 77        $ref: /schemas/graph.yaml#/properties/port
 78        description:
 79          Video port for DSI output (panel or connector)
 80
 81    required:
 82      - port@0
 83      - port@1
 84
 85required:
 86  - compatible
 87  - ports
 88
 89additionalProperties: false
 90
 91examples:
 92  - |
 93    #include <dt-bindings/gpio/gpio.h>
 94
 95    spi {
 96        #address-cells = <1>;
 97        #size-cells = <0>;
 98
 99        dsi@2 {
100            compatible = "solomon,ssd2825";
101            reg = <2>;
102
103            spi-max-frequency = <1000000>;
104
105            spi-cpha;
106            spi-cpol;
107
108            reset-gpios = <&gpio 114 GPIO_ACTIVE_LOW>;
109
110            dvdd-supply = <&vdd_1v2>;
111            avdd-supply = <&vdd_1v2>;
112            vddio-supply = <&vdd_1v8_io>;
113
114            solomon,hs-zero-delay-ns = <300>;
115            solomon,hs-prep-delay-ns = <65>;
116
117            clocks = <&ssd2825_tx_clk>;
118
119            ports {
120                #address-cells = <1>;
121                #size-cells = <0>;
122
123                port@0 {
124                    reg = <0>;
125
126                    bridge_input: endpoint {
127                        remote-endpoint = <&dpi_output>;
128                        bus-width = <24>;
129                    };
130                };
131
132                port@1 {
133                    reg = <1>;
134
135                    bridge_output: endpoint {
136                        remote-endpoint = <&panel_input>;
137                    };
138                };
139            };
140        };
141    };
~/ Read-only file preview.