From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Artur Rojek <contact@artur-rojek.eu>,
Chris Morgan <macroalpha82@gmail.com>
Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
maccraft123mc@gmail.com, heiko@sntech.de,
krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org,
dmitry.torokhov@gmail.com, Chris Morgan <macromorgan@hotmail.com>
Subject: Re: [PATCH v3 1/3] dt-bindings: adc-joystick: add adc-joystick,no-hardware-trigger
Date: Wed, 15 Jun 2022 10:23:55 -0700 [thread overview]
Message-ID: <450937fd-8067-21c3-344e-18769257ee10@linaro.org> (raw)
In-Reply-To: <a1deee0f1c8293b41f47ce2c6e988fd4@artur-rojek.eu>
On 14/06/2022 18:50, Artur Rojek wrote:
> On 2022-06-13 21:23, Chris Morgan wrote:
>> From: Chris Morgan <macromorgan@hotmail.com>
>>
>> Add documentation for adc-joystick,no-hardware-trigger. New device-tree
>> properties have been added.
>>
>> - adc-joystick,no-hardware-trigger: A boolean value noting the joystick
>> device should be polled rather than
>> use a triggered buffer.
>>
>> Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com>
>> Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
>> ---
>> .../devicetree/bindings/input/adc-joystick.yaml | 9 ++++++++-
>> 1 file changed, 8 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/input/adc-joystick.yaml
>> b/Documentation/devicetree/bindings/input/adc-joystick.yaml
>> index 2ee04e03bc22..627cc6c40191 100644
>> --- a/Documentation/devicetree/bindings/input/adc-joystick.yaml
>> +++ b/Documentation/devicetree/bindings/input/adc-joystick.yaml
>> @@ -12,12 +12,19 @@ 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
>>
>> + adc-joystick,no-hardware-trigger:
> I'm against using Device Tree for this functionality. See my reply to
> patch 2/3 for details.
I am surprised to see v3 after that comment...
> But in case we do end up going DT way, I would much prefer going with
> Rob's suggestion of using the existing `poll-interval` input property.
+1 here as well, if above does not work.
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-06-15 17:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-13 19:23 [PATCH v3 0/3] adc-joystick: Add polled support Chris Morgan
2022-06-13 19:23 ` [PATCH v3 1/3] dt-bindings: adc-joystick: add adc-joystick,no-hardware-trigger Chris Morgan
2022-06-15 1:50 ` Artur Rojek
2022-06-15 17:23 ` Krzysztof Kozlowski [this message]
2022-06-15 18:09 ` Chris Morgan
2022-06-13 19:23 ` [PATCH v3 2/3] Input: adc-joystick - Add polled input device support Chris Morgan
2022-06-15 1:43 ` Artur Rojek
2022-06-15 15:12 ` Chris Morgan
2022-06-18 13:08 ` Artur Rojek
2022-06-19 15:32 ` Jonathan Cameron
2022-06-19 16:31 ` Artur Rojek
2022-06-21 21:41 ` Chris Morgan
2022-06-25 14:26 ` Jonathan Cameron
2022-06-19 15:19 ` Jonathan Cameron
2022-06-13 19:23 ` [PATCH v3 3/3] arm64: dts: rockchip: Update joystick to polled for Odroid-Go2 Chris Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=450937fd-8067-21c3-344e-18769257ee10@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=contact@artur-rojek.eu \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=heiko@sntech.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-input@vger.kernel.org \
--cc=maccraft123mc@gmail.com \
--cc=macroalpha82@gmail.com \
--cc=macromorgan@hotmail.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).