On Wed, Jun 01, 2022 at 09:44:43PM +0200, Artur Rojek wrote: > On 2022-06-01 21:17, Chris Morgan wrote: > > From: Chris Morgan <macromorgan@xxxxxxxxxxx> > > Hi Chris, > > > > > Add devicetree bindings for adc-joystick-polled. > > > > Signed-off-by: Maya Matuszczyk <maccraft123mc@xxxxxxxxx> > > Signed-off-by: Chris Morgan <macromorgan@xxxxxxxxxxx> > > --- > > Documentation/devicetree/bindings/input/adc-joystick.yaml | 8 ++++++-- > > 1 file changed, 6 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/input/adc-joystick.yaml > > b/Documentation/devicetree/bindings/input/adc-joystick.yaml > > index 2ee04e03bc22..a9d2ac157322 100644 > > --- a/Documentation/devicetree/bindings/input/adc-joystick.yaml > > +++ b/Documentation/devicetree/bindings/input/adc-joystick.yaml > > @@ -12,11 +12,15 @@ maintainers: > > > > description: > > > Bindings for joystick devices connected to ADC controllers supporting > > - the Industrial I/O subsystem. > > + the Industrial I/O subsystem. Supports both polled devices where no > > + iio trigger is available and non-polled devices which are triggered > > + by iio. > > > > properties: > > compatible: > > - const: adc-joystick > > + enum: > > + - adc-joystick > > + - adc-joystick-polled > > There is no need to create a new compatible for your functionality. Instead, > just add a new (optional) property. Perhaps the already defined for input devices 'poll-interval'. Rob