1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*f126890aSEmmanuel Vadot%YAML 1.2 3*f126890aSEmmanuel Vadot--- 4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/gpio/st,stmpe-gpio.yaml# 5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadottitle: STMicroelectonics Port Expander (STMPE) GPIO Block 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadotdescription: 10*f126890aSEmmanuel Vadot STMicroelectronics Port Expander (STMPE) is a series of slow 11*f126890aSEmmanuel Vadot bus controllers for various expanded peripherals such as GPIO, keypad, 12*f126890aSEmmanuel Vadot touchscreen, ADC, PWM or rotator. It can contain one or several different 13*f126890aSEmmanuel Vadot peripherals connected to SPI or I2C. These bindings pertain to the 14*f126890aSEmmanuel Vadot GPIO portions of these expanders. 15*f126890aSEmmanuel Vadot 16*f126890aSEmmanuel Vadotmaintainers: 17*f126890aSEmmanuel Vadot - Linus Walleij <linus.walleij@linaro.org> 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadotproperties: 20*f126890aSEmmanuel Vadot compatible: 21*f126890aSEmmanuel Vadot const: st,stmpe-gpio 22*f126890aSEmmanuel Vadot 23*f126890aSEmmanuel Vadot "#gpio-cells": 24*f126890aSEmmanuel Vadot const: 2 25*f126890aSEmmanuel Vadot 26*f126890aSEmmanuel Vadot "#interrupt-cells": 27*f126890aSEmmanuel Vadot const: 2 28*f126890aSEmmanuel Vadot 29*f126890aSEmmanuel Vadot gpio-controller: true 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadot interrupt-controller: true 32*f126890aSEmmanuel Vadot 33*f126890aSEmmanuel Vadot st,norequest-mask: 34*f126890aSEmmanuel Vadot description: 35*f126890aSEmmanuel Vadot A bitmask of GPIO lines that cannot be requested because for 36*f126890aSEmmanuel Vadot for example not being connected to anything on the system 37*f126890aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 38*f126890aSEmmanuel Vadot 39*f126890aSEmmanuel VadotpatternProperties: 40*f126890aSEmmanuel Vadot "^.+-hog(-[0-9]+)?$": 41*f126890aSEmmanuel Vadot type: object 42*f126890aSEmmanuel Vadot 43*f126890aSEmmanuel Vadot required: 44*f126890aSEmmanuel Vadot - gpio-hog 45*f126890aSEmmanuel Vadot 46*f126890aSEmmanuel VadotadditionalProperties: false 47*f126890aSEmmanuel Vadot 48*f126890aSEmmanuel Vadotrequired: 49*f126890aSEmmanuel Vadot - compatible 50*f126890aSEmmanuel Vadot - "#gpio-cells" 51*f126890aSEmmanuel Vadot - "#interrupt-cells" 52*f126890aSEmmanuel Vadot - gpio-controller 53*f126890aSEmmanuel Vadot - interrupt-controller 54