Path: blob/master/Documentation/devicetree/bindings/gpio/gpio-consumer-common.yaml
26308 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/gpio/gpio-consumer-common.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Common GPIO lines78maintainers:9- Bartosz Golaszewski <brgl@bgdev.pl>10- Linus Walleij <linus.walleij@linaro.org>1112description:13Pay attention to using proper GPIO flag (e.g. GPIO_ACTIVE_LOW) for the GPIOs14using inverted signal (e.g. RESETN).1516select: true1718properties:19enable-gpios:20maxItems: 121description:22GPIO connected to the enable control pin.2324reset-gpios:25description:26GPIO (or GPIOs for power sequence) connected to the device reset pin27(e.g. RESET or RESETN).2829powerdown-gpios:30maxItems: 131description:32GPIO connected to the power down pin (hardware power down or power cut,33e.g. PD or PWDN).3435pwdn-gpios:36maxItems: 137description: Use powerdown-gpios38deprecated: true3940wakeup-gpios:41maxItems: 142description:43GPIO connected to the pin waking up the device from suspend or other44power-saving modes.4546allOf:47- if:48properties:49compatible:50contains:51enum:52- mmc-pwrseq-simple53then:54properties:55reset-gpios:56minItems: 157maxItems: 3258else:59properties:60reset-gpios:61maxItems: 16263additionalProperties: true646566