brintos

brintos / linux-shallow public Read only

0
0
Text · 2.6 KiB · 4c5dd8e Raw
120 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only2%YAML 1.23---4$id: http://devicetree.org/schemas/display/bridge/ti,tfp410.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: TFP410 DPI to DVI encoder8 9maintainers:10  - Tomi Valkeinen <tomi.valkeinen@ti.com>11  - Jyri Sarha <jsarha@ti.com>12 13properties:14  compatible:15    const: ti,tfp41016 17  reg:18    description: I2C address of the device.19    maxItems: 120 21  powerdown-gpios:22    maxItems: 123 24  ti,deskew:25    description:26      Data de-skew value in 350ps increments, from 0 to 7, as configured27      through the DK[3:1] pins. The de-skew multiplier is computed as28      (DK[3:1] - 4), so it ranges from -4 to 3.29    $ref: /schemas/types.yaml#/definitions/uint3230    minimum: 031    maximum: 732 33  ports:34    $ref: /schemas/graph.yaml#/properties/ports35 36    properties:37      port@0:38        $ref: /schemas/graph.yaml#/$defs/port-base39        unevaluatedProperties: false40        description: DPI input port.41 42        properties:43          endpoint:44            $ref: /schemas/graph.yaml#/$defs/endpoint-base45            unevaluatedProperties: false46 47            properties:48              pclk-sample:49                description:50                  Endpoint sampling edge.51                enum:52                  - 0  # Falling edge53                  - 1  # Rising edge54                default: 055 56              bus-width:57                description:58                  Endpoint bus width.59                enum:60                  - 12  # 12 data lines connected and dual-edge mode61                  - 24  # 24 data lines connected and single-edge mode62                default: 2463 64      port@1:65        $ref: /schemas/graph.yaml#/properties/port66        description: DVI output port.67 68    required:69      - port@070      - port@171 72required:73  - compatible74  - ports75 76if:77  required:78    - reg79then:80  properties:81    ti,deskew: false82else:83  required:84    - ti,deskew85 86additionalProperties: false87 88examples:89  - |90    #include <dt-bindings/gpio/gpio.h>91 92    tfp410: encoder {93        compatible = "ti,tfp410";94        powerdown-gpios = <&twl_gpio 2 GPIO_ACTIVE_LOW>;95        ti,deskew = <3>;96 97        ports {98            #address-cells = <1>;99            #size-cells = <0>;100 101            port@0 {102                reg = <0>;103                tfp410_in: endpoint {104                    pclk-sample = <1>;105                    bus-width = <24>;106                    remote-endpoint = <&dpi_out>;107                };108            };109 110            port@1 {111                reg = <1>;112                tfp410_out: endpoint {113                    remote-endpoint = <&dvi_connector_in>;114                };115            };116        };117    };118 119...120