• Rob Herring's avatar
    dt-bindings: input: Convert gpio-keys bindings to schema · fbfb9a60
    Rob Herring authored
    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: default avatarRob Herring <robh@kernel.org>
    fbfb9a60
gpio-keys.yaml 3.78 KB