lkml.org 
[lkml]   [2021]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 0/6] MODULE_DEVICE_TABLE() support for the ISHTP bus
From
Hi,

On 10/29/21 17:28, Thomas Weißschuh wrote:
> 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.

Since most of the changes here are under drivers/hid and since the latter
patches depend on 1/6, I believe it would be best to merge the entire series
through the HID tree, here is my ack for this:

Acked-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans


>
> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> Cc: Mark Gross <markgross@kernel.org>
> Cc: Hans de Goede <hdegoede@redhat.com>
> Cc: Rushikesh S Kadam <rushikesh.s.kadam@intel.com>
> Cc: Jiri Kosina <jikos@kernel.org>
> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> Cc: Guenter Roeck <groeck@chromium.org>
> Cc: Enric Balletbo i Serra <enric.balletbo@collabora.com>
> Cc: Benson Leung <bleung@chromium.org>
>
> Cc: platform-driver-x86@vger.kernel.org
> Cc: linux-kbuild@vger.kernel.org
>
> 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
>

\
 
 \ /
  Last update: 2021-11-01 10:59    [W:0.076 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site