dt-bindings: input: Convert gpio-keys bindings to schema
authorRob Herring <robh@kernel.org>
Tue, 19 Nov 2019 14:16:58 +0000 (08:16 -0600)
committerRob Herring <robh@kernel.org>
Thu, 16 Apr 2020 21:59:16 +0000 (16:59 -0500)
commitfbfb9a60d5d0d6744c324c2b0640144c329a1d18
treeaa22386620ea066ee82297354ba59a844faaed83
parentbefc8236a74feb912e5f02ae6764f5400297b2d6
dt-bindings: input: Convert gpio-keys bindings to schema

Convert the gpio-keys and gpio-keys-polled bindings to a DT schema. As
both bindings are almost the same, combine them into a single schema.

The binding said 'interrupts' was required, but testing on dts files
showed that it isn't required.

'linux,input-value' was only documented for gpio-keys-polled, but there
doesn't seem to be any reason for it to be specific to that. It can work
for gpio-keys too if the GPIO line(s) are available.

Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/input/gpio-keys-polled.txt [deleted file]
Documentation/devicetree/bindings/input/gpio-keys.txt [deleted file]
Documentation/devicetree/bindings/input/gpio-keys.yaml [new file with mode: 0644]