xref: /openbmc/linux/drivers/platform/x86/Makefile (revision 2aa0f83e)
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_PEAQ_WMI)			+= peaq-wmi.o
16obj-$(CONFIG_XIAOMI_WMI)		+= xiaomi-wmi.o
17obj-$(CONFIG_GIGABYTE_WMI)		+= gigabyte-wmi.o
18obj-$(CONFIG_YOGABOOK_WMI)		+= lenovo-yogabook-wmi.o
19
20# Acer
21obj-$(CONFIG_ACERHDF)		+= acerhdf.o
22obj-$(CONFIG_ACER_WIRELESS)	+= acer-wireless.o
23obj-$(CONFIG_ACER_WMI)		+= acer-wmi.o
24
25# AMD
26obj-y				+= amd/
27
28# Advantech
29obj-$(CONFIG_ADV_SWBUTTON)	+= adv_swbutton.o
30
31# Apple
32obj-$(CONFIG_APPLE_GMUX)	+= apple-gmux.o
33
34# ASUS
35obj-$(CONFIG_ASUS_LAPTOP)	+= asus-laptop.o
36obj-$(CONFIG_ASUS_WIRELESS)	+= asus-wireless.o
37obj-$(CONFIG_ASUS_WMI)		+= asus-wmi.o
38obj-$(CONFIG_ASUS_NB_WMI)	+= asus-nb-wmi.o
39obj-$(CONFIG_ASUS_TF103C_DOCK)	+= asus-tf103c-dock.o
40obj-$(CONFIG_EEEPC_LAPTOP)	+= eeepc-laptop.o
41obj-$(CONFIG_EEEPC_WMI)		+= eeepc-wmi.o
42
43# Cisco/Meraki
44obj-$(CONFIG_MERAKI_MX100)	+= meraki-mx100.o
45
46# Dell
47obj-$(CONFIG_X86_PLATFORM_DRIVERS_DELL)		+= dell/
48
49# Fujitsu
50obj-$(CONFIG_AMILO_RFKILL)	+= amilo-rfkill.o
51obj-$(CONFIG_FUJITSU_LAPTOP)	+= fujitsu-laptop.o
52obj-$(CONFIG_FUJITSU_TABLET)	+= fujitsu-tablet.o
53
54# GPD
55obj-$(CONFIG_GPD_POCKET_FAN)	+= gpd-pocket-fan.o
56
57# Hewlett Packard
58obj-$(CONFIG_X86_PLATFORM_DRIVERS_HP)	+= hp/
59
60# Hewlett Packard Enterprise
61obj-$(CONFIG_UV_SYSFS)       += uv_sysfs.o
62
63# IBM Thinkpad and Lenovo
64obj-$(CONFIG_IBM_RTL)		+= ibm_rtl.o
65obj-$(CONFIG_IDEAPAD_LAPTOP)	+= ideapad-laptop.o
66obj-$(CONFIG_SENSORS_HDAPS)	+= hdaps.o
67obj-$(CONFIG_THINKPAD_ACPI)	+= thinkpad_acpi.o
68obj-$(CONFIG_THINKPAD_LMI)	+= think-lmi.o
69
70# Intel
71obj-y				+= intel/
72
73# MSI
74obj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
75obj-$(CONFIG_MSI_WMI)		+= msi-wmi.o
76
77# OLPC
78obj-$(CONFIG_XO15_EBOOK)	+= xo15-ebook.o
79obj-$(CONFIG_XO1_RFKILL)	+= xo1-rfkill.o
80
81# PC Engines
82obj-$(CONFIG_PCENGINES_APU2)	+= pcengines-apuv2.o
83
84# Barco
85obj-$(CONFIG_BARCO_P50_GPIO)	+= barco-p50-gpio.o
86
87# Samsung
88obj-$(CONFIG_SAMSUNG_LAPTOP)	+= samsung-laptop.o
89obj-$(CONFIG_SAMSUNG_Q10)	+= samsung-q10.o
90
91# Toshiba
92obj-$(CONFIG_TOSHIBA_BT_RFKILL)	+= toshiba_bluetooth.o
93obj-$(CONFIG_TOSHIBA_HAPS)	+= toshiba_haps.o
94obj-$(CONFIG_TOSHIBA_WMI)	+= toshiba-wmi.o
95
96# toshiba_acpi must link after wmi to ensure that wmi devices are found
97# before toshiba_acpi initializes
98obj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
99
100# Laptop drivers
101obj-$(CONFIG_ACPI_CMPC)		+= classmate-laptop.o
102obj-$(CONFIG_COMPAL_LAPTOP)	+= compal-laptop.o
103obj-$(CONFIG_LG_LAPTOP)		+= lg-laptop.o
104obj-$(CONFIG_PANASONIC_LAPTOP)	+= panasonic-laptop.o
105obj-$(CONFIG_SONY_LAPTOP)	+= sony-laptop.o
106obj-$(CONFIG_SYSTEM76_ACPI)	+= system76_acpi.o
107obj-$(CONFIG_TOPSTAR_LAPTOP)	+= topstar-laptop.o
108
109# Platform drivers
110obj-$(CONFIG_FW_ATTR_CLASS)		+= firmware_attributes_class.o
111obj-$(CONFIG_SERIAL_MULTI_INSTANTIATE)	+= serial-multi-instantiate.o
112obj-$(CONFIG_MLX_PLATFORM)		+= mlx-platform.o
113obj-$(CONFIG_TOUCHSCREEN_DMI)		+= touchscreen_dmi.o
114obj-$(CONFIG_WIRELESS_HOTKEY)		+= wireless-hotkey.o
115obj-$(CONFIG_X86_ANDROID_TABLETS)	+= x86-android-tablets.o
116
117# Intel uncore drivers
118obj-$(CONFIG_INTEL_IPS)				+= intel_ips.o
119
120# Intel miscellaneous drivers
121intel_p2sb-y				:= p2sb.o
122obj-$(CONFIG_P2SB)			+= intel_p2sb.o
123
124# Intel PMIC / PMC / P-Unit devices
125obj-$(CONFIG_INTEL_SCU_IPC)		+= intel_scu_ipc.o
126obj-$(CONFIG_INTEL_SCU_PCI)		+= intel_scu_pcidrv.o
127obj-$(CONFIG_INTEL_SCU_PLATFORM)	+= intel_scu_pltdrv.o
128obj-$(CONFIG_INTEL_SCU_WDT)		+= intel_scu_wdt.o
129obj-$(CONFIG_INTEL_SCU_IPC_UTIL)	+= intel_scu_ipcutil.o
130obj-$(CONFIG_X86_INTEL_LPSS)		+= pmc_atom.o
131
132# Siemens Simatic Industrial PCs
133obj-$(CONFIG_SIEMENS_SIMATIC_IPC)	+= simatic-ipc.o
134
135# Winmate
136obj-$(CONFIG_WINMATE_FM07_KEYS)		+= winmate-fm07-keys.o
137