mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gergo Koteles <soyer@irl.hu>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Arnd Bergmann <arnd@arndb.de>,
	Griffin Kroah-Hartman <griffin.kroah@fairphone.com>,
	Enrico Cic <enrico@privacyrequired.com>,
	linux-input@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	phone-devel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH 1/3] dt-bindings: input: Add compatibility for Awinic AW86224
Date: Wed, 28 Oct 2026 21:31:46 +0100	[thread overview]
Message-ID: <7b293547b11817297f54ac36d3a441aa26e2eec3.camel@irl.hu> (raw)
In-Reply-To: <20261028-invisible-malachite-agouti-99fcf6@quoll>

Hi Krzysztof,

On Wed, 2026-10-28 at 12:06 +0100, Krzysztof Kozlowski wrote:
> On Tue, Oct 27, 2026 at 11:01:23PM +0100, Gergo Koteles wrote:
> > Add the AW86224 haptic driver to the binding documentation for the
> > AW86927 and AW86938, as this binding needs the same properties.
> > 
> > They are not compatible though, because the chip identification works
> > differently compared to the 86927/86938
> > 
> > Signed-off-by: Gergo Koteles <soyer@irl.hu>
> > ---
> >  Documentation/devicetree/bindings/input/awinic,aw86927.yaml | 6 ++----
> >  1 file changed, 2 insertions(+), 4 deletions(-)
> > 
> > diff --git a/Documentation/devicetree/bindings/input/awinic,aw86927.yaml b/Documentation/devicetree/bindings/input/awinic,aw86927.yaml
> > index bd74b81488f6..655633527c01 100644
> > --- a/Documentation/devicetree/bindings/input/awinic,aw86927.yaml
> > +++ b/Documentation/devicetree/bindings/input/awinic,aw86927.yaml
> > @@ -12,11 +12,9 @@ maintainers:
> >  properties:
> >    compatible:
> >      oneOf:
> > +      - const: awinic,aw86224
> >        - const: awinic,aw86927
> > -      - items:
> > -          - enum:
> > -              - awinic,aw86938
> > -          - const: awinic,aw86927
> > +      - const: awinic,aw86938
> 
> I do not understand why you are changing this and commit msg is not
> explaining that. You only say that new device is not compatible, but how
> is that relevant for existing binding? Anyway, separate commits with
> separate reasoning.
> 

Thanks for the review.

There was some confusion regarding this in my head, but I now
understand that it validates the entire compatible array.
I will add it accordingly in v2.

Best regards,
Gergo

  reply	other threads:[~2026-10-28 20:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27 22:01 [PATCH 0/3] AW86224 haptic driver Gergo Koteles
2026-10-27 22:01 ` [PATCH 1/3] dt-bindings: input: Add compatibility for Awinic AW86224 Gergo Koteles
2026-10-28 11:06   ` Krzysztof Kozlowski
2026-10-28 20:31     ` Gergo Koteles [this message]
2026-10-27 22:01 ` [PATCH 2/3] Input: aw86224 - add driver " Gergo Koteles
2026-10-27 22:01 ` [PATCH 3/3] arm64: dts: qcom: sm7325-motorola-dubai: Add vibrator support Gergo Koteles
2026-10-28 11:08   ` Krzysztof Kozlowski
2026-10-28 12:04     ` Konrad Dybcio
2026-10-28 20:32       ` Gergo Koteles

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=7b293547b11817297f54ac36d3a441aa26e2eec3.camel@irl.hu \
    --to=soyer@irl.hu \
    --cc=andersson@kernel.org \
    --cc=arnd@arndb.de \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=enrico@privacyrequired.com \
    --cc=griffin.kroah@fairphone.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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

all inboxes | Powered by JetHome®