mbox series

[v2,0/5] dt-bindings: input: Common property clean-ups and adc-keys conversion

Message ID 20220608211207.2058487-1-robh@kernel.org
Headers show
Series dt-bindings: input: Common property clean-ups and adc-keys conversion | expand

Message

Rob Herring June 8, 2022, 9:12 p.m. UTC
This series refactors the common 'linux,code', 'linux,keycodes', and
'linux,input-type' properties defined in various binding schemas. As the
properties are common, they should only have a single common schema type
definition. Note that 'linux,input-value' was not included here as it is
only used in 1 binding (gpio-keys).

The clean-ups are are result of the discussion on v1 of the adc-keys
binding conversion[1].

Rob

[1] https://lore.kernel.org/all/20220606184243.1057145-1-robh@kernel.org/


Rob Herring (5):
  dt-bindings: input: Increase maximum keycode value to 0x2ff
  dt-bindings: input: Centralize 'linux,code' definition
  dt-bindings: input: Use common 'linux,keycodes' definition
  dt-bindings: input: Centralize 'linux,input-type' definition
  dt-bindings: input: Convert adc-keys to DT schema

 .../bindings/input/adc-joystick.yaml          |   2 +-
 .../devicetree/bindings/input/adc-keys.txt    |  67 ------------
 .../devicetree/bindings/input/adc-keys.yaml   | 103 ++++++++++++++++++
 .../input/allwinner,sun4i-a10-lradc-keys.yaml |   5 +-
 .../bindings/input/azoteq,iqs7222.yaml        |   8 +-
 .../devicetree/bindings/input/gpio-keys.yaml  |   8 +-
 .../devicetree/bindings/input/input.yaml      |  24 +++-
 .../devicetree/bindings/input/iqs269a.yaml    |  15 +--
 .../devicetree/bindings/input/iqs626a.yaml    |  11 +-
 .../bindings/input/iqs62x-keys.yaml           |   9 +-
 .../bindings/input/max77650-onkey.yaml        |   8 +-
 11 files changed, 150 insertions(+), 110 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/input/adc-keys.txt
 create mode 100644 Documentation/devicetree/bindings/input/adc-keys.yaml

Comments

Dmitry Torokhov July 8, 2022, 10:20 p.m. UTC | #1
On Tue, Jun 28, 2022 at 11:51:37AM -0600, Rob Herring wrote:
> On Wed, Jun 08, 2022 at 03:12:02PM -0600, Rob Herring wrote:
> > This series refactors the common 'linux,code', 'linux,keycodes', and
> > 'linux,input-type' properties defined in various binding schemas. As the
> > properties are common, they should only have a single common schema type
> > definition. Note that 'linux,input-value' was not included here as it is
> > only used in 1 binding (gpio-keys).
> > 
> > The clean-ups are are result of the discussion on v1 of the adc-keys
> > binding conversion[1].
> > 
> > Rob
> > 
> > [1] https://lore.kernel.org/all/20220606184243.1057145-1-robh@kernel.org/
> > 
> > 
> > Rob Herring (5):
> >   dt-bindings: input: Increase maximum keycode value to 0x2ff
> >   dt-bindings: input: Centralize 'linux,code' definition
> >   dt-bindings: input: Use common 'linux,keycodes' definition
> >   dt-bindings: input: Centralize 'linux,input-type' definition
> >   dt-bindings: input: Convert adc-keys to DT schema
> 
> Dmitry, Any comments on this?

Sorry, applied the lot, thank you.