xref: /openbmc/linux/drivers/platform/x86/Makefile (revision b8b350af)
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_PEAQ_WMI)			+= peaq-wmi.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-$(CONFIG_AMD_PMC)		+= amd-pmc.o
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_EEEPC_LAPTOP)	+= eeepc-laptop.o
38obj-$(CONFIG_EEEPC_WMI)		+= eeepc-wmi.o
39
40# Cisco/Meraki
41obj-$(CONFIG_MERAKI_MX100)	+= meraki-mx100.o
42
43# Dell
44obj-$(CONFIG_X86_PLATFORM_DRIVERS_DELL)		+= dell/
45
46# Fujitsu
47obj-$(CONFIG_AMILO_RFKILL)	+= amilo-rfkill.o
48obj-$(CONFIG_FUJITSU_LAPTOP)	+= fujitsu-laptop.o
49obj-$(CONFIG_FUJITSU_TABLET)	+= fujitsu-tablet.o
50
51# GPD
52obj-$(CONFIG_GPD_POCKET_FAN)	+= gpd-pocket-fan.o
53
54# Hewlett Packard
55obj-$(CONFIG_HP_ACCEL)		+= hp_accel.o
56obj-$(CONFIG_HP_WMI)		+= hp-wmi.o
57obj-$(CONFIG_TC1100_WMI)	+= tc1100-wmi.o
58
59# Hewlett Packard Enterprise
60obj-$(CONFIG_UV_SYSFS)       += uv_sysfs.o
61
62# IBM Thinkpad and Lenovo
63obj-$(CONFIG_IBM_RTL)		+= ibm_rtl.o
64obj-$(CONFIG_IDEAPAD_LAPTOP)	+= ideapad-laptop.o
65obj-$(CONFIG_SENSORS_HDAPS)	+= hdaps.o
66obj-$(CONFIG_THINKPAD_ACPI)	+= thinkpad_acpi.o
67obj-$(CONFIG_THINKPAD_LMI)	+= think-lmi.o
68
69# Intel
70obj-$(CONFIG_X86_PLATFORM_DRIVERS_INTEL)		+= intel/
71
72# MSI
73obj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
74obj-$(CONFIG_MSI_WMI)		+= msi-wmi.o
75
76# OLPC
77obj-$(CONFIG_XO15_EBOOK)	+= xo15-ebook.o
78obj-$(CONFIG_XO1_RFKILL)	+= xo1-rfkill.o
79
80# PC Engines
81obj-$(CONFIG_PCENGINES_APU2)	+= pcengines-apuv2.o
82
83# Samsung
84obj-$(CONFIG_SAMSUNG_LAPTOP)	+= samsung-laptop.o
85obj-$(CONFIG_SAMSUNG_Q10)	+= samsung-q10.o
86
87# Toshiba
88obj-$(CONFIG_TOSHIBA_BT_RFKILL)	+= toshiba_bluetooth.o
89obj-$(CONFIG_TOSHIBA_HAPS)	+= toshiba_haps.o
90obj-$(CONFIG_TOSHIBA_WMI)	+= toshiba-wmi.o
91
92# toshiba_acpi must link after wmi to ensure that wmi devices are found
93# before toshiba_acpi initializes
94obj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
95
96# Laptop drivers
97obj-$(CONFIG_ACPI_CMPC)		+= classmate-laptop.o
98obj-$(CONFIG_COMPAL_LAPTOP)	+= compal-laptop.o
99obj-$(CONFIG_LG_LAPTOP)		+= lg-laptop.o
100obj-$(CONFIG_PANASONIC_LAPTOP)	+= panasonic-laptop.o
101obj-$(CONFIG_SONY_LAPTOP)	+= sony-laptop.o
102obj-$(CONFIG_SYSTEM76_ACPI)	+= system76_acpi.o
103obj-$(CONFIG_TOPSTAR_LAPTOP)	+= topstar-laptop.o
104
105# Platform drivers
106obj-$(CONFIG_FW_ATTR_CLASS)		+= firmware_attributes_class.o
107obj-$(CONFIG_I2C_MULTI_INSTANTIATE)	+= i2c-multi-instantiate.o
108obj-$(CONFIG_MLX_PLATFORM)		+= mlx-platform.o
109obj-$(CONFIG_TOUCHSCREEN_DMI)		+= touchscreen_dmi.o
110obj-$(CONFIG_WIRELESS_HOTKEY)		+= wireless-hotkey.o
111
112# Intel uncore drivers
113obj-$(CONFIG_INTEL_IPS)				+= intel_ips.o
114
115# Intel PMIC / PMC / P-Unit devices
116obj-$(CONFIG_INTEL_SCU_IPC)		+= intel_scu_ipc.o
117obj-$(CONFIG_INTEL_SCU_PCI)		+= intel_scu_pcidrv.o
118obj-$(CONFIG_INTEL_SCU_PLATFORM)	+= intel_scu_pltdrv.o
119obj-$(CONFIG_INTEL_SCU_WDT)		+= intel_scu_wdt.o
120obj-$(CONFIG_INTEL_SCU_IPC_UTIL)	+= intel_scu_ipcutil.o
121obj-$(CONFIG_PMC_ATOM)			+= pmc_atom.o
122