All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[]
@ 2022-10-25 12:12 Hans de Goede
  2022-10-26 11:45 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Hans de Goede @ 2022-10-25 12:12 UTC (permalink / raw)
  To: Rafael J . Wysocki; +Cc: Hans de Goede, Len Brown, linux-acpi

Some x86/ACPI laptops with MIPI cameras have a LATT2021 ACPI device
in the _DEP dependency list of the ACPI devices for the camera-sensors
(which have flags.honor_deps set).

The _DDN for the LATT2021 device is "Lattice FW Update Client Driver",
suggesting that this is used for firmware updates of something. There
is no Linux driver for this and if Linux gets support for updates it
will likely be in userspace through fwupd.

For now add the LATT2021 HID to acpi_ignore_dep_ids[] so that
acpi_dev_ready_for_enumeration() will return true once the other _DEP
dependencies are met.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
Changes in v2:
- Improve the commit message a bit (some sentences were mangled a bit
  during editing)
---
 drivers/acpi/scan.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 024cc373a197..b47e93a24a9a 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -789,6 +789,7 @@ static bool acpi_info_matches_ids(struct acpi_device_info *info,
 static const char * const acpi_ignore_dep_ids[] = {
 	"PNP0D80", /* Windows-compatible System Power Management Controller */
 	"INT33BD", /* Intel Baytrail Mailbox Device */
+	"LATT2021", /* Lattice FW Update Client Driver */
 	NULL
 };
 
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[]
  2022-10-25 12:12 [PATCH v2] ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[] Hans de Goede
@ 2022-10-26 11:45 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2022-10-26 11:45 UTC (permalink / raw)
  To: Hans de Goede; +Cc: Rafael J . Wysocki, Len Brown, linux-acpi

On Tue, Oct 25, 2022 at 2:12 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> Some x86/ACPI laptops with MIPI cameras have a LATT2021 ACPI device
> in the _DEP dependency list of the ACPI devices for the camera-sensors
> (which have flags.honor_deps set).
>
> The _DDN for the LATT2021 device is "Lattice FW Update Client Driver",
> suggesting that this is used for firmware updates of something. There
> is no Linux driver for this and if Linux gets support for updates it
> will likely be in userspace through fwupd.
>
> For now add the LATT2021 HID to acpi_ignore_dep_ids[] so that
> acpi_dev_ready_for_enumeration() will return true once the other _DEP
> dependencies are met.
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> Changes in v2:
> - Improve the commit message a bit (some sentences were mangled a bit
>   during editing)
> ---
>  drivers/acpi/scan.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
> index 024cc373a197..b47e93a24a9a 100644
> --- a/drivers/acpi/scan.c
> +++ b/drivers/acpi/scan.c
> @@ -789,6 +789,7 @@ static bool acpi_info_matches_ids(struct acpi_device_info *info,
>  static const char * const acpi_ignore_dep_ids[] = {
>         "PNP0D80", /* Windows-compatible System Power Management Controller */
>         "INT33BD", /* Intel Baytrail Mailbox Device */
> +       "LATT2021", /* Lattice FW Update Client Driver */
>         NULL
>  };
>
> --

Applied as 6.1-rc material, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-26 11:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 12:12 [PATCH v2] ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[] Hans de Goede
2022-10-26 11:45 ` Rafael J. Wysocki

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.