TI TWL4030 GPIO controller

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

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

Maintainers (maintainers): "Aaro Koskinen <aaro.koskinen@iki.fi>", "Andreas Kemnade <andreas@kemnade.info>", "Kevin Hilman <khilman@baylibre.com>", "Roger Quadros <rogerq@kernel.org>", "Tony Lindgren <tony@atomide.com>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "ti,twl4030-gpio"

#gpio-cells — not listed as required here #

Exact value (const): 2

gpio-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Exact value (const): 1

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

ti,debounce — not listed as required here #

Debounce control bits. Each bit corresponds to a GPIO pin.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

ti,mmc-cd — not listed as required here #

MMC card detect control bits. Each bit corresponds to a GPIO pin for VMMC(n+1).

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

ti,pullups — not listed as required here #

Pull-up control bits. Each bit corresponds to a GPIO pin.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

ti,pulldowns — not listed as required here #

Pull-down control bits. Each bit corresponds to a GPIO pin.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

ti,use-leds — not listed as required here #

Value type (type): "boolean"

Enables LEDA and LEDB outputs if set

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

false

Not allowed by this rule.

Examples (examples) #

gpio {
    compatible = "ti,twl4030-gpio";
    #gpio-cells = <2>;
    gpio-controller;
    #interrupt-cells = <1>;
    interrupt-controller;
    ti,use-leds;
};

Source notes #

Annotations retained from the schema source

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

Edit this page