From: Benson Leung <bleung@google.com>
To: Chen-Yu Tsai <wenst@chromium.org>
Cc: Rob Herring <robh@kernel.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,
Douglas Anderson <dianders@chromium.org>
Subject: Re: [PATCH v2 8/8] platform/chrome: of_hw_prober: Support touchscreen probing on Squirtle
Date: Mon, 28 Apr 2025 19:45:01 +0000 [thread overview]
Message-ID: <aA_avWpDUMAvbRBu@google.com> (raw)
In-Reply-To: <20250421101248.426929-9-wenst@chromium.org>
[-- Attachment #1: Type: text/plain, Size: 2270 bytes --]
On Mon, Apr 21, 2025 at 06:12:46PM +0800, Chen-Yu Tsai wrote:
> The MT8186 Squirtle Chromebook is built with one of two possible
> touchscreens. Let the prober probe for them.
>
> Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
> ---
> drivers/platform/chrome/chromeos_of_hw_prober.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/drivers/platform/chrome/chromeos_of_hw_prober.c b/drivers/platform/chrome/chromeos_of_hw_prober.c
> index 10dbaede0541..f3cd612e5584 100644
> --- a/drivers/platform/chrome/chromeos_of_hw_prober.c
> +++ b/drivers/platform/chrome/chromeos_of_hw_prober.c
> @@ -59,6 +59,7 @@ static int chromeos_i2c_component_prober(struct device *dev, const void *_data)
> DEFINE_CHROMEOS_I2C_PROBE_DATA_DUMB_BY_TYPE(touchscreen);
> DEFINE_CHROMEOS_I2C_PROBE_DATA_DUMB_BY_TYPE(trackpad);
>
> +DEFINE_CHROMEOS_I2C_PROBE_CFG_SIMPLE_BY_TYPE(touchscreen);
> DEFINE_CHROMEOS_I2C_PROBE_CFG_SIMPLE_BY_TYPE(trackpad);
>
> static const struct chromeos_i2c_probe_data chromeos_i2c_probe_hana_trackpad = {
> @@ -76,6 +77,17 @@ static const struct chromeos_i2c_probe_data chromeos_i2c_probe_hana_trackpad = {
> },
> };
>
> +static const struct chromeos_i2c_probe_data chromeos_i2c_probe_squirtle_touchscreen = {
> + .cfg = &chromeos_i2c_probe_simple_touchscreen_cfg,
> + .opts = &(const struct i2c_of_probe_simple_opts) {
> + .res_node_compatible = "elan,ekth6a12nay",
> + .supply_name = "vcc33",
> + .gpio_name = "reset",
> + .post_power_on_delay_ms = 10,
> + .post_gpio_config_delay_ms = 300,
> + },
> +};
> +
> static const struct hw_prober_entry hw_prober_platforms[] = {
> {
> .compatible = "google,hana",
> @@ -93,6 +105,10 @@ static const struct hw_prober_entry hw_prober_platforms[] = {
> .compatible = "google,squirtle",
> .prober = chromeos_i2c_component_prober,
> .data = &chromeos_i2c_probe_dumb_trackpad,
> + }, {
> + .compatible = "google,squirtle",
> + .prober = chromeos_i2c_component_prober,
> + .data = &chromeos_i2c_probe_squirtle_touchscreen,
> }, {
> .compatible = "google,steelix",
> .prober = chromeos_i2c_component_prober,
> --
> 2.49.0.805.g082f7c87e0-goog
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-04-28 19:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-21 10:12 [PATCH v2 0/8] arm64: mediatek: mt8186-corsola: Consolidate and add new devices Chen-Yu Tsai
2025-04-21 10:12 ` [PATCH v2 1/8] dt-bindings: HID: i2c-hid: elan: Introduce Elan eKTH8D18 Chen-Yu Tsai
2025-04-22 13:57 ` AngeloGioacchino Del Regno
2025-04-23 15:45 ` Rob Herring (Arm)
2025-04-28 19:32 ` Doug Anderson
2025-06-06 7:50 ` Chen-Yu Tsai
2025-04-21 10:12 ` [PATCH v2 2/8] dt-bindings: arm: mediatek: Merge MT8186 Voltorb entries Chen-Yu Tsai
2025-04-22 13:57 ` AngeloGioacchino Del Regno
2025-04-28 19:38 ` Benson Leung
2025-04-21 10:12 ` [PATCH v2 3/8] dt-bindings: arm: mediatek: Add MT8186 Squirtle Chromebooks Chen-Yu Tsai
2025-04-22 13:57 ` AngeloGioacchino Del Regno
2025-04-28 19:38 ` Benson Leung
2025-04-21 10:12 ` [PATCH v2 4/8] arm64: dts: mediatek: mt8186-steelix: Mark second source components for probing Chen-Yu Tsai
2025-04-22 13:57 ` AngeloGioacchino Del Regno
2025-04-21 10:12 ` [PATCH v2 5/8] arm64: dts: mediatek: mt8186: Merge Voltorb device trees Chen-Yu Tsai
2025-04-22 13:57 ` AngeloGioacchino Del Regno
2025-04-21 10:12 ` [PATCH v2 6/8] arm64: dts: mediatek: mt8186: Add Squirtle Chromebooks Chen-Yu Tsai
2025-04-22 13:57 ` AngeloGioacchino Del Regno
2025-04-21 10:12 ` [PATCH v2 7/8] platform/chrome: of_hw_prober: Support trackpad probing on Corsola family Chen-Yu Tsai
2025-04-22 13:57 ` AngeloGioacchino Del Regno
2025-04-28 19:45 ` Benson Leung
2025-04-21 10:12 ` [PATCH v2 8/8] platform/chrome: of_hw_prober: Support touchscreen probing on Squirtle Chen-Yu Tsai
2025-04-22 13:57 ` AngeloGioacchino Del Regno
2025-04-28 19:45 ` Benson Leung [this message]
2025-04-21 15:07 ` [PATCH v2 0/8] arm64: mediatek: mt8186-corsola: Consolidate and add new devices Rob Herring (Arm)
2025-04-25 2:20 ` (subset) " Tzung-Bi Shih
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=aA_avWpDUMAvbRBu@google.com \
--to=bleung@google.com \
--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=robh@kernel.org \
--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.