The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/gpio/xylon,logicvc-gpio.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
    2 # Copyright 2019 Bootlin
    3 %YAML 1.2
    4 ---
    5 $id: "http://devicetree.org/schemas/gpio/xylon,logicvc-gpio.yaml#"
    6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
    7 
    8 title: Xylon LogiCVC GPIO controller
    9 
   10 maintainers:
   11   - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
   12 
   13 description: |
   14   The LogiCVC GPIO describes the GPIO block included in the LogiCVC display
   15   controller. These are meant to be used for controlling display-related
   16   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-4
   21   - EN_BLIGHT (power control) mapped to index 5
   22   - EN_VDD (power control) mapped to index 6
   23   - EN_VEE (power control) mapped to index 7
   24   - V_EN (power control) mapped to index 8
   25 
   26 properties:
   27   $nodename:
   28     pattern: "^gpio@[0-9a-f]+$"
   29 
   30   compatible:
   31     enum:
   32       - xylon,logicvc-3.02.a-gpio
   33 
   34   reg:
   35     maxItems: 1
   36 
   37   "#gpio-cells":
   38     const: 2
   39 
   40   gpio-controller: true
   41 
   42   gpio-line-names:
   43     minItems: 1
   44     maxItems: 9
   45 
   46 required:
   47   - compatible
   48   - reg
   49   - "#gpio-cells"
   50   - gpio-controller
   51 
   52 additionalProperties: false
   53 
   54 examples:
   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     };

Cache object: 5b586dc125fee33c62670242400a0ecc


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.