Common GPIO lines

Schema identifier ($id): "http://devicetree.org/schemas/gpio/gpio-consumer-common.yaml#"

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

Maintainers (maintainers): "Bartosz Golaszewski <brgl@bgdev.pl>", "Linus Walleij <linusw@kernel.org>"

Pay attention to using proper GPIO flag (e.g. GPIO_ACTIVE_LOW) for the GPIOs using inverted signal (e.g. RESETN).

Automatic schema selection (select) #

true

This selection rule always matches.

Properties and child nodes (properties) #

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO connected to the enable control pin.

reset-gpios — not listed as required here #

GPIO (or GPIOs for power sequence) connected to the device reset pin (e.g. RESET or RESETN).

powerdown-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO connected to the power down pin (hardware power down or power cut, e.g. PD or PWDN).

pwdn-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Use powerdown-gpios

Deprecated (deprecated): true

wakeup-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO connected to the pin waking up the device from suspend or other power-saving modes.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "mmc-pwrseq-simple"

When the condition matches (then) #

Properties and child nodes (properties)

reset-gpios — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

When the condition does not match (else) #

Properties and child nodes (properties)

reset-gpios — not listed as required here

Maximum number of items (maxItems): 1

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Edit this page