From: Chris Morgan <macroalpha82@gmail.com>
To: linux-input@vger.kernel.org
Cc: devicetree@vger.kernel.org, contact@artur-rojek.eu,
maccraft123mc@gmail.com, heiko@sntech.de,
krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org,
dmitry.torokhov@gmail.com, paul@crapouillou.net,
jic23@kernel.org, linux-iio@vger.kernel.org,
Chris Morgan <macroalpha82@gmail.com>,
Chris Morgan <macromorgan@hotmail.com>
Subject: [PATCH v7 1/3] dt-bindings: adc-joystick: add poll-interval
Date: Tue, 5 Jul 2022 14:03:52 -0500 [thread overview]
Message-ID: <20220705190354.69263-2-macromorgan@hotmail.com> (raw)
In-Reply-To: <20220705190354.69263-1-macromorgan@hotmail.com>
From: Chris Morgan <macroalpha82@gmail.com>
Add poll-interval support for the adc-joystick documentation. This is
an optional value and if not provided the adc-joystick works as it
does today (with buffers). If this value is provided, the adc-joystick
driver is polled at the specified interval. The existing attribute of
"poll-interval" was used instead of complying with property-units.yaml
after discussion of the issue on the mailing list.
Signed-off-by: Maya Matuszczyk <maccraft123mc@gmail.com>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
Documentation/devicetree/bindings/input/adc-joystick.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/input/adc-joystick.yaml b/Documentation/devicetree/bindings/input/adc-joystick.yaml
index 2ee04e03bc22..ab5caad055ea 100644
--- a/Documentation/devicetree/bindings/input/adc-joystick.yaml
+++ b/Documentation/devicetree/bindings/input/adc-joystick.yaml
@@ -14,6 +14,9 @@ description: >
Bindings for joystick devices connected to ADC controllers supporting
the Industrial I/O subsystem.
+allOf:
+ - $ref: input.yaml#
+
properties:
compatible:
const: adc-joystick
@@ -28,6 +31,8 @@ properties:
https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml
for details.
+ poll-interval: true
+
'#address-cells':
const: 1
--
2.34.1
next prev parent reply other threads:[~2022-07-05 19:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-05 19:03 [PATCH v7 0/3] adc-joystick: Add polled support Chris Morgan
2022-07-05 19:03 ` Chris Morgan [this message]
2022-07-06 14:37 ` [PATCH v7 1/3] dt-bindings: adc-joystick: add poll-interval Rob Herring
2022-07-06 20:58 ` Artur Rojek
2022-07-05 19:03 ` [PATCH v7 2/3] Input: adc-joystick - Add polled input device support Chris Morgan
2022-07-06 19:45 ` Artur Rojek
2022-07-16 15:58 ` Jonathan Cameron
2022-07-18 11:32 ` Artur Rojek
2022-07-05 19:03 ` [PATCH v7 3/3] arm64: dts: rockchip: Update joystick to polled for OG2 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=20220705190354.69263-2-macromorgan@hotmail.com \
--to=macroalpha82@gmail.com \
--cc=contact@artur-rojek.eu \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=heiko@sntech.de \
--cc=jic23@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=maccraft123mc@gmail.com \
--cc=macromorgan@hotmail.com \
--cc=paul@crapouillou.net \
--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