brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 59c79a6 Raw
72 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2# Copyright 2019 Bootlin3%YAML 1.24---5$id: http://devicetree.org/schemas/gpio/xylon,logicvc-gpio.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: Xylon LogiCVC GPIO controller9 10maintainers:11  - Paul Kocialkowski <paul.kocialkowski@bootlin.com>12 13description: |14  The LogiCVC GPIO describes the GPIO block included in the LogiCVC display15  controller. These are meant to be used for controlling display-related16  signals.17 18  The controller exposes GPIOs from the display and power control registers,19  which are mapped by the driver as follows:20  - GPIO[4:0] (display control) mapped to index 0-421  - EN_BLIGHT (power control) mapped to index 522  - EN_VDD (power control) mapped to index 623  - EN_VEE (power control) mapped to index 724  - V_EN (power control) mapped to index 825 26properties:27  $nodename:28    pattern: "^gpio@[0-9a-f]+$"29 30  compatible:31    enum:32      - xylon,logicvc-3.02.a-gpio33 34  reg:35    maxItems: 136 37  "#gpio-cells":38    const: 239 40  gpio-controller: true41 42  gpio-line-names:43    minItems: 144    maxItems: 945 46required:47  - compatible48  - reg49  - "#gpio-cells"50  - gpio-controller51 52additionalProperties: false53 54examples:55  - |56    logicvc: logicvc@43c00000 {57      compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";58      reg = <0x43c00000 0x6000>;59 60      #address-cells = <1>;61      #size-cells = <1>;62 63      logicvc_gpio: gpio@40 {64        compatible = "xylon,logicvc-3.02.a-gpio";65        reg = <0x40 0x40>;66        gpio-controller;67        #gpio-cells = <2>;68        gpio-line-names = "GPIO0", "GPIO1", "GPIO2", "GPIO3", "GPIO4",69               "EN_BLIGHT", "EN_VDD", "EN_VEE", "V_EN";70      };71    };72