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/x-powers,axp209-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
    2 %YAML 1.2
    3 ---
    4 $id: "http://devicetree.org/schemas/gpio/x-powers,axp209-gpio.yaml#"
    5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
    6 
    7 title: X-Powers AXP209 GPIO Device Tree Bindings
    8 
    9 maintainers:
   10   - Chen-Yu Tsai <wens@csie.org>
   11 
   12 properties:
   13   "#gpio-cells":
   14     const: 2
   15     description: >
   16       The first cell is the pin number and the second is the GPIO flags.
   17 
   18   compatible:
   19     oneOf:
   20       - enum:
   21           - x-powers,axp209-gpio
   22           - x-powers,axp221-gpio
   23           - x-powers,axp813-gpio
   24       - items:
   25           - enum:
   26               - x-powers,axp223-gpio
   27               - x-powers,axp809-gpio
   28           - const: x-powers,axp221-gpio
   29       - items:
   30           - const: x-powers,axp803-gpio
   31           - const: x-powers,axp813-gpio
   32 
   33   gpio-controller: true
   34 
   35 patternProperties:
   36   "^.*-pins?$":
   37     $ref: /schemas/pinctrl/pinmux-node.yaml#
   38 
   39     properties:
   40       pins:
   41         items:
   42           enum:
   43             - GPIO0
   44             - GPIO1
   45             - GPIO2
   46 
   47       function:
   48         enum:
   49           - adc
   50           - ldo
   51           - gpio_in
   52           - gpio_out
   53 
   54 required:
   55   - compatible
   56   - "#gpio-cells"
   57   - gpio-controller
   58 
   59 additionalProperties: false
   60 
   61 ...

Cache object: 49af4a67d17d99fa2d40b5708f234194


[ 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.