Merge branch 'for-6.3/i2c-hid' into for-linus
[platform/kernel/linux-starfive.git] / drivers / hid / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the HID driver
4 #
5 hid-y                   := hid-core.o hid-input.o hid-quirks.o
6 hid-$(CONFIG_DEBUG_FS)          += hid-debug.o
7
8 obj-$(CONFIG_HID)               += hid.o
9 obj-$(CONFIG_UHID)              += uhid.o
10
11 obj-$(CONFIG_HID_GENERIC)       += hid-generic.o
12
13 hid-$(CONFIG_HIDRAW)            += hidraw.o
14
15 hid-logitech-y          := hid-lg.o
16 hid-logitech-$(CONFIG_LOGITECH_FF)      += hid-lgff.o
17 hid-logitech-$(CONFIG_LOGIRUMBLEPAD2_FF)        += hid-lg2ff.o
18 hid-logitech-$(CONFIG_LOGIG940_FF)      += hid-lg3ff.o
19 hid-logitech-$(CONFIG_LOGIWHEELS_FF)    += hid-lg4ff.o
20
21 hid-wiimote-y           := hid-wiimote-core.o hid-wiimote-modules.o
22 hid-wiimote-$(CONFIG_DEBUG_FS)  += hid-wiimote-debug.o
23
24 obj-$(CONFIG_HID_A4TECH)        += hid-a4tech.o
25 obj-$(CONFIG_HID_ACCUTOUCH)     += hid-accutouch.o
26 obj-$(CONFIG_HID_ALPS)          += hid-alps.o
27 obj-$(CONFIG_HID_ACRUX)         += hid-axff.o
28 obj-$(CONFIG_HID_APPLE)         += hid-apple.o
29 obj-$(CONFIG_HID_APPLEIR)       += hid-appleir.o
30 obj-$(CONFIG_HID_CREATIVE_SB0540)       += hid-creative-sb0540.o
31 obj-$(CONFIG_HID_ASUS)          += hid-asus.o
32 obj-$(CONFIG_HID_AUREAL)        += hid-aureal.o
33 obj-$(CONFIG_HID_BELKIN)        += hid-belkin.o
34 obj-$(CONFIG_HID_BETOP_FF)      += hid-betopff.o
35 obj-$(CONFIG_HID_BIGBEN_FF)     += hid-bigbenff.o
36 obj-$(CONFIG_HID_CHERRY)        += hid-cherry.o
37 obj-$(CONFIG_HID_CHICONY)       += hid-chicony.o
38 obj-$(CONFIG_HID_CMEDIA)        += hid-cmedia.o
39 obj-$(CONFIG_HID_CORSAIR)       += hid-corsair.o
40 obj-$(CONFIG_HID_COUGAR)        += hid-cougar.o
41 obj-$(CONFIG_HID_CP2112)        += hid-cp2112.o
42 obj-$(CONFIG_HID_CYPRESS)       += hid-cypress.o
43 obj-$(CONFIG_HID_DRAGONRISE)    += hid-dr.o
44 obj-$(CONFIG_HID_EMS_FF)        += hid-emsff.o
45 obj-$(CONFIG_HID_ELAN)          += hid-elan.o
46 obj-$(CONFIG_HID_ELECOM)        += hid-elecom.o
47 obj-$(CONFIG_HID_ELO)           += hid-elo.o
48 obj-$(CONFIG_HID_EVISION)       += hid-evision.o
49 obj-$(CONFIG_HID_EZKEY)         += hid-ezkey.o
50 obj-$(CONFIG_HID_FT260)         += hid-ft260.o
51 obj-$(CONFIG_HID_GEMBIRD)       += hid-gembird.o
52 obj-$(CONFIG_HID_GFRM)          += hid-gfrm.o
53 obj-$(CONFIG_HID_GLORIOUS)  += hid-glorious.o
54 obj-$(CONFIG_HID_VIVALDI_COMMON) += hid-vivaldi-common.o
55 obj-$(CONFIG_HID_GOOGLE_HAMMER) += hid-google-hammer.o
56 obj-$(CONFIG_HID_VIVALDI)       += hid-vivaldi.o
57 obj-$(CONFIG_HID_GT683R)        += hid-gt683r.o
58 obj-$(CONFIG_HID_GYRATION)      += hid-gyration.o
59 obj-$(CONFIG_HID_HOLTEK)        += hid-holtek-kbd.o
60 obj-$(CONFIG_HID_HOLTEK)        += hid-holtek-mouse.o
61 obj-$(CONFIG_HID_HOLTEK)        += hid-holtekff.o
62 obj-$(CONFIG_HID_HYPERV_MOUSE)  += hid-hyperv.o
63 obj-$(CONFIG_HID_ICADE)         += hid-icade.o
64 obj-$(CONFIG_HID_ITE)           += hid-ite.o
65 obj-$(CONFIG_HID_JABRA)         += hid-jabra.o
66 obj-$(CONFIG_HID_KENSINGTON)    += hid-kensington.o
67 obj-$(CONFIG_HID_KEYTOUCH)      += hid-keytouch.o
68 obj-$(CONFIG_HID_KYE)           += hid-kye.o
69 obj-$(CONFIG_HID_LCPOWER)       += hid-lcpower.o
70 obj-$(CONFIG_HID_LENOVO)        += hid-lenovo.o
71 obj-$(CONFIG_HID_LETSKETCH)     += hid-letsketch.o
72 obj-$(CONFIG_HID_LOGITECH)      += hid-logitech.o
73 obj-$(CONFIG_HID_LOGITECH)      += hid-lg-g15.o
74 obj-$(CONFIG_HID_LOGITECH_DJ)   += hid-logitech-dj.o
75 obj-$(CONFIG_HID_LOGITECH_HIDPP)        += hid-logitech-hidpp.o
76 obj-$(CONFIG_HID_MACALLY)       += hid-macally.o
77 obj-$(CONFIG_HID_MAGICMOUSE)    += hid-magicmouse.o
78 obj-$(CONFIG_HID_MALTRON)       += hid-maltron.o
79 obj-$(CONFIG_HID_MCP2221)       += hid-mcp2221.o
80 obj-$(CONFIG_HID_MAYFLASH)      += hid-mf.o
81 obj-$(CONFIG_HID_MEGAWORLD_FF)  += hid-megaworld.o
82 obj-$(CONFIG_HID_MICROSOFT)     += hid-microsoft.o
83 obj-$(CONFIG_HID_MONTEREY)      += hid-monterey.o
84 obj-$(CONFIG_HID_MULTITOUCH)    += hid-multitouch.o
85 obj-$(CONFIG_HID_NINTENDO)      += hid-nintendo.o
86 obj-$(CONFIG_HID_NTI)                   += hid-nti.o
87 obj-$(CONFIG_HID_NTRIG)         += hid-ntrig.o
88 obj-$(CONFIG_HID_ORTEK)         += hid-ortek.o
89 obj-$(CONFIG_HID_PRODIKEYS)     += hid-prodikeys.o
90 obj-$(CONFIG_HID_PANTHERLORD)   += hid-pl.o
91 obj-$(CONFIG_HID_PENMOUNT)      += hid-penmount.o
92 obj-$(CONFIG_HID_PETALYNX)      += hid-petalynx.o
93 obj-$(CONFIG_HID_PICOLCD)       += hid-picolcd.o
94 hid-picolcd-y                   += hid-picolcd_core.o
95 hid-picolcd-$(CONFIG_HID_PICOLCD_FB)    += hid-picolcd_fb.o
96 hid-picolcd-$(CONFIG_HID_PICOLCD_BACKLIGHT)     += hid-picolcd_backlight.o
97 hid-picolcd-$(CONFIG_HID_PICOLCD_LCD)   += hid-picolcd_lcd.o
98 hid-picolcd-$(CONFIG_HID_PICOLCD_LEDS)  += hid-picolcd_leds.o
99 hid-picolcd-$(CONFIG_HID_PICOLCD_CIR)   += hid-picolcd_cir.o
100 hid-picolcd-$(CONFIG_DEBUG_FS)          += hid-picolcd_debugfs.o
101
102 obj-$(CONFIG_HID_PLANTRONICS)   += hid-plantronics.o
103 obj-$(CONFIG_HID_PLAYSTATION)   += hid-playstation.o
104 obj-$(CONFIG_HID_PRIMAX)        += hid-primax.o
105 obj-$(CONFIG_HID_PXRC)          += hid-pxrc.o
106 obj-$(CONFIG_HID_RAZER) += hid-razer.o
107 obj-$(CONFIG_HID_REDRAGON)      += hid-redragon.o
108 obj-$(CONFIG_HID_RETRODE)       += hid-retrode.o
109 obj-$(CONFIG_HID_ROCCAT)        += hid-roccat.o hid-roccat-common.o \
110         hid-roccat-arvo.o hid-roccat-isku.o hid-roccat-kone.o \
111         hid-roccat-koneplus.o hid-roccat-konepure.o hid-roccat-kovaplus.o \
112         hid-roccat-lua.o hid-roccat-pyra.o hid-roccat-ryos.o hid-roccat-savu.o
113 obj-$(CONFIG_HID_RMI)           += hid-rmi.o
114 obj-$(CONFIG_HID_SAITEK)        += hid-saitek.o
115 obj-$(CONFIG_HID_SAMSUNG)       += hid-samsung.o
116 obj-$(CONFIG_HID_SEMITEK)       += hid-semitek.o
117 obj-$(CONFIG_HID_SIGMAMICRO)    += hid-sigmamicro.o
118 obj-$(CONFIG_HID_SMARTJOYPLUS)  += hid-sjoy.o
119 obj-$(CONFIG_HID_SONY)          += hid-sony.o
120 obj-$(CONFIG_HID_SPEEDLINK)     += hid-speedlink.o
121 obj-$(CONFIG_HID_STEAM)         += hid-steam.o
122 obj-$(CONFIG_HID_STEELSERIES)   += hid-steelseries.o
123 obj-$(CONFIG_HID_SUNPLUS)       += hid-sunplus.o
124 obj-$(CONFIG_HID_GREENASIA)     += hid-gaff.o
125 obj-$(CONFIG_HID_THRUSTMASTER)  += hid-tmff.o hid-thrustmaster.o
126 obj-$(CONFIG_HID_TIVO)          += hid-tivo.o
127 obj-$(CONFIG_HID_TOPSEED)       += hid-topseed.o
128 obj-$(CONFIG_HID_TOPRE) += hid-topre.o
129 obj-$(CONFIG_HID_TWINHAN)       += hid-twinhan.o
130 obj-$(CONFIG_HID_U2FZERO)       += hid-u2fzero.o
131 hid-uclogic-objs                := hid-uclogic-core.o \
132                                    hid-uclogic-rdesc.o \
133                                    hid-uclogic-params.o
134 obj-$(CONFIG_HID_UCLOGIC)       += hid-uclogic.o
135 obj-$(CONFIG_HID_UDRAW_PS3)     += hid-udraw-ps3.o
136 obj-$(CONFIG_HID_LED)           += hid-led.o
137 obj-$(CONFIG_HID_XIAOMI)        += hid-xiaomi.o
138 obj-$(CONFIG_HID_XINMO)         += hid-xinmo.o
139 obj-$(CONFIG_HID_ZEROPLUS)      += hid-zpff.o
140 obj-$(CONFIG_HID_ZYDACRON)      += hid-zydacron.o
141 obj-$(CONFIG_HID_VIEWSONIC)     += hid-viewsonic.o
142 obj-$(CONFIG_HID_VRC2)          += hid-vrc2.o
143
144 wacom-objs                      := wacom_wac.o wacom_sys.o
145 obj-$(CONFIG_HID_WACOM)         += wacom.o
146 obj-$(CONFIG_HID_WALTOP)        += hid-waltop.o
147 obj-$(CONFIG_HID_WIIMOTE)       += hid-wiimote.o
148 obj-$(CONFIG_HID_SENSOR_HUB)    += hid-sensor-hub.o
149 obj-$(CONFIG_HID_SENSOR_CUSTOM_SENSOR)  += hid-sensor-custom.o
150
151 hid-uclogic-test-objs           := hid-uclogic-rdesc.o \
152                                    hid-uclogic-params.o \
153                                    hid-uclogic-rdesc-test.o
154 obj-$(CONFIG_HID_KUNIT_TEST)    += hid-uclogic-test.o
155
156 obj-$(CONFIG_USB_HID)           += usbhid/
157 obj-$(CONFIG_USB_MOUSE)         += usbhid/
158 obj-$(CONFIG_USB_KBD)           += usbhid/
159
160 obj-$(CONFIG_I2C_HID_CORE)      += i2c-hid/
161
162 obj-$(CONFIG_INTEL_ISH_HID)     += intel-ish-hid/
163 obj-$(INTEL_ISH_FIRMWARE_DOWNLOADER)    += intel-ish-hid/
164
165 obj-$(CONFIG_AMD_SFH_HID)       += amd-sfh-hid/
166
167 obj-$(CONFIG_SURFACE_HID_CORE)  += surface-hid/