From: Rob Herring <robh@kernel.org>
To: Doug Anderson <dianders@chromium.org>
Cc: Chen-Yu Tsai <wenst@chromium.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Benson Leung <bleung@chromium.org>,
Tzung-Bi Shih <tzungbi@kernel.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
chrome-platform@lists.linux.dev, linux-input@vger.kernel.org
Subject: Re: [PATCH 1/8] dt-bindings: HID: i2c-hid: elan: Introduce Elan eKTH8D18
Date: Fri, 14 Mar 2025 18:42:48 -0500 [thread overview]
Message-ID: <20250314234248.GA2536020-robh@kernel.org> (raw)
In-Reply-To: <CAD=FV=X14XEdikE3hP4y53uZec12O_ZPtU+GyJ+Tf8R3DK89AA@mail.gmail.com>
On Fri, Mar 14, 2025 at 02:58:36PM -0700, Doug Anderson wrote:
> Hi,
>
>
> On Wed, Mar 12, 2025 at 3:43 AM Chen-Yu Tsai <wenst@chromium.org> wrote:
> >
> > The Elan eKTH8D18 touchscreen controller is an I2C HID device with a
> > longer boot-up time. Power sequence timing wise it is compatible with
> > the eKTH6A12NAY, with a power-on delay of at least 5ms, 20ms
> > out-of-reset for I2C ack response, and 150ms out-of-reset for I2C HID
> > enumeration. Enumeration and subsequent operation follows the I2C HID
> > standard. The eKTH6A12NAY requires longer times for both parts.
>
> Somehow the last sentence above confused me. Can it just be dropped?
> All you care about is that the new trackpad matches the timings for
> "eKTH6A12NAY". Not sure what you mean by "eKTH6A12NAY" needing
> "longer" timings.
>
>
> > Add a compatible string for it with the ekth6a12nay one as a fallback.
> >
> > Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
> > ---
> > .../bindings/input/elan,ekth6915.yaml | 29 ++++++++++++++++---
> > 1 file changed, 25 insertions(+), 4 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml
> > index cb3e1801b0d3..81c391952ccc 100644
> > --- a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml
> > +++ b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml
> > @@ -4,14 +4,14 @@
> > $id: http://devicetree.org/schemas/input/elan,ekth6915.yaml#
> > $schema: http://devicetree.org/meta-schemas/core.yaml#
> >
> > -title: Elan eKTH6915 touchscreen controller
> > +title: Elan I2C-HID touchscreen controllers
> >
> > maintainers:
> > - Douglas Anderson <dianders@chromium.org>
> >
> > description:
> > - Supports the Elan eKTH6915 touchscreen controller.
> > - This touchscreen controller uses the i2c-hid protocol with a reset GPIO.
> > + Supports the Elan eKTH6915 and other I2C-HID touchscreen controllers.
> > + These touchscreen controller use the i2c-hid protocol with a reset GPIO.
> >
> > allOf:
> > - $ref: /schemas/input/touchscreen/touchscreen.yaml#
> > @@ -23,12 +23,18 @@ properties:
> > - enum:
> > - elan,ekth5015m
> > - const: elan,ekth6915
> > + - items:
> > + - enum:
> > + - elan,ekth8d18
> > + - const: elan,ekth6a12nay
>
> The "enum" above is weird, but it matches what we did for
> "elan,ekth5015m" so I guess it's fine? I'd leave it up to bindings
> maintainers. I guess the assumption is that we might add additional
> touchscreens to the list...
Yes, but up to you all if that's a valid assumption.
>
>
> > reg:
> > - const: 0x10
> > + enum:
> > + - 0x10
> > + - 0x16
>
> Again happy to leave it to the bindings maintainers, but _maybe_ just
> drop the "reg" parts here and below. It doesn't really have to be part
> of the bindings.
I tend to agree. Sometimes we list I2C addresses as that is part of the
device whereas elsewhere it is not. I don't know that it's worth the
if/then schema in this case.
Rob
next prev parent reply other threads:[~2025-03-14 23:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-12 10:43 [PATCH 0/8] arm64: mediatek: mt8186-corsola: Consolidate and add new devices Chen-Yu Tsai
2025-03-12 10:43 ` [PATCH 1/8] dt-bindings: HID: i2c-hid: elan: Introduce Elan eKTH8D18 Chen-Yu Tsai
2025-03-14 21:58 ` Doug Anderson
2025-03-14 23:42 ` Rob Herring [this message]
2025-03-12 10:43 ` [PATCH 2/8] dt-bindings: arm: mediatek: Merge MT8186 Voltorb entries Chen-Yu Tsai
2025-03-14 23:43 ` Rob Herring (Arm)
2025-03-12 10:43 ` [PATCH 3/8] dt-bindings: arm: mediatek: Add MT8186 Squirtle Chromebooks Chen-Yu Tsai
2025-03-14 23:43 ` Rob Herring (Arm)
2025-03-12 10:43 ` [PATCH 4/8] arm64: dts: mediatek: mt8186-steelix: Mark second source components for probing Chen-Yu Tsai
2025-03-12 10:43 ` [PATCH 5/8] arm64: dts: mediatek: mt8186: Merge Voltorb device trees Chen-Yu Tsai
2025-03-12 10:43 ` [PATCH 6/8] arm64: dts: mediatek: mt8186: Add Squirtle Chromebooks Chen-Yu Tsai
2025-03-12 10:43 ` [PATCH 7/8] platform/chrome: of_hw_prober: Support trackpad probing on Corsola family Chen-Yu Tsai
2025-03-12 10:43 ` [PATCH 8/8] platform/chrome: of_hw_prober: Support touchscreen probing on Squirtle Chen-Yu Tsai
2025-03-12 13:07 ` [PATCH 0/8] arm64: mediatek: mt8186-corsola: Consolidate and add new devices Rob Herring (Arm)
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=20250314234248.GA2536020-robh@kernel.org \
--to=robh@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bleung@chromium.org \
--cc=chrome-platform@lists.linux.dev \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=dmitry.torokhov@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=tzungbi@kernel.org \
--cc=wenst@chromium.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 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.