Skip to content

Commit 0707541

Browse files
committed
Merge tag 'platform-drivers-x86-serial-multi-instantiate-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86 into for-next
This branch contains 5.17-rc1 + the SPI tree's spi-acpi-helpers tag + the other patches from the "[PATCH v6 0/9] Support Spi in i2c-multi-instantiate driver" series.
2 parents bad03ef + d9c01c5 commit 0707541

File tree

9 files changed

+550
-206
lines changed

9 files changed

+550
-206
lines changed

MAINTAINERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,11 @@ L: [email protected] (moderated for non-subscribers)
388388
S: Maintained
389389
F: drivers/acpi/arm64
390390

391-
ACPI I2C MULTI INSTANTIATE DRIVER
391+
ACPI SERIAL MULTI INSTANTIATE DRIVER
392392
M: Hans de Goede <[email protected]>
393393
394394
S: Maintained
395-
F: drivers/platform/x86/i2c-multi-instantiate.c
395+
F: drivers/platform/x86/serial-multi-instantiate.c
396396

397397
ACPI PCC(Platform Communication Channel) MAILBOX DRIVER
398398
M: Sudeep Holla <[email protected]>

drivers/acpi/scan.c

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,17 +1734,21 @@ static bool acpi_device_enumeration_by_parent(struct acpi_device *device)
17341734
bool is_serial_bus_slave = false;
17351735
static const struct acpi_device_id ignore_serial_bus_ids[] = {
17361736
/*
1737-
* These devices have multiple I2cSerialBus resources and an i2c-client
1738-
* must be instantiated for each, each with its own i2c_device_id.
1739-
* Normally we only instantiate an i2c-client for the first resource,
1740-
* using the ACPI HID as id. These special cases are handled by the
1741-
* drivers/platform/x86/i2c-multi-instantiate.c driver, which knows
1742-
* which i2c_device_id to use for each resource.
1737+
* These devices have multiple SerialBus resources and a client
1738+
* device must be instantiated for each of them, each with
1739+
* its own device id.
1740+
* Normally we only instantiate one client device for the first
1741+
* resource, using the ACPI HID as id. These special cases are handled
1742+
* by the drivers/platform/x86/serial-multi-instantiate.c driver, which
1743+
* knows which client device id to use for each resource.
17431744
*/
17441745
{"BSG1160", },
17451746
{"BSG2150", },
1747+
{"CSC3551", },
17461748
{"INT33FE", },
17471749
{"INT3515", },
1750+
/* Non-conforming _HID for Cirrus Logic already released */
1751+
{"CLSA0100", },
17481752
/*
17491753
* HIDs of device with an UartSerialBusV2 resource for which userspace
17501754
* expects a regular tty cdev to be created (instead of the in kernel

drivers/platform/x86/Kconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -990,16 +990,16 @@ config TOPSTAR_LAPTOP
990990

991991
If you have a Topstar laptop, say Y or M here.
992992

993-
config I2C_MULTI_INSTANTIATE
994-
tristate "I2C multi instantiate pseudo device driver"
995-
depends on I2C && ACPI
993+
config SERIAL_MULTI_INSTANTIATE
994+
tristate "Serial bus multi instantiate pseudo device driver"
995+
depends on I2C && SPI && ACPI
996996
help
997-
Some ACPI-based systems list multiple i2c-devices in a single ACPI
998-
firmware-node. This driver will instantiate separate i2c-clients
997+
Some ACPI-based systems list multiple devices in a single ACPI
998+
firmware-node. This driver will instantiate separate clients
999999
for each device in the firmware-node.
10001000

10011001
To compile this driver as a module, choose M here: the module
1002-
will be called i2c-multi-instantiate.
1002+
will be called serial-multi-instantiate.
10031003

10041004
config MLX_PLATFORM
10051005
tristate "Mellanox Technologies platform support"

drivers/platform/x86/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ obj-$(CONFIG_TOPSTAR_LAPTOP) += topstar-laptop.o
110110

111111
# Platform drivers
112112
obj-$(CONFIG_FW_ATTR_CLASS) += firmware_attributes_class.o
113-
obj-$(CONFIG_I2C_MULTI_INSTANTIATE) += i2c-multi-instantiate.o
113+
obj-$(CONFIG_SERIAL_MULTI_INSTANTIATE) += serial-multi-instantiate.o
114114
obj-$(CONFIG_MLX_PLATFORM) += mlx-platform.o
115115
obj-$(CONFIG_TOUCHSCREEN_DMI) += touchscreen_dmi.o
116116
obj-$(CONFIG_WIRELESS_HOTKEY) += wireless-hotkey.o

drivers/platform/x86/i2c-multi-instantiate.c

Lines changed: 0 additions & 174 deletions
This file was deleted.

0 commit comments

Comments
 (0)