Skip to content

MODULE_DEVICE_TABLE() support for the ISHTP bus

Thomas Weißschuh linux-input linux-kbuild lkml llvm platform-driver-x86 1 version Applied

Status from this message: Applied to hid.git#for-5.16/upstream-fixes. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6HID: intel-ish-hid: add support for MODULE_DEVICE_TABLE()include/linux/mod_devicetable.h scripts/mod/devicetable-offsets.c scripts/mod/file2alias.c+40 -03 replies
2/6HID: intel-ish-hid: use constants for modaliasesdrivers/hid/intel-ish-hid/ishtp/bus.c+2 -20 replies
3/6HID: intel-ish-hid: fw-loader: only load for matching devicesdrivers/hid/intel-ish-hid/ishtp-fw-loader.c+6 -10 replies
4/6HID: intel-ish-hid: hid-client: only load for matching devicesdrivers/hid/intel-ish-hid/ishtp-hid-client.c+6 -10 replies
5/6platform/chrome: chros_ec_ishtp: only load for matching devicesdrivers/platform/chrome/cros_ec_ishtp.c+6 -16 replies
6/6platform/x86: isthp_eclite: only load for matching devicesdrivers/platform/x86/intel/ishtp_eclite.c+6 -11 reply

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHans de GoedeSrinivas Pandruvada
SeriesA-b A-b
1/6
2/6
3/6
4/6
5/6
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] MODULE_DEVICE_TABLE() support for the ISHTP bus

Currently as soon as any ISHTP device appears all available ISHTP device drivers are loaded automatically.
This series extends the MODULE_DEVICE_TABLE() functionality to properly handle the ishtp bus and switches the drivers over to use it.

Patch 1 adds the infrastructure to handle ishtp devices via MODULE_DEVICE_TABLE() Patch 2 replaces some inlined constants with ones now defined by mod_devicetable.h Patches 3-6 migrate all ishtp drivers to MODULE_DEVICE_TABLE()

Note: This patchset is based on the pdx86/for-next tree because that contains one of the drivers that is not yet in the other trees.

Cc Srinivas Pandruvada <[email protected]>
Cc Mark Gross <[email protected]>
Cc Hans de Goede <[email protected]>
Cc Rushikesh S Kadam <[email protected]>
Cc Jiri Kosina <[email protected]>
Cc Benjamin Tissoires <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Enric Balletbo i Serra <[email protected]>
Cc Benson Leung <[email protected]>

Thomas Weißschuh (6):
HID: intel-ish-hid: add support for MODULE_DEVICE_TABLE()
HID: intel-ish-hid: use constants for modaliases
HID: intel-ish-hid: fw-loader: only load for matching devices
HID: intel-ish-hid: hid-client: only load for matching devices platform/chrome: chros_ec_ishtp: only load for matching devices platform/x86: isthp_eclite: only load for matching devices

 drivers/hid/intel-ish-hid/ishtp-fw-loader.c  |  7 +++++-
 drivers/hid/intel-ish-hid/ishtp-hid-client.c |  7 +++++-
 drivers/hid/intel-ish-hid/ishtp/bus.c        |  4 ++--
 drivers/platform/chrome/cros_ec_ishtp.c      |  7 +++++-
 drivers/platform/x86/intel/ishtp_eclite.c    |  7 +++++-
 include/linux/mod_devicetable.h              | 13 +++++++++++
 scripts/mod/devicetable-offsets.c            |  3 +++
 scripts/mod/file2alias.c                     | 24 ++++++++++++++++++++
 8 files changed, 66 insertions(+), 6 deletions(-)

base-commit: 85303db36b6e170917a7bc6aae4898c31a5272a0

Signature · 1 line
2.33.1