From: "Duje Mihanović" <duje.mihanovic@skole.hr>
To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Markuss Broks <markuss.broks@gmail.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Karel Balej <balejk@matfyz.cz>,
~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, devicetree@vger.kernel.org,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/3] dt-bindings: input: imagis: Document touch keys
Date: Mon, 22 Jan 2024 17:25:05 +0100 [thread overview]
Message-ID: <8366736.NyiUUSuA9g@radijator> (raw)
In-Reply-To: <acd64ed2-c36b-45e5-a71e-98c98ff1cb74@linaro.org>
On Monday, January 22, 2024 11:27:09 AM CET Krzysztof Kozlowski wrote:
> On 20/01/2024 22:16, Duje Mihanović wrote:
> > diff --git
> > a/Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml
> > b/Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml
> > index 2af71cbcc97d..960e5436642f 100644
> > ---
> > a/Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml
> > +++
> > b/Documentation/devicetree/bindings/input/touchscreen/
imagis,ist3038c.yaml>
> > @@ -42,6 +42,17 @@ properties:
> > touchscreen-inverted-y: true
> > touchscreen-swapped-x-y: true
> >
> > +if:
> Move allOf here and keep it under allOf.
>
> > + properties:
> > + compatible:
> > + contains:
> > + const: imagis,ist3032c
> > +then:
> > + properties:
>
> > + linux,keycodes:
> No, this property is not allowed by your binding. I doubt this was
> really tested.
>
> Anyway, even if it works, it's not what we expect. Where is the property
> defined?
I was under the impression that it can be defined inside the if statement
since "make dt_binding_check" ran without any errors. If that's wrong, I'm not
sure how else to make the property valid only for ist3032c (the two devices
using ist3038c, samsung-j5 and j5x seem to have tm2-touchkey instead).
Regards,
--
Duje
next prev parent reply other threads:[~2024-01-22 16:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-20 21:16 [PATCH v2 0/3] Imagis touch keys and FIELD_GET cleanup Duje Mihanović
2024-01-20 21:16 ` [PATCH v2 1/3] input: touchscreen: imagis: use FIELD_GET where applicable Duje Mihanović
2024-01-20 21:16 ` [PATCH v2 2/3] dt-bindings: input: imagis: Document touch keys Duje Mihanović
2024-01-22 10:27 ` Krzysztof Kozlowski
2024-01-22 16:25 ` Duje Mihanović [this message]
2024-01-20 21:16 ` [PATCH v2 3/3] input: touchscreen: imagis: Add touch key support Duje Mihanović
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=8366736.NyiUUSuA9g@radijator \
--to=duje.mihanovic@skole.hr \
--cc=balejk@matfyz.cz \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=markuss.broks@gmail.com \
--cc=phone-devel@vger.kernel.org \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).