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