xref: /openbmc/linux/drivers/platform/x86/Makefile (revision 156ec473)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
241b16dceSLen Brown#
341b16dceSLen Brown# Makefile for linux/drivers/platform/x86
441b16dceSLen Brown# x86 Platform-Specific Drivers
541b16dceSLen Brown#
6d82d3ef6SAndy Shevchenko
7d82d3ef6SAndy Shevchenko# Windows Management Interface
8d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ACPI_WMI)		+= wmi.o
9d82d3ef6SAndy Shevchenkoobj-$(CONFIG_WMI_BMOF)		+= wmi-bmof.o
10d82d3ef6SAndy Shevchenko
11d82d3ef6SAndy Shevchenko# WMI drivers
12d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ALIENWARE_WMI)		+= alienware-wmi.o
13d82d3ef6SAndy Shevchenkoobj-$(CONFIG_HUAWEI_WMI)		+= huawei-wmi.o
142d30fcddSJithu Josephobj-$(CONFIG_INTEL_WMI_SBL_FW_UPDATE)	+= intel-wmi-sbl-fw-update.o
15d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_WMI_THUNDERBOLT)	+= intel-wmi-thunderbolt.o
16d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MXM_WMI)			+= mxm-wmi.o
17d82d3ef6SAndy Shevchenkoobj-$(CONFIG_PEAQ_WMI)			+= peaq-wmi.o
18d82d3ef6SAndy Shevchenkoobj-$(CONFIG_XIAOMI_WMI)		+= xiaomi-wmi.o
19d82d3ef6SAndy Shevchenko
20d82d3ef6SAndy Shevchenko# Acer
21d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ACERHDF)		+= acerhdf.o
22d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ACER_WIRELESS)	+= acer-wireless.o
23d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ACER_WMI)		+= acer-wmi.o
24d82d3ef6SAndy Shevchenko
25*156ec473SShyam Sundar S K# AMD
26*156ec473SShyam Sundar S Kobj-$(CONFIG_AMD_PMC)		+= amd-pmc.o
27*156ec473SShyam Sundar S K
28d82d3ef6SAndy Shevchenko# Apple
29d82d3ef6SAndy Shevchenkoobj-$(CONFIG_APPLE_GMUX)	+= apple-gmux.o
30d82d3ef6SAndy Shevchenko
31d82d3ef6SAndy Shevchenko# ASUS
3241b16dceSLen Brownobj-$(CONFIG_ASUS_LAPTOP)	+= asus-laptop.o
33d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ASUS_WIRELESS)	+= asus-wireless.o
34e12e6d94SCorentin Charyobj-$(CONFIG_ASUS_WMI)		+= asus-wmi.o
35b229ece9SCorentin Charyobj-$(CONFIG_ASUS_NB_WMI)	+= asus-nb-wmi.o
3641b16dceSLen Brownobj-$(CONFIG_EEEPC_LAPTOP)	+= eeepc-laptop.o
37e12e6d94SCorentin Charyobj-$(CONFIG_EEEPC_WMI)		+= eeepc-wmi.o
38d82d3ef6SAndy Shevchenko
39d82d3ef6SAndy Shevchenko# Dell
408e5cddd1SStuart Hayesobj-$(CONFIG_DCDBAS)			+= dcdbas.o
412f9f26bdSMichał Kępieńobj-$(CONFIG_DELL_SMBIOS)		+= dell-smbios.o
4294f77cb1SMario Limonciellodell-smbios-objs			:= dell-smbios-base.o
4325d47027SMario Limonciellodell-smbios-$(CONFIG_DELL_SMBIOS_WMI)	+= dell-smbios-wmi.o
4425d47027SMario Limonciellodell-smbios-$(CONFIG_DELL_SMBIOS_SMM)	+= dell-smbios-smm.o
45cad73120SLen Brownobj-$(CONFIG_DELL_LAPTOP)		+= dell-laptop.o
46d82d3ef6SAndy Shevchenkoobj-$(CONFIG_DELL_RBTN)			+= dell-rbtn.o
47d82d3ef6SAndy Shevchenkoobj-$(CONFIG_DELL_RBU)			+= dell_rbu.o
48d82d3ef6SAndy Shevchenkoobj-$(CONFIG_DELL_SMO8800)		+= dell-smo8800.o
490b3f6109SMatthew Garrettobj-$(CONFIG_DELL_WMI)			+= dell-wmi.o
5092b8c540SMario Limoncielloobj-$(CONFIG_DELL_WMI_DESCRIPTOR)	+= dell-wmi-descriptor.o
51820787fcSColin Ian Kingobj-$(CONFIG_DELL_WMI_AIO)		+= dell-wmi-aio.o
527a3319c1SMichał Kępieńobj-$(CONFIG_DELL_WMI_LED)		+= dell-wmi-led.o
53e8a60aa7SDivya Bharathiobj-$(CONFIG_DELL_WMI_SYSMAN)		+= dell-wmi-sysman/
54d82d3ef6SAndy Shevchenko
55d82d3ef6SAndy Shevchenko# Fujitsu
56d82d3ef6SAndy Shevchenkoobj-$(CONFIG_AMILO_RFKILL)	+= amilo-rfkill.o
57d82d3ef6SAndy Shevchenkoobj-$(CONFIG_FUJITSU_LAPTOP)	+= fujitsu-laptop.o
58d82d3ef6SAndy Shevchenkoobj-$(CONFIG_FUJITSU_TABLET)	+= fujitsu-tablet.o
59d82d3ef6SAndy Shevchenko
60d82d3ef6SAndy Shevchenko# GPD
61d82d3ef6SAndy Shevchenkoobj-$(CONFIG_GPD_POCKET_FAN)	+= gpd-pocket-fan.o
62d82d3ef6SAndy Shevchenko
63d82d3ef6SAndy Shevchenko# Hewlett Packard
64efcfed9bSJean Delvareobj-$(CONFIG_HP_ACCEL)		+= hp_accel.o
6554290fa6SAlex Hungobj-$(CONFIG_HP_WIRELESS)	+= hp-wireless.o
6641b16dceSLen Brownobj-$(CONFIG_HP_WMI)		+= hp-wmi.o
6741b16dceSLen Brownobj-$(CONFIG_TC1100_WMI)	+= tc1100-wmi.o
68d82d3ef6SAndy Shevchenko
69d82d3ef6SAndy Shevchenko# IBM Thinkpad and Lenovo
70d82d3ef6SAndy Shevchenkoobj-$(CONFIG_IBM_RTL)		+= ibm_rtl.o
7175b2d09aSMatthew Garrettobj-$(CONFIG_IDEAPAD_LAPTOP)	+= ideapad-laptop.o
72bd9fc3a7SJean Delvareobj-$(CONFIG_SENSORS_HDAPS)	+= hdaps.o
73d82d3ef6SAndy Shevchenkoobj-$(CONFIG_THINKPAD_ACPI)	+= thinkpad_acpi.o
74d82d3ef6SAndy Shevchenko
75d82d3ef6SAndy Shevchenko# Intel
764b2d688fSHans de Goedeobj-$(CONFIG_INTEL_ATOMISP2_LED)	+= intel_atomisp2_led.o
77d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_ATOMISP2_PM)		+= intel_atomisp2_pm.o
78d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_CHT_INT33FE)		+= intel_cht_int33fe.o
79d82d3ef6SAndy Shevchenkointel_cht_int33fe-objs			:= intel_cht_int33fe_common.o \
80d82d3ef6SAndy Shevchenko					   intel_cht_int33fe_typec.o \
81d82d3ef6SAndy Shevchenko					   intel_cht_int33fe_microb.o
82d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_HID_EVENT)		+= intel-hid.o
83d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_INT0002_VGPIO)	+= intel_int0002_vgpio.o
8441b16dceSLen Brownobj-$(CONFIG_INTEL_MENLOW)		+= intel_menlow.o
85d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_OAKTRAIL)		+= intel_oaktrail.o
86d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_VBTN)		+= intel-vbtn.o
87d82d3ef6SAndy Shevchenko
88d82d3ef6SAndy Shevchenko# MSI
89d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
90d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MSI_WMI)		+= msi-wmi.o
91d82d3ef6SAndy Shevchenko
92d82d3ef6SAndy Shevchenko# OLPC
93d82d3ef6SAndy Shevchenkoobj-$(CONFIG_XO15_EBOOK)	+= xo15-ebook.o
94d82d3ef6SAndy Shevchenkoobj-$(CONFIG_XO1_RFKILL)	+= xo1-rfkill.o
95d82d3ef6SAndy Shevchenko
96d82d3ef6SAndy Shevchenko# PC Engines
97d82d3ef6SAndy Shevchenkoobj-$(CONFIG_PCENGINES_APU2)	+= pcengines-apuv2.o
98d82d3ef6SAndy Shevchenko
99d82d3ef6SAndy Shevchenko# Samsung
100d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SAMSUNG_LAPTOP)	+= samsung-laptop.o
101d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SAMSUNG_Q10)	+= samsung-q10.o
102d82d3ef6SAndy Shevchenko
103d82d3ef6SAndy Shevchenko# Toshiba
104d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOSHIBA_BT_RFKILL)	+= toshiba_bluetooth.o
105d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOSHIBA_HAPS)	+= toshiba_haps.o
106d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOSHIBA_WMI)	+= toshiba-wmi.o
107f11f999eSSeth Forshee
108f11f999eSSeth Forshee# toshiba_acpi must link after wmi to ensure that wmi devices are found
109f11f999eSSeth Forshee# before toshiba_acpi initializes
110b4f9fe12SLen Brownobj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
111f11f999eSSeth Forshee
112d82d3ef6SAndy Shevchenko# Laptop drivers
113d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ACPI_CMPC)		+= classmate-laptop.o
114d82d3ef6SAndy Shevchenkoobj-$(CONFIG_COMPAL_LAPTOP)	+= compal-laptop.o
115d82d3ef6SAndy Shevchenkoobj-$(CONFIG_LG_LAPTOP)		+= lg-laptop.o
116d82d3ef6SAndy Shevchenkoobj-$(CONFIG_PANASONIC_LAPTOP)	+= panasonic-laptop.o
117d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SONY_LAPTOP)	+= sony-laptop.o
118d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SYSTEM76_ACPI)	+= system76_acpi.o
119d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOPSTAR_LAPTOP)	+= topstar-laptop.o
120d740795dSYauhen Kharuzhy
121d82d3ef6SAndy Shevchenko# Platform drivers
122d82d3ef6SAndy Shevchenkoobj-$(CONFIG_I2C_MULTI_INSTANTIATE)	+= i2c-multi-instantiate.o
123d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MLX_PLATFORM)		+= mlx-platform.o
124d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOUCHSCREEN_DMI)		+= touchscreen_dmi.o
125d82d3ef6SAndy Shevchenko
126d82d3ef6SAndy Shevchenko# Intel uncore drivers
127aa7ffc01SJesse Barnesobj-$(CONFIG_INTEL_IPS)				+= intel_ips.o
12834a956dbSMatthew Garrettobj-$(CONFIG_INTEL_RST)				+= intel-rst.o
1295c7f80f7SMatthew Garrettobj-$(CONFIG_INTEL_SMARTCONNECT)		+= intel-smartconnect.o
130d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_SPEED_SELECT_INTERFACE)	+= intel_speed_select_if/
131d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_TURBO_MAX_3)			+= intel_turbo_max_3.o
132d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL)		+= intel-uncore-frequency.o
1338b10acd7SHu Tao
134d82d3ef6SAndy Shevchenko# Intel PMIC / PMC / P-Unit devices
135957ae509SNilesh Bacchewarobj-$(CONFIG_INTEL_BXTWC_PMIC_TMU)	+= intel_bxtwc_tmu.o
136d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_CHTDC_TI_PWRBTN)	+= intel_chtdc_ti_pwrbtn.o
137d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_MFLD_THERMAL)	+= intel_mid_thermal.o
138d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_MID_POWER_BUTTON)	+= intel_mid_powerbtn.o
139d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_MRFLD_PWRBTN)	+= intel_mrfld_pwrbtn.o
140d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_PMC_CORE)		+= intel_pmc_core.o intel_pmc_core_pltdrv.o
141e2729113SAlexander Duyckobj-$(CONFIG_INTEL_PMT_CLASS)		+= intel_pmt_class.o
14268fe8e6eSAlexander Duyckobj-$(CONFIG_INTEL_PMT_TELEMETRY)	+= intel_pmt_telemetry.o
1435ef9998cSAlexander Duyckobj-$(CONFIG_INTEL_PMT_CRASHLOG)	+= intel_pmt_crashlog.o
144d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_PUNIT_IPC)		+= intel_punit_ipc.o
145d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_SCU_IPC)		+= intel_scu_ipc.o
14654b34aa0SMika Westerbergobj-$(CONFIG_INTEL_SCU_PCI)		+= intel_scu_pcidrv.o
1477a61f05eSMika Westerbergobj-$(CONFIG_INTEL_SCU_PLATFORM)	+= intel_scu_pltdrv.o
148d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_SCU_IPC_UTIL)	+= intel_scu_ipcutil.o
1499d16b482SSouvik Kumar Chakravartyobj-$(CONFIG_INTEL_TELEMETRY)		+= intel_telemetry_core.o \
15087bee290SSouvik Kumar Chakravarty					   intel_telemetry_pltdrv.o \
15187bee290SSouvik Kumar Chakravarty					   intel_telemetry_debugfs.o
15280a7581fSIrina Tirdeaobj-$(CONFIG_PMC_ATOM)			+= pmc_atom.o
153