STMicroelectonics Port Expander (STMPE) GPIO Block

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

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

STMicroelectronics Port Expander (STMPE) is a series of slow bus controllers for various expanded peripherals such as GPIO, keypad, touchscreen, ADC, PWM or rotator. It can contain one or several different peripherals connected to SPI or I2C. These bindings pertain to the GPIO portions of these expanders.

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,stmpe-gpio"

#gpio-cells — required here #

Exact value (const): 2

#interrupt-cells — required here #

Exact value (const): 2

gpio-controller — required here #

true — No constraints added by this property rule.

gpio-line-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 24

interrupt-controller — required here #

true — No constraints added by this property rule.

st,norequest-mask — not listed as required here #

A bitmask of GPIO lines that cannot be requested because for for example not being connected to anything on the system

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

Properties matching a name pattern (patternProperties) #

^.+-hog(-[0-9]+)?$ — name matches this regular expression #

Value type (type): "object"

Required in this object (required): "gpio-hog"

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

false

Not allowed by this rule.

Required in this object (required): "compatible", "#gpio-cells", "#interrupt-cells", "gpio-controller", "interrupt-controller"

Source notes #

Annotations retained from the schema source

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

Edit this page