mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Hid: Wacom: Add PCI Wacom device support
@ 2024-12-26  1:35 Even Xu
       [not found] ` <CAF8JNhK1GXxZpjQa4hK7rrgsyZQ64X2OYBkOQR9cpx4tfvgg2Q@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Even Xu @ 2024-12-26  1:35 UTC (permalink / raw)
  To: ping.cheng, jason.gerecke, jikos, bentiss
  Cc: linux-input, linux-kernel, Even Xu

Add PCI device ID of wacom device into driver support list.

Signed-off-by: Even Xu <even.xu@intel.com>
---
 drivers/hid/wacom_wac.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
index 5501a560fb07..b60bfafc6a8f 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -4946,6 +4946,10 @@ static const struct wacom_features wacom_features_0x94 =
 	HID_DEVICE(BUS_I2C, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
 	.driver_data = (kernel_ulong_t)&wacom_features_##prod
 
+#define PCI_DEVICE_WACOM(prod)						\
+	HID_DEVICE(BUS_PCI, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
+	.driver_data = (kernel_ulong_t)&wacom_features_##prod
+
 #define USB_DEVICE_LENOVO(prod)					\
 	HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, prod),			\
 	.driver_data = (kernel_ulong_t)&wacom_features_##prod
@@ -5115,6 +5119,7 @@ const struct hid_device_id wacom_ids[] = {
 
 	{ USB_DEVICE_WACOM(HID_ANY_ID) },
 	{ I2C_DEVICE_WACOM(HID_ANY_ID) },
+	{ PCI_DEVICE_WACOM(HID_ANY_ID) },
 	{ BT_DEVICE_WACOM(HID_ANY_ID) },
 	{ }
 };
-- 
2.40.1


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

* Re: [PATCH] Hid: Wacom: Add PCI Wacom device support
       [not found] ` <CAF8JNhK1GXxZpjQa4hK7rrgsyZQ64X2OYBkOQR9cpx4tfvgg2Q@mail.gmail.com>
@ 2025-01-09  9:17   ` Jiri Kosina
  2025-01-10  0:27     ` Xu, Even
  0 siblings, 1 reply; 3+ messages in thread
From: Jiri Kosina @ 2025-01-09  9:17 UTC (permalink / raw)
  To: Ping Cheng
  Cc: Even Xu, Benjamin Tissoires, Cheng, Ping, Jason Gerecke,
	Benjamin Tissoires, linux-input, LKML

On Wed, 25 Dec 2024, Ping Cheng wrote:

> Hi Jiri, hi Benjamin,
> 
> This patch enables wacom driver to pickup Wacom input devices under Intel
> Framework. The patch has been tested by tatsunosuke.tobita@wacom.com with
> patchset [*PATCH v3 00/22] Add Intel Touch Host Controller drivers* (
> https://lore.kernel.org/linux-input/20241216014127.3722172-1-even.xu@intel.com/T/#t)
> applied.
> 
> Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
> Tested-by: Tatsunosuke Tobita <atsunosuke.tobita@wacom.com
> <tatsunosuke.tobita@wacom.com>>
> 
> Thank you for your support,

Thanks. I've created hid.git#for-6.14/wacom-pci which is based on 
hid.git#for-6.14/intel-thc and applied this one on top.

-- 
Jiri Kosina
SUSE Labs


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

* RE: [PATCH] Hid: Wacom: Add PCI Wacom device support
  2025-01-09  9:17   ` Jiri Kosina
@ 2025-01-10  0:27     ` Xu, Even
  0 siblings, 0 replies; 3+ messages in thread
From: Xu, Even @ 2025-01-10  0:27 UTC (permalink / raw)
  To: Jiri Kosina, Ping Cheng
  Cc: Benjamin Tissoires, Cheng, Ping, Jason Gerecke,
	Benjamin Tissoires, linux-input, LKML

Thank you ^_^!

Best Regards,
Even Xu

> -----Original Message-----
> From: Jiri Kosina <jikos@kernel.org>
> Sent: Thursday, January 9, 2025 5:17 PM
> To: Ping Cheng <pinglinux@gmail.com>
> Cc: Xu, Even <even.xu@intel.com>; Benjamin Tissoires
> <benjamin.tissoires@gmail.com>; Cheng, Ping <ping.cheng@wacom.com>; Jason
> Gerecke <jason.gerecke@wacom.com>; Benjamin Tissoires
> <bentiss@kernel.org>; linux-input <linux-input@vger.kernel.org>; LKML <linux-
> kernel@vger.kernel.org>
> Subject: Re: [PATCH] Hid: Wacom: Add PCI Wacom device support
> 
> On Wed, 25 Dec 2024, Ping Cheng wrote:
> 
> > Hi Jiri, hi Benjamin,
> >
> > This patch enables wacom driver to pickup Wacom input devices under
> > Intel Framework. The patch has been tested by
> > tatsunosuke.tobita@wacom.com with patchset [*PATCH v3 00/22] Add Intel
> > Touch Host Controller drivers* (
> > https://lore.kernel.org/linux-input/20241216014127.3722172-1-even.xu@i
> > ntel.com/T/#t)
> > applied.
> >
> > Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
> > Tested-by: Tatsunosuke Tobita <atsunosuke.tobita@wacom.com
> > <tatsunosuke.tobita@wacom.com>>
> >
> > Thank you for your support,
> 
> Thanks. I've created hid.git#for-6.14/wacom-pci which is based on hid.git#for-
> 6.14/intel-thc and applied this one on top.
> 
> --
> Jiri Kosina
> SUSE Labs


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

end of thread, other threads:[~2025-01-10  0:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-26  1:35 [PATCH] Hid: Wacom: Add PCI Wacom device support Even Xu
     [not found] ` <CAF8JNhK1GXxZpjQa4hK7rrgsyZQ64X2OYBkOQR9cpx4tfvgg2Q@mail.gmail.com>
2025-01-09  9:17   ` Jiri Kosina
2025-01-10  0:27     ` Xu, Even

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®