From: Rob Herring <robh@kernel.org>
To: Griffin Kroah-Hartman <griffin.kroah@fairphone.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Luca Weiss <luca.weiss@fairphone.com>,
linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: input: Add bindings for Awinic AW86927
Date: Wed, 6 Aug 2025 19:08:01 -0500 [thread overview]
Message-ID: <20250807000801.GA2081012-robh@kernel.org> (raw)
In-Reply-To: <20250806-aw86927-v1-1-23d8a6d0f2b2@fairphone.com>
On Wed, Aug 06, 2025 at 05:10:08PM +0200, Griffin Kroah-Hartman wrote:
> Add bindings for the Awinic AW86927 haptic chip which can be found in
> smartphones.
>
> Signed-off-by: Griffin Kroah-Hartman <griffin.kroah@fairphone.com>
> ---
> .../devicetree/bindings/input/awinic,aw86927.yaml | 48 ++++++++++++++++++++++
> 1 file changed, 48 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/input/awinic,aw86927.yaml b/Documentation/devicetree/bindings/input/awinic,aw86927.yaml
> new file mode 100644
> index 000000000000..43012f28d9aa
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/awinic,aw86927.yaml
> @@ -0,0 +1,48 @@
> +# SPDX-License-Identifier: (GPL-2.0-only)
Dual license please: OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/input/awinic,aw86927.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Awinic AW86927 LRA Haptics driver
The binding is for a device, not a driver. So drop 'driver'.
Otherwise, looks good.
> +
> +maintainers:
> + - Griffin Kroah-Hartman <griffin.kroah@fairphone.com>
> +
> +properties:
> + compatible:
> + const: awinic,aw86927
> +
> + reg:
> + maxItems: 1
> +
> + reset-gpios:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - reset-gpios
> + - interrupts
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + vibrator@5a {
> + compatible = "awinic,aw86927";
> + reg = <0x5a>;
> + interrupts-extended = <&tlmm 101 IRQ_TYPE_EDGE_FALLING>;
> + reset-gpios = <&tlmm 100 GPIO_ACTIVE_LOW>;
> + };
> + };
>
> --
> 2.43.0
>
next prev parent reply other threads:[~2025-08-07 0:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-06 15:10 [PATCH 0/3] Add support for Awinic AW86927 haptic driver Griffin Kroah-Hartman
2025-08-06 15:10 ` [PATCH 1/3] dt-bindings: input: Add bindings for Awinic AW86927 Griffin Kroah-Hartman
2025-08-07 0:08 ` Rob Herring [this message]
2025-08-06 15:10 ` [PATCH 2/3] Input: aw86927 - add driver " Griffin Kroah-Hartman
2025-08-06 15:28 ` Alexey Klimov
2025-08-06 15:10 ` [PATCH 3/3] arm64: dts: qcom: qcm6490-fairphone-fp5: Add vibrator support Griffin Kroah-Hartman
2025-08-06 15:13 ` Konrad Dybcio
2025-08-06 15:20 ` Luca Weiss
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=20250807000801.GA2081012-robh@kernel.org \
--to=robh@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=griffin.kroah@fairphone.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.weiss@fairphone.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.