xref: /linux/drivers/platform/x86/Makefile (revision 2a6b6c9a226279b4f6668450ddb21ae655558087)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for linux/drivers/platform/x86
4# x86 Platform-Specific Drivers
5#
6
7# Windows Management Interface
8obj-$(CONFIG_ACPI_WMI)		+= wmi.o
9obj-$(CONFIG_WMI_BMOF)		+= wmi-bmof.o
10
11# WMI drivers
12obj-$(CONFIG_HUAWEI_WMI)		+= huawei-wmi.o
13obj-$(CONFIG_MXM_WMI)			+= mxm-wmi.o
14obj-$(CONFIG_NVIDIA_WMI_EC_BACKLIGHT)	+= nvidia-wmi-ec-backlight.o
15obj-$(CONFIG_XIAOMI_WMI)		+= xiaomi-wmi.o
16obj-$(CONFIG_GIGABYTE_WMI)		+= gigabyte-wmi.o
17
18# Acer
19obj-$(CONFIG_ACERHDF)		+= acerhdf.o
20obj-$(CONFIG_ACER_WIRELESS)	+= acer-wireless.o
21obj-$(CONFIG_ACER_WMI)		+= acer-wmi.o
22
23# AMD
24obj-y				+= amd/
25
26# Advantech
27obj-$(CONFIG_ADV_SWBUTTON)	+= adv_swbutton.o
28
29# Apple
30obj-$(CONFIG_APPLE_GMUX)	+= apple-gmux.o
31
32# ASUS
33obj-$(CONFIG_ASUS_LAPTOP)	+= asus-laptop.o
34obj-$(CONFIG_ASUS_WIRELESS)	+= asus-wireless.o
35obj-$(CONFIG_ASUS_WMI)		+= asus-wmi.o
36obj-$(CONFIG_ASUS_NB_WMI)	+= asus-nb-wmi.o
37obj-$(CONFIG_ASUS_TF103C_DOCK)	+= asus-tf103c-dock.o
38obj-$(CONFIG_EEEPC_LAPTOP)	+= eeepc-laptop.o
39obj-$(CONFIG_EEEPC_WMI)		+= eeepc-wmi.o
40
41# Cisco/Meraki
42obj-$(CONFIG_MERAKI_MX100)	+= meraki-mx100.o
43
44# Dell
45obj-$(CONFIG_X86_PLATFORM_DRIVERS_DELL)		+= dell/
46
47# Fujitsu
48obj-$(CONFIG_AMILO_RFKILL)	+= amilo-rfkill.o
49obj-$(CONFIG_FUJITSU_LAPTOP)	+= fujitsu-laptop.o
50obj-$(CONFIG_FUJITSU_TABLET)	+= fujitsu-tablet.o
51
52# GPD
53obj-$(CONFIG_GPD_POCKET_FAN)	+= gpd-pocket-fan.o
54
55# Hewlett Packard
56obj-$(CONFIG_X86_PLATFORM_DRIVERS_HP)	+= hp/
57
58# Hewlett Packard Enterprise
59obj-$(CONFIG_UV_SYSFS)       += uv_sysfs.o
60
61# IBM Thinkpad and Lenovo
62obj-$(CONFIG_IBM_RTL)		+= ibm_rtl.o
63obj-$(CONFIG_IDEAPAD_LAPTOP)	+= ideapad-laptop.o
64obj-$(CONFIG_LENOVO_YMC)	+= lenovo-ymc.o
65obj-$(CONFIG_SENSORS_HDAPS)	+= hdaps.o
66obj-$(CONFIG_THINKPAD_ACPI)	+= thinkpad_acpi.o
67obj-$(CONFIG_THINKPAD_LMI)	+= think-lmi.o
68obj-$(CONFIG_YOGABOOK)		+= lenovo-yogabook.o
69obj-$(CONFIG_YT2_1380)		+= lenovo-yoga-tab2-pro-1380-fastcharger.o
70obj-$(CONFIG_LENOVO_WMI_CAMERA)	+= lenovo-wmi-camera.o
71
72# Intel
73obj-y				+= intel/
74
75# Microsoft
76obj-$(CONFIG_ACPI_QUICKSTART)  += quickstart.o
77
78# MeeGoPad
79obj-$(CONFIG_MEEGOPAD_ANX7428)	+= meegopad_anx7428.o
80
81# MSI
82obj-$(CONFIG_MSI_EC)		+= msi-ec.o
83obj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
84obj-$(CONFIG_MSI_WMI)		+= msi-wmi.o
85obj-$(CONFIG_MSI_WMI_PLATFORM)	+= msi-wmi-platform.o
86
87# OLPC
88obj-$(CONFIG_XO15_EBOOK)	+= xo15-ebook.o
89obj-$(CONFIG_XO1_RFKILL)	+= xo1-rfkill.o
90
91# PC Engines
92obj-$(CONFIG_PCENGINES_APU2)	+= pcengines-apuv2.o
93
94# Barco
95obj-$(CONFIG_BARCO_P50_GPIO)	+= barco-p50-gpio.o
96
97# Samsung
98obj-$(CONFIG_SAMSUNG_LAPTOP)	+= samsung-laptop.o
99obj-$(CONFIG_SAMSUNG_Q10)	+= samsung-q10.o
100
101# Toshiba
102obj-$(CONFIG_TOSHIBA_BT_RFKILL)	+= toshiba_bluetooth.o
103obj-$(CONFIG_TOSHIBA_HAPS)	+= toshiba_haps.o
104obj-$(CONFIG_TOSHIBA_WMI)	+= toshiba-wmi.o
105
106# toshiba_acpi must link after wmi to ensure that wmi devices are found
107# before toshiba_acpi initializes
108obj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
109
110# Inspur
111obj-$(CONFIG_INSPUR_PLATFORM_PROFILE)	+= inspur_platform_profile.o
112
113# Laptop drivers
114obj-$(CONFIG_ACPI_CMPC)		+= classmate-laptop.o
115obj-$(CONFIG_COMPAL_LAPTOP)	+= compal-laptop.o
116obj-$(CONFIG_LG_LAPTOP)		+= lg-laptop.o
117obj-$(CONFIG_PANASONIC_LAPTOP)	+= panasonic-laptop.o
118obj-$(CONFIG_SONY_LAPTOP)	+= sony-laptop.o
119obj-$(CONFIG_SYSTEM76_ACPI)	+= system76_acpi.o
120obj-$(CONFIG_TOPSTAR_LAPTOP)	+= topstar-laptop.o
121
122# Platform drivers
123obj-$(CONFIG_FW_ATTR_CLASS)		+= firmware_attributes_class.o
124obj-$(CONFIG_SERIAL_MULTI_INSTANTIATE)	+= serial-multi-instantiate.o
125obj-$(CONFIG_MLX_PLATFORM)		+= mlx-platform.o
126obj-$(CONFIG_TOUCHSCREEN_DMI)		+= touchscreen_dmi.o
127obj-$(CONFIG_WIRELESS_HOTKEY)		+= wireless-hotkey.o
128obj-$(CONFIG_X86_ANDROID_TABLETS)	+= x86-android-tablets/
129
130# Intel uncore drivers
131obj-$(CONFIG_INTEL_IPS)				+= intel_ips.o
132
133# Intel miscellaneous drivers
134intel_p2sb-y				:= p2sb.o
135obj-$(CONFIG_P2SB)			+= intel_p2sb.o
136
137# Intel PMIC / PMC / P-Unit devices
138obj-$(CONFIG_INTEL_SCU_IPC)		+= intel_scu_ipc.o
139obj-$(CONFIG_INTEL_SCU_PCI)		+= intel_scu_pcidrv.o
140obj-$(CONFIG_INTEL_SCU_PLATFORM)	+= intel_scu_pltdrv.o
141obj-$(CONFIG_INTEL_SCU_WDT)		+= intel_scu_wdt.o
142obj-$(CONFIG_INTEL_SCU_IPC_UTIL)	+= intel_scu_ipcutil.o
143obj-$(CONFIG_X86_INTEL_LPSS)		+= pmc_atom.o
144
145# Siemens Simatic Industrial PCs
146obj-$(CONFIG_SIEMENS_SIMATIC_IPC)	+= siemens/
147
148# Silicom
149obj-$(CONFIG_SILICOM_PLATFORM)		+= silicom-platform.o
150
151# Winmate
152obj-$(CONFIG_WINMATE_FM07_KEYS)		+= winmate-fm07-keys.o
153
154# SEL
155obj-$(CONFIG_SEL3350_PLATFORM)		+= sel3350-platform.o
156