Xylon LogiCVC GPIO controller

Schema identifier ($id): "http://devicetree.org/schemas/gpio/xylon,logicvc-gpio.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Kocialkowski <paul.kocialkowski@bootlin.com>"

The LogiCVC GPIO describes the GPIO block included in the LogiCVC display controller. These are meant to be used for controlling display-related signals.

The controller exposes GPIOs from the display and power control registers, which are mapped by the driver as follows: - GPIO[4:0] (display control) mapped to index 0-4 - EN_BLIGHT (power control) mapped to index 5 - EN_VDD (power control) mapped to index 6 - EN_VEE (power control) mapped to index 7 - V_EN (power control) mapped to index 8

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^gpio@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "xylon,logicvc-3.02.a-gpio"

reg — required here #

Maximum number of items (maxItems): 1

#gpio-cells — required here #

Exact value (const): 2

gpio-controller — required here #

true — No constraints added by this property rule.

gpio-line-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 9

Required in this object (required): "compatible", "reg", "#gpio-cells", "gpio-controller"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

logicvc: logicvc@43c00000 {
  compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
  reg = <0x43c00000 0x6000>;

  #address-cells = <1>;
  #size-cells = <1>;

  logicvc_gpio: gpio@40 {
    compatible = "xylon,logicvc-3.02.a-gpio";
    reg = <0x40 0x40>;
    gpio-controller;
    #gpio-cells = <2>;
    gpio-line-names = "GPIO0", "GPIO1", "GPIO2", "GPIO3", "GPIO4",
           "EN_BLIGHT", "EN_VDD", "EN_VEE", "V_EN";
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Line 2: Copyright 2019 Bootlin

Edit this page