brintos

brintos / linux-shallow public Read only

0
0
Text · 2.2 KiB · 70ec709 Raw
107 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/bridge/nxp,ptn3460.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: NXP PTN3460 eDP to LVDS bridge8 9maintainers:10  - Sean Paul <seanpaul@chromium.org>11 12properties:13  compatible:14    const: nxp,ptn346015 16  reg:17    description: I2C address of the bridge18    maxItems: 119 20  edid-emulation:21    $ref: /schemas/types.yaml#/definitions/uint3222    description:23      The EDID emulation entry to use24      Value  Resolution  Description25        0     1024x768   NXP Generic26        1     1920x1080  NXP Generic27        2     1920x1080  NXP Generic28        3     1600x900   Samsung LTM200KT29        4     1920x1080  Samsung LTM230HT30        5     1366x768   NXP Generic31        6     1600x900   ChiMei M215HGE32    enum: [0, 1, 2, 3, 4, 5, 6]33 34  powerdown-gpios:35    description: GPIO connected to the PD_N signal.36    maxItems: 137 38  reset-gpios:39    description: GPIO connected to the RST_N signal.40    maxItems: 141 42  ports:43    $ref: /schemas/graph.yaml#/properties/ports44 45    properties:46      port@0:47        $ref: /schemas/graph.yaml#/properties/port48        description:49          Video port for LVDS output50 51      port@1:52        $ref: /schemas/graph.yaml#/properties/port53        description:54          Video port for eDP input55 56    required:57      - port@058      - port@159 60required:61  - compatible62  - reg63  - edid-emulation64  - powerdown-gpios65  - reset-gpios66  - ports67 68additionalProperties: false69 70examples:71  - |72    #include <dt-bindings/gpio/gpio.h>73 74    i2c {75      #address-cells = <1>;76      #size-cells = <0>;77 78      bridge@20 {79        compatible = "nxp,ptn3460";80        reg = <0x20>;81        edid-emulation = <5>;82        powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;83        reset-gpios = <&gpx1 5 GPIO_ACTIVE_LOW>;84 85        ports {86          #address-cells = <1>;87          #size-cells = <0>;88 89          port@0 {90            reg = <0>;91            bridge_out: endpoint {92              remote-endpoint = <&panel_in>;93            };94          };95 96          port@1 {97            reg = <1>;98            bridge_in: endpoint {99              remote-endpoint = <&dp_out>;100            };101          };102        };103      };104    };105 106...107