lkml.org 
[lkml]   [2023]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/4] ACPI: platform: Fix SMB0001 enumeration on Kontron devices
Date
After switching i2c-scmi driver to be a plaform one, it stopped
being enumerated on number of Kontron platforms, because it's
listed in the forbidden_id_list.

To resolve the situation, add a flag and count the resources of the
forbiden device. If the count is non-zero, the device must be skipped.

Changelog v3:
- provided completely rewritten solution (Rafael)
- due to above, added two new patches
- due to above, dropped tags from patch 3

Andy Shevchenko (4):
ACPI: bus: Constify acpi_companion_match() returned value
ACPI: bus: Introduce acpi_match_acpi_device() helper
ACPI: platform: Ignore SMB0001 only when it has resources
ACPI: platform: Move SMB0001 HID to the header and reuse

drivers/acpi/acpi_platform.c | 31 +++++++++++++++++++++++++++----
drivers/acpi/bus.c | 21 ++++++++++++++-------
drivers/acpi/device_sysfs.c | 2 +-
drivers/acpi/internal.h | 2 +-
drivers/i2c/busses/i2c-scmi.c | 3 ---
include/acpi/acpi_drivers.h | 2 ++
include/linux/acpi.h | 9 +++++++++
7 files changed, 54 insertions(+), 16 deletions(-)

--
2.40.0.1.gaa8946217a0b

\
 
 \ /
  Last update: 2023-06-26 13:02    [W:0.108 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site