58 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/gpio/st,stmpe-gpio.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: STMicroelectonics Port Expander (STMPE) GPIO Block8 9description:10 STMicroelectronics Port Expander (STMPE) is a series of slow11 bus controllers for various expanded peripherals such as GPIO, keypad,12 touchscreen, ADC, PWM or rotator. It can contain one or several different13 peripherals connected to SPI or I2C. These bindings pertain to the14 GPIO portions of these expanders.15 16maintainers:17 - Linus Walleij <linus.walleij@linaro.org>18 19properties:20 compatible:21 const: st,stmpe-gpio22 23 "#gpio-cells":24 const: 225 26 "#interrupt-cells":27 const: 228 29 gpio-controller: true30 31 gpio-line-names:32 minItems: 133 maxItems: 2434 35 interrupt-controller: true36 37 st,norequest-mask:38 description:39 A bitmask of GPIO lines that cannot be requested because for40 for example not being connected to anything on the system41 $ref: /schemas/types.yaml#/definitions/uint3242 43patternProperties:44 "^.+-hog(-[0-9]+)?$":45 type: object46 47 required:48 - gpio-hog49 50additionalProperties: false51 52required:53 - compatible54 - "#gpio-cells"55 - "#interrupt-cells"56 - gpio-controller57 - interrupt-controller58