Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / gpio / st,stmpe-gpio.yaml
blob4555f1644a4dfef31fa97303bf27ea83c5e80fdb
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/gpio/st,stmpe-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectonics Port Expander (STMPE) GPIO Block
9 description:
10   STMicroelectronics Port Expander (STMPE) is a series of slow
11   bus controllers for various expanded peripherals such as GPIO, keypad,
12   touchscreen, ADC, PWM or rotator. It can contain one or several different
13   peripherals connected to SPI or I2C. These bindings pertain to the
14   GPIO portions of these expanders.
16 maintainers:
17   - Linus Walleij <linus.walleij@linaro.org>
19 properties:
20   compatible:
21     const: st,stmpe-gpio
23   "#gpio-cells":
24     const: 2
26   "#interrupt-cells":
27     const: 2
29   gpio-controller: true
31   gpio-line-names:
32     minItems: 1
33     maxItems: 24
35   interrupt-controller: true
37   st,norequest-mask:
38     description:
39       A bitmask of GPIO lines that cannot be requested because for
40       for example not being connected to anything on the system
41     $ref: /schemas/types.yaml#/definitions/uint32
43 patternProperties:
44   "^.+-hog(-[0-9]+)?$":
45     type: object
47     required:
48       - gpio-hog
50 additionalProperties: false
52 required:
53   - compatible
54   - "#gpio-cells"
55   - "#interrupt-cells"
56   - gpio-controller
57   - interrupt-controller