dt-bindings: mfd: Convert STMPE to YAML schema
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 9 Jul 2023 21:48:19 +0000 (23:48 +0200)
committerLee Jones <lee@kernel.org>
Fri, 18 Aug 2023 20:48:01 +0000 (21:48 +0100)
commite10038ce1ba91874b487aa9c86b64ad813e5cc47
tree30935bd1048de09c8d097a713c090d3e864b911e
parent2459f4dfe5529f8b847f452473e2da08a8fc9fe5
dt-bindings: mfd: Convert STMPE to YAML schema

This converts the STMPE MFD device tree bindings to the YAML
schema.

Reference the existing schema for the ADC, just define the
other subnode schemas directly in the MFD schema.

Add two examples so we have examples covering both the simple
GPIO expander and the more complex with ADC and touchscreen.

Some in-tree users do not follow the naming conventions for nodes
so these DTS files need to be augmented to use proper node names
like "adc", "pwm", "gpio", "keyboard-controller" etc before the
bindings take effect on them.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230709-stmpe-dt-bindings-v5-1-34a3d6ee1e57@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/input/stmpe-keypad.txt [deleted file]
Documentation/devicetree/bindings/input/touchscreen/stmpe.txt [deleted file]
Documentation/devicetree/bindings/mfd/st,stmpe.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/mfd/stmpe.txt [deleted file]