From: Krzysztof Kozlowski <krzk@kernel.org>
To: Svyatoslav Ryhel <clamor95@gmail.com>, Conor Dooley <conor@kernel.org>
Cc: "Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
"Lee Jones" <lee@kernel.org>, "Pavel Machek" <pavel@kernel.org>,
"Sebastian Reichel" <sre@kernel.org>,
"Ion Agorria" <ion@agorria.com>,
"Michał Mirosław" <mirq-linux@rere.qmqm.pl>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-input@vger.kernel.org, linux-leds@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH v3 1/7] dt-bindings: embedded-controller: document ASUS Transformer EC
Date: Tue, 17 Feb 2026 12:32:26 +0100 [thread overview]
Message-ID: <1519143e-4fc3-490d-ab8d-e65edd2c4eec@kernel.org> (raw)
In-Reply-To: <55C30023-4175-48F2-BCB0-12EC23C48F01@gmail.com>
On 17/02/2026 12:23, Svyatoslav Ryhel wrote:
>>> in other words you propose this:
>>>
>>> properties:
>>> compatible:
>>> oneOf:
>>> - items:
>>> - enum:
>>> - asus,sl101-ec-dock
>>> - asus,tf101-ec-dock
>>> - asus,tf101g-ec-dock
>>> - asus,tf201-ec-dock
>>> - asus,tf300t-ec-dock
>>> - asus,tf300tg-ec-dock
>>> - asus,tf300tl-ec-dock
>>> - asus,tf700t-ec-dock
>>> - const: asus,transformer-ec-dock
>>>
>>> - items:
>>> - enum:
>>> - asus,p1801-t-ec-pad
>>> - asus,tf201-ec-pad
>>> - asus,tf300t-ec-pad
>>> - asus,tf300tg-ec-pad
>>> - asus,tf300tl-ec-pad
>>> - asus,tf700t-ec-pad
>>> - asus,tf600t-ec-pad
>>> - asus,tf701t-ec-pad
>>> - const: asus,transformer-ec-pad
>>>
>>> And in the driver add match to every single entry of enums?
>>
>> No, I was talking about removing the generic compatibles entirely, since
>> they are not suitably generic to cover all devices at the point of
>> addition. So like:
>>
>
> Actually, they all can be grouped under asus,transformer-ec fallback if that is needed, both pad and dock EC have the same core functions just different set of cells. And then in the driver each compatible will get a dedicated matching data. Will this work?
Then what does the generic compatible express if it is not used by the SW.
Wrap your emails to mailing list style.
>
> properties:
> compatible:
> - items:
> - enum:
> - asus,p1801-t-ec-pad
> - asus,sl101-ec-dock
> - asus,tf101-ec-dock
> - asus,tf101g-ec-dock
> - asus,tf201-ec-dock
> - asus,tf201-ec-pad
> - asus,tf300t-ec-dock
> - asus,tf300t-ec-pad
> - asus,tf300tg-ec-dock
> - asus,tf300tg-ec-pad
> - asus,tf300tl-ec-dock
> - asus,tf300tl-ec-pad
> - asus,tf700t-ec-dock
> - asus,tf700t-ec-pad
> - asus,tf600t-ec-pad
> - asus,tf701t-ec-pad
> - const: asus,transformer-ec
>
> And them schema name will match the genetic compatible.
Then what does the generic compatible express?
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-02-17 11:32 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-14 18:09 [PATCH v3 0/7] mfd: Add support for Asus Transformer embedded controller Svyatoslav Ryhel
2026-02-14 18:09 ` [PATCH v3 1/7] dt-bindings: embedded-controller: document ASUS Transformer EC Svyatoslav Ryhel
2026-02-16 18:04 ` Conor Dooley
2026-02-16 18:22 ` Svyatoslav Ryhel
2026-02-16 18:50 ` Conor Dooley
2026-02-16 19:14 ` Svyatoslav Ryhel
2026-02-17 11:05 ` Conor Dooley
2026-02-17 11:23 ` Svyatoslav Ryhel
2026-02-17 11:32 ` Krzysztof Kozlowski [this message]
2026-02-17 11:34 ` Svyatoslav Ryhel
2026-02-17 14:03 ` Conor Dooley
2026-02-17 14:29 ` Svyatoslav Ryhel
2026-02-17 14:44 ` Krzysztof Kozlowski
2026-02-17 15:50 ` Conor Dooley
2026-02-17 14:01 ` Conor Dooley
2026-02-17 11:31 ` Krzysztof Kozlowski
2026-02-14 18:09 ` [PATCH v3 2/7] mfd: Add driver for ASUS Transformer embedded controller Svyatoslav Ryhel
2026-02-15 20:28 ` kernel test robot
2026-02-16 4:57 ` kernel test robot
2026-02-14 18:09 ` [PATCH v3 3/7] input: serio: Add driver for ASUS Transformer dock keyboard and touchpad Svyatoslav Ryhel
2026-02-14 18:09 ` [PATCH v3 4/7] input: keyboard: Add driver for ASUS Transformer dock multimedia keys Svyatoslav Ryhel
2026-02-14 18:09 ` [PATCH v3 5/7] leds: Add driver for ASUS Transformer LEDs Svyatoslav Ryhel
2026-02-14 18:09 ` [PATCH v3 6/7] power: supply: Add driver for ASUS Transformer battery Svyatoslav Ryhel
2026-02-14 18:09 ` [PATCH v3 7/7] power: supply: Add charger driver for Asus Transformers Svyatoslav Ryhel
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=1519143e-4fc3-490d-ab8d-e65edd2c4eec@kernel.org \
--to=krzk@kernel.org \
--cc=clamor95@gmail.com \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=ion@agorria.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mirq-linux@rere.qmqm.pl \
--cc=pavel@kernel.org \
--cc=robh@kernel.org \
--cc=sre@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