]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b173cd4f5ab8cdf89790bdda9224900b8637f5d
treeaa22386620ea066ee82297354ba59a844faaed83
parent35d965648b357b2f259e1ed1418f607c68043fb5
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]