* [PATCH] usb: typec: ucsi: do not register UCSI on Lenovo Legion Pro 7 16IAX10H
@ 2026-08-26 3:46 Huang Wei
2026-08-26 3:58 ` Alex
2026-08-26 13:31 ` [PATCH v2] " Huang Wei
0 siblings, 2 replies; 6+ messages in thread
From: Huang Wei @ 2026-08-26 3:46 UTC (permalink / raw)
To: heikki.krogerus; +Cc: gregkh, linux-usb, linux-kernel, Huang Wei, Alex Bartz
The EC firmware of the Lenovo Legion Pro 7 16IAX10H (DMI product name
83F5) has a broken UCSI implementation: GET_PDOS returns no source
capabilities, GET_CONNECTOR_STATUS reports an incomplete RDO, and any
UCSI traffic disturbs the EC's autonomous USB-C Power Delivery
negotiation. With ucsi_acpi bound, chargers connect only briefly and
then drop, and voltage_now reads 0; with the driver blacklisted, the
EC negotiates full PD contracts on its own and charging works normally.
The problem is unaffected by BIOS updates up to Q7CN78WW (2026-04).
The AMD sibling Legion Pro 7 16AFR10H (product name 83RU) reportedly
uses the same EC firmware, but it is left out of the quirk until the
failure is confirmed on that model.
Skip probe on this machine, which is equivalent to the blacklist
workaround the reporter verified to restore charging.
Reported-by: Alex Bartz <alex@alstergee.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221142
Signed-off-by: Huang Wei <huangwei@kylinos.cn>
---
drivers/usb/typec/ucsi/ucsi_acpi.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/drivers/usb/typec/ucsi/ucsi_acpi.c b/drivers/usb/typec/ucsi/ucsi_acpi.c
index 18286d3e9cc5..9f36f8cfce4a 100644
--- a/drivers/usb/typec/ucsi/ucsi_acpi.c
+++ b/drivers/usb/typec/ucsi/ucsi_acpi.c
@@ -173,6 +173,21 @@ static const struct dmi_system_id ucsi_acpi_quirks[] = {
{ }
};
+/*
+ * Platforms with a completely broken UCSI implementation in firmware.
+ * Do not register UCSI at all on these machines.
+ */
+static const struct dmi_system_id ucsi_acpi_ignore[] = {
+ {
+ /* Lenovo Legion Pro 7 16IAX10H: broken EC UCSI firmware */
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "83F5"),
+ },
+ },
+ { }
+};
+
static void ucsi_acpi_notify(acpi_handle handle, u32 event, void *data)
{
struct ucsi_acpi *ua = data;
@@ -199,6 +214,12 @@ static int ucsi_acpi_probe(struct platform_device *pdev)
if (adev->dep_unmet)
return -EPROBE_DEFER;
+ if (dmi_check_system(ucsi_acpi_ignore)) {
+ dev_info(&pdev->dev,
+ "UCSI implementation in firmware is broken, ignoring\n");
+ return -ENODEV;
+ }
+
ua = devm_kzalloc(&pdev->dev, sizeof(*ua), GFP_KERNEL);
if (!ua)
return -ENOMEM;
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] usb: typec: ucsi: do not register UCSI on Lenovo Legion Pro 7 16IAX10H
2026-08-26 3:46 [PATCH] usb: typec: ucsi: do not register UCSI on Lenovo Legion Pro 7 16IAX10H Huang Wei
@ 2026-08-26 3:58 ` Alex
2026-08-26 13:31 ` [PATCH v2] " Huang Wei
1 sibling, 0 replies; 6+ messages in thread
From: Alex @ 2026-08-26 3:58 UTC (permalink / raw)
To: Huang Wei, heikki.krogerus; +Cc: gregkh, linux-usb, linux-kernel
Applied on top of Ubuntu 26.04's linux-source-7.0.0 (7.0.0-30.30, kernel
7.0.0-30-generic). Hunks applied cleanly at -18 line offset. Built just
ucsi_acpi.ko out-of-tree against the running kernel's headers, MOK-signed,
inserted at runtime.
Probe correctly hits the ignore list and refuses to register:
ucsi_acpi USBC000:00: UCSI implementation in firmware is broken, ignoring
/sys/class/power_supply/ucsi-source-psy-* is absent afterwards (probe
returned before ucsi_register). A USB-C PD charger connected during the
swap remained connected across the module reload: BAT0 status stayed
Charging, capacity climbed 70% -> 71% during the test, ADP0 online = 1
throughout. Consistent with the EC handling PD autonomously.
BIOS is Q7CN78WW (2026-04), same behaviour as reported.
Tested-by: Alex Bartz <alex@alstergee.com>
Thanks.
On 8/25/26 9:46 PM, Huang Wei wrote:
> The EC firmware of the Lenovo Legion Pro 7 16IAX10H (DMI product name
> 83F5) has a broken UCSI implementation: GET_PDOS returns no source
> capabilities, GET_CONNECTOR_STATUS reports an incomplete RDO, and any
> UCSI traffic disturbs the EC's autonomous USB-C Power Delivery
> negotiation. With ucsi_acpi bound, chargers connect only briefly and
> then drop, and voltage_now reads 0; with the driver blacklisted, the
> EC negotiates full PD contracts on its own and charging works normally.
>
> The problem is unaffected by BIOS updates up to Q7CN78WW (2026-04).
> The AMD sibling Legion Pro 7 16AFR10H (product name 83RU) reportedly
> uses the same EC firmware, but it is left out of the quirk until the
> failure is confirmed on that model.
>
> Skip probe on this machine, which is equivalent to the blacklist
> workaround the reporter verified to restore charging.
>
> Reported-by: Alex Bartz <alex@alstergee.com>
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221142
> Signed-off-by: Huang Wei <huangwei@kylinos.cn>
> ---
> drivers/usb/typec/ucsi/ucsi_acpi.c | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/drivers/usb/typec/ucsi/ucsi_acpi.c b/drivers/usb/typec/ucsi/ucsi_acpi.c
> index 18286d3e9cc5..9f36f8cfce4a 100644
> --- a/drivers/usb/typec/ucsi/ucsi_acpi.c
> +++ b/drivers/usb/typec/ucsi/ucsi_acpi.c
> @@ -173,6 +173,21 @@ static const struct dmi_system_id ucsi_acpi_quirks[] = {
> { }
> };
>
> +/*
> + * Platforms with a completely broken UCSI implementation in firmware.
> + * Do not register UCSI at all on these machines.
> + */
> +static const struct dmi_system_id ucsi_acpi_ignore[] = {
> + {
> + /* Lenovo Legion Pro 7 16IAX10H: broken EC UCSI firmware */
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "83F5"),
> + },
> + },
> + { }
> +};
> +
> static void ucsi_acpi_notify(acpi_handle handle, u32 event, void *data)
> {
> struct ucsi_acpi *ua = data;
> @@ -199,6 +214,12 @@ static int ucsi_acpi_probe(struct platform_device *pdev)
> if (adev->dep_unmet)
> return -EPROBE_DEFER;
>
> + if (dmi_check_system(ucsi_acpi_ignore)) {
> + dev_info(&pdev->dev,
> + "UCSI implementation in firmware is broken, ignoring\n");
> + return -ENODEV;
> + }
> +
> ua = devm_kzalloc(&pdev->dev, sizeof(*ua), GFP_KERNEL);
> if (!ua)
> return -ENOMEM;
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2] usb: typec: ucsi: do not register UCSI on Lenovo Legion Pro 7 16IAX10H
2026-08-26 3:46 [PATCH] usb: typec: ucsi: do not register UCSI on Lenovo Legion Pro 7 16IAX10H Huang Wei
2026-08-26 3:58 ` Alex
@ 2026-08-26 13:31 ` Huang Wei
2026-08-31 10:15 ` Heikki Krogerus
2026-09-02 9:05 ` [PATCH v3] " Huang Wei
1 sibling, 2 replies; 6+ messages in thread
From: Huang Wei @ 2026-08-26 13:31 UTC (permalink / raw)
To: heikki.krogerus; +Cc: gregkh, linux-usb, linux-kernel, Huang Wei, Alex Bartz
The EC firmware of the Lenovo Legion Pro 7 16IAX10H (DMI product name
83F5) has a broken UCSI implementation: GET_PDOS returns no source
capabilities, GET_CONNECTOR_STATUS reports an incomplete RDO, and any
UCSI traffic disturbs the EC's autonomous USB-C Power Delivery
negotiation. With ucsi_acpi bound, chargers connect only briefly and
then drop, and voltage_now reads 0; with the driver blacklisted, the
EC negotiates full PD contracts on its own and charging works normally.
The problem is unaffected by BIOS updates up to Q7CN78WW (2026-04).
The AMD sibling Legion Pro 7 16AFR10H (product name 83RU) reportedly
uses the same EC firmware, but it is left out of the quirk until the
failure is confirmed on that model.
Skip probe on this machine, which is equivalent to the blacklist
workaround the reporter verified to restore charging.
Reported-by: Alex Bartz <alex@alstergee.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221142
Tested-by: Alex Bartz <alex@alstergee.com>
Signed-off-by: Huang Wei <huangwei@kylinos.cn>
---
Changes in v2:
- Add Tested-by tag from Alex Bartz, who verified the quirk on his
machine (out-of-tree build, runtime module swap, PD charging held
across the reload).
---
drivers/usb/typec/ucsi/ucsi_acpi.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/drivers/usb/typec/ucsi/ucsi_acpi.c b/drivers/usb/typec/ucsi/ucsi_acpi.c
index 18286d3e9cc5..9f36f8cfce4a 100644
--- a/drivers/usb/typec/ucsi/ucsi_acpi.c
+++ b/drivers/usb/typec/ucsi/ucsi_acpi.c
@@ -173,6 +173,21 @@ static const struct dmi_system_id ucsi_acpi_quirks[] = {
{ }
};
+/*
+ * Platforms with a completely broken UCSI implementation in firmware.
+ * Do not register UCSI at all on these machines.
+ */
+static const struct dmi_system_id ucsi_acpi_ignore[] = {
+ {
+ /* Lenovo Legion Pro 7 16IAX10H: broken EC UCSI firmware */
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "83F5"),
+ },
+ },
+ { }
+};
+
static void ucsi_acpi_notify(acpi_handle handle, u32 event, void *data)
{
struct ucsi_acpi *ua = data;
@@ -199,6 +214,12 @@ static int ucsi_acpi_probe(struct platform_device *pdev)
if (adev->dep_unmet)
return -EPROBE_DEFER;
+ if (dmi_check_system(ucsi_acpi_ignore)) {
+ dev_info(&pdev->dev,
+ "UCSI implementation in firmware is broken, ignoring\n");
+ return -ENODEV;
+ }
+
ua = devm_kzalloc(&pdev->dev, sizeof(*ua), GFP_KERNEL);
if (!ua)
return -ENOMEM;
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2] usb: typec: ucsi: do not register UCSI on Lenovo Legion Pro 7 16IAX10H
2026-08-26 13:31 ` [PATCH v2] " Huang Wei
@ 2026-08-31 10:15 ` Heikki Krogerus
2026-08-31 10:49 ` Greg KH
2026-09-02 9:05 ` [PATCH v3] " Huang Wei
1 sibling, 1 reply; 6+ messages in thread
From: Heikki Krogerus @ 2026-08-31 10:15 UTC (permalink / raw)
To: Huang Wei; +Cc: gregkh, linux-usb, linux-kernel, Alex Bartz
On Wed, Aug 26, 2026 at 09:31:18PM +0800, Huang Wei wrote:
> The EC firmware of the Lenovo Legion Pro 7 16IAX10H (DMI product name
> 83F5) has a broken UCSI implementation: GET_PDOS returns no source
> capabilities, GET_CONNECTOR_STATUS reports an incomplete RDO, and any
> UCSI traffic disturbs the EC's autonomous USB-C Power Delivery
> negotiation. With ucsi_acpi bound, chargers connect only briefly and
> then drop, and voltage_now reads 0; with the driver blacklisted, the
> EC negotiates full PD contracts on its own and charging works normally.
>
> The problem is unaffected by BIOS updates up to Q7CN78WW (2026-04).
> The AMD sibling Legion Pro 7 16AFR10H (product name 83RU) reportedly
> uses the same EC firmware, but it is left out of the quirk until the
> failure is confirmed on that model.
>
> Skip probe on this machine, which is equivalent to the blacklist
> workaround the reporter verified to restore charging.
>
> Reported-by: Alex Bartz <alex@alstergee.com>
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221142
> Tested-by: Alex Bartz <alex@alstergee.com>
> Signed-off-by: Huang Wei <huangwei@kylinos.cn>
I'm not sure about the dev_info message. Otherwise this is good:
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
> Changes in v2:
> - Add Tested-by tag from Alex Bartz, who verified the quirk on his
> machine (out-of-tree build, runtime module swap, PD charging held
> across the reload).
> ---
> drivers/usb/typec/ucsi/ucsi_acpi.c | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/drivers/usb/typec/ucsi/ucsi_acpi.c b/drivers/usb/typec/ucsi/ucsi_acpi.c
> index 18286d3e9cc5..9f36f8cfce4a 100644
> --- a/drivers/usb/typec/ucsi/ucsi_acpi.c
> +++ b/drivers/usb/typec/ucsi/ucsi_acpi.c
> @@ -173,6 +173,21 @@ static const struct dmi_system_id ucsi_acpi_quirks[] = {
> { }
> };
>
> +/*
> + * Platforms with a completely broken UCSI implementation in firmware.
> + * Do not register UCSI at all on these machines.
> + */
> +static const struct dmi_system_id ucsi_acpi_ignore[] = {
> + {
> + /* Lenovo Legion Pro 7 16IAX10H: broken EC UCSI firmware */
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "83F5"),
> + },
> + },
> + { }
> +};
> +
> static void ucsi_acpi_notify(acpi_handle handle, u32 event, void *data)
> {
> struct ucsi_acpi *ua = data;
> @@ -199,6 +214,12 @@ static int ucsi_acpi_probe(struct platform_device *pdev)
> if (adev->dep_unmet)
> return -EPROBE_DEFER;
>
> + if (dmi_check_system(ucsi_acpi_ignore)) {
> + dev_info(&pdev->dev,
> + "UCSI implementation in firmware is broken, ignoring\n");
> + return -ENODEV;
> + }
> +
> ua = devm_kzalloc(&pdev->dev, sizeof(*ua), GFP_KERNEL);
> if (!ua)
> return -ENOMEM;
> --
> 2.25.1
--
heikki
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] usb: typec: ucsi: do not register UCSI on Lenovo Legion Pro 7 16IAX10H
2026-08-31 10:15 ` Heikki Krogerus
@ 2026-08-31 10:49 ` Greg KH
0 siblings, 0 replies; 6+ messages in thread
From: Greg KH @ 2026-08-31 10:49 UTC (permalink / raw)
To: Heikki Krogerus; +Cc: Huang Wei, linux-usb, linux-kernel, Alex Bartz
On Mon, Aug 31, 2026 at 12:15:21PM +0200, Heikki Krogerus wrote:
> On Wed, Aug 26, 2026 at 09:31:18PM +0800, Huang Wei wrote:
> > The EC firmware of the Lenovo Legion Pro 7 16IAX10H (DMI product name
> > 83F5) has a broken UCSI implementation: GET_PDOS returns no source
> > capabilities, GET_CONNECTOR_STATUS reports an incomplete RDO, and any
> > UCSI traffic disturbs the EC's autonomous USB-C Power Delivery
> > negotiation. With ucsi_acpi bound, chargers connect only briefly and
> > then drop, and voltage_now reads 0; with the driver blacklisted, the
> > EC negotiates full PD contracts on its own and charging works normally.
> >
> > The problem is unaffected by BIOS updates up to Q7CN78WW (2026-04).
> > The AMD sibling Legion Pro 7 16AFR10H (product name 83RU) reportedly
> > uses the same EC firmware, but it is left out of the quirk until the
> > failure is confirmed on that model.
> >
> > Skip probe on this machine, which is equivalent to the blacklist
> > workaround the reporter verified to restore charging.
> >
> > Reported-by: Alex Bartz <alex@alstergee.com>
> > Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221142
> > Tested-by: Alex Bartz <alex@alstergee.com>
> > Signed-off-by: Huang Wei <huangwei@kylinos.cn>
>
> I'm not sure about the dev_info message. Otherwise this is good:
Should be dev_err(), right?
>
> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
>
> > ---
> > Changes in v2:
> > - Add Tested-by tag from Alex Bartz, who verified the quirk on his
> > machine (out-of-tree build, runtime module swap, PD charging held
> > across the reload).
> > ---
> > drivers/usb/typec/ucsi/ucsi_acpi.c | 21 +++++++++++++++++++++
> > 1 file changed, 21 insertions(+)
> >
> > diff --git a/drivers/usb/typec/ucsi/ucsi_acpi.c b/drivers/usb/typec/ucsi/ucsi_acpi.c
> > index 18286d3e9cc5..9f36f8cfce4a 100644
> > --- a/drivers/usb/typec/ucsi/ucsi_acpi.c
> > +++ b/drivers/usb/typec/ucsi/ucsi_acpi.c
> > @@ -173,6 +173,21 @@ static const struct dmi_system_id ucsi_acpi_quirks[] = {
> > { }
> > };
> >
> > +/*
> > + * Platforms with a completely broken UCSI implementation in firmware.
> > + * Do not register UCSI at all on these machines.
> > + */
> > +static const struct dmi_system_id ucsi_acpi_ignore[] = {
> > + {
> > + /* Lenovo Legion Pro 7 16IAX10H: broken EC UCSI firmware */
> > + .matches = {
> > + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> > + DMI_MATCH(DMI_PRODUCT_NAME, "83F5"),
> > + },
> > + },
> > + { }
> > +};
> > +
> > static void ucsi_acpi_notify(acpi_handle handle, u32 event, void *data)
> > {
> > struct ucsi_acpi *ua = data;
> > @@ -199,6 +214,12 @@ static int ucsi_acpi_probe(struct platform_device *pdev)
> > if (adev->dep_unmet)
> > return -EPROBE_DEFER;
> >
> > + if (dmi_check_system(ucsi_acpi_ignore)) {
> > + dev_info(&pdev->dev,
> > + "UCSI implementation in firmware is broken, ignoring\n");
This shows the hardware is broken, make it dev_err() so that someone
notices it and can pester the hardware company to fix it.
BUT, if the firwmare ever does get changed, this will still fail, so
shouldn't this all be triggered on a version/range of broken firmware,
and NOT just on the whole platform itself? Otherwise if it is fixed,
this code will be wrong.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3] usb: typec: ucsi: do not register UCSI on Lenovo Legion Pro 7 16IAX10H
2026-08-26 13:31 ` [PATCH v2] " Huang Wei
2026-08-31 10:15 ` Heikki Krogerus
@ 2026-09-02 9:05 ` Huang Wei
1 sibling, 0 replies; 6+ messages in thread
From: Huang Wei @ 2026-09-02 9:05 UTC (permalink / raw)
To: heikki.krogerus; +Cc: gregkh, linux-usb, linux-kernel, Huang Wei, Alex Bartz
The EC firmware of the Lenovo Legion Pro 7 16IAX10H (DMI product name
83F5) has a broken UCSI implementation: GET_PDOS returns no source
capabilities, GET_CONNECTOR_STATUS reports an incomplete RDO, and any
UCSI traffic disturbs the EC's autonomous USB-C Power Delivery
negotiation. With ucsi_acpi bound, chargers connect only briefly and
then drop, and voltage_now reads 0; with the driver blacklisted, the
EC negotiates full PD contracts on its own and charging works normally.
The reporter confirmed the issue on BIOS versions Q7CN44WW and
Q7CN78WW (2026-04); it is unaffected by the BIOS update between them.
The AMD sibling Legion Pro 7 16AFR10H (product name 83RU) reportedly
uses the same EC firmware, but it is left out of the quirk until the
failure is confirmed on that model.
Skip probe on machines carrying the known-broken BIOS versions, which
is equivalent to the blacklist workaround the reporter verified to
restore charging. Matching the specific BIOS versions rather than the
whole platform ensures that a future firmware that fixes UCSI is not
wrongly skipped.
Reported-by: Alex Bartz <alex@alstergee.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221142
Tested-by: Alex Bartz <alex@alstergee.com>
Signed-off-by: Huang Wei <huangwei@kylinos.cn>
---
Changes in v2:
- Add Tested-by tag from Alex Bartz, who verified the quirk on his
machine (out-of-tree build, runtime module swap, PD charging held
across the reload).
Changes in v3:
- Use dev_err() instead of dev_info() for the skip message, per Greg
Kroah-Hartman and Heikki Krogerus, so the issue stays visible until
the firmware is fixed.
- Scope the quirk to the BIOS versions confirmed broken (Q7CN44WW,
Q7CN78WW) instead of the whole platform, per Greg Kroah-Hartman, so
a future firmware that fixes UCSI is not wrongly skipped. New broken
versions can be added to the table as they are confirmed.
---
drivers/usb/typec/ucsi/ucsi_acpi.c | 35 ++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/drivers/usb/typec/ucsi/ucsi_acpi.c b/drivers/usb/typec/ucsi/ucsi_acpi.c
index 18286d3e9cc5..2708b5f90718 100644
--- a/drivers/usb/typec/ucsi/ucsi_acpi.c
+++ b/drivers/usb/typec/ucsi/ucsi_acpi.c
@@ -173,6 +173,35 @@ static const struct dmi_system_id ucsi_acpi_quirks[] = {
{ }
};
+/*
+ * Platforms with a completely broken UCSI implementation in firmware.
+ * Do not register UCSI at all on these machines.
+ *
+ * The Lenovo Legion Pro 7 16IAX10H (DMI product name 83F5) carries
+ * broken UCSI firmware in BIOS versions Q7CN44WW and Q7CN78WW; the
+ * reporter confirmed the issue is unaffected by the BIOS update
+ * between them. Match only the BIOS versions known to be broken so
+ * that a future firmware that fixes UCSI is not wrongly skipped; add
+ * new versions here as they are confirmed.
+ */
+static const struct dmi_system_id ucsi_acpi_ignore[] = {
+ {
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "83F5"),
+ DMI_MATCH(DMI_BIOS_VERSION, "Q7CN44WW"),
+ },
+ },
+ {
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "83F5"),
+ DMI_MATCH(DMI_BIOS_VERSION, "Q7CN78WW"),
+ },
+ },
+ { }
+};
+
static void ucsi_acpi_notify(acpi_handle handle, u32 event, void *data)
{
struct ucsi_acpi *ua = data;
@@ -199,6 +228,12 @@ static int ucsi_acpi_probe(struct platform_device *pdev)
if (adev->dep_unmet)
return -EPROBE_DEFER;
+ if (dmi_check_system(ucsi_acpi_ignore)) {
+ dev_err(&pdev->dev,
+ "UCSI implementation in firmware is broken, ignoring\n");
+ return -ENODEV;
+ }
+
ua = devm_kzalloc(&pdev->dev, sizeof(*ua), GFP_KERNEL);
if (!ua)
return -ENOMEM;
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-09-02 9:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-26 3:46 [PATCH] usb: typec: ucsi: do not register UCSI on Lenovo Legion Pro 7 16IAX10H Huang Wei
2026-08-26 3:58 ` Alex
2026-08-26 13:31 ` [PATCH v2] " Huang Wei
2026-08-31 10:15 ` Heikki Krogerus
2026-08-31 10:49 ` Greg KH
2026-09-02 9:05 ` [PATCH v3] " Huang Wei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox