xref: /openbmc/linux/drivers/platform/x86/Makefile (revision 636a1e69)
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_HUAWEI_WMI)		+= huawei-wmi.o
132d30fcddSJithu Josephobj-$(CONFIG_INTEL_WMI_SBL_FW_UPDATE)	+= intel-wmi-sbl-fw-update.o
14d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_WMI_THUNDERBOLT)	+= intel-wmi-thunderbolt.o
15d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MXM_WMI)			+= mxm-wmi.o
16d82d3ef6SAndy Shevchenkoobj-$(CONFIG_PEAQ_WMI)			+= peaq-wmi.o
17d82d3ef6SAndy Shevchenkoobj-$(CONFIG_XIAOMI_WMI)		+= xiaomi-wmi.o
1857293197SThomas Weißschuhobj-$(CONFIG_GIGABYTE_WMI)		+= gigabyte-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
25156ec473SShyam Sundar S K# AMD
26156ec473SShyam Sundar S Kobj-$(CONFIG_AMD_PMC)		+= amd-pmc.o
27156ec473SShyam Sundar S K
283d904005SAndrea.Ho# Advantech
293d904005SAndrea.Hoobj-$(CONFIG_ADV_SWBUTTON)	+= adv_swbutton.o
303d904005SAndrea.Ho
31d82d3ef6SAndy Shevchenko# Apple
32d82d3ef6SAndy Shevchenkoobj-$(CONFIG_APPLE_GMUX)	+= apple-gmux.o
33d82d3ef6SAndy Shevchenko
34d82d3ef6SAndy Shevchenko# ASUS
3541b16dceSLen Brownobj-$(CONFIG_ASUS_LAPTOP)	+= asus-laptop.o
36d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ASUS_WIRELESS)	+= asus-wireless.o
37e12e6d94SCorentin Charyobj-$(CONFIG_ASUS_WMI)		+= asus-wmi.o
38b229ece9SCorentin Charyobj-$(CONFIG_ASUS_NB_WMI)	+= asus-nb-wmi.o
3941b16dceSLen Brownobj-$(CONFIG_EEEPC_LAPTOP)	+= eeepc-laptop.o
40e12e6d94SCorentin Charyobj-$(CONFIG_EEEPC_WMI)		+= eeepc-wmi.o
41d82d3ef6SAndy Shevchenko
42*636a1e69SChris Blake# Cisco/Meraki
43*636a1e69SChris Blakeobj-$(CONFIG_MERAKI_MX100)	+= meraki-mx100.o
44*636a1e69SChris Blake
45d82d3ef6SAndy Shevchenko# Dell
46f1e1ea51SMario Limoncielloobj-$(CONFIG_X86_PLATFORM_DRIVERS_DELL)		+= dell/
47d82d3ef6SAndy Shevchenko
48d82d3ef6SAndy Shevchenko# Fujitsu
49d82d3ef6SAndy Shevchenkoobj-$(CONFIG_AMILO_RFKILL)	+= amilo-rfkill.o
50d82d3ef6SAndy Shevchenkoobj-$(CONFIG_FUJITSU_LAPTOP)	+= fujitsu-laptop.o
51d82d3ef6SAndy Shevchenkoobj-$(CONFIG_FUJITSU_TABLET)	+= fujitsu-tablet.o
52d82d3ef6SAndy Shevchenko
53d82d3ef6SAndy Shevchenko# GPD
54d82d3ef6SAndy Shevchenkoobj-$(CONFIG_GPD_POCKET_FAN)	+= gpd-pocket-fan.o
55d82d3ef6SAndy Shevchenko
56d82d3ef6SAndy Shevchenko# Hewlett Packard
57efcfed9bSJean Delvareobj-$(CONFIG_HP_ACCEL)		+= hp_accel.o
5841b16dceSLen Brownobj-$(CONFIG_HP_WMI)		+= hp-wmi.o
5941b16dceSLen Brownobj-$(CONFIG_TC1100_WMI)	+= tc1100-wmi.o
60d82d3ef6SAndy Shevchenko
614fc2cf1fSJustin Ernst# Hewlett Packard Enterprise
624fc2cf1fSJustin Ernstobj-$(CONFIG_UV_SYSFS)       += uv_sysfs.o
634fc2cf1fSJustin Ernst
64d82d3ef6SAndy Shevchenko# IBM Thinkpad and Lenovo
65d82d3ef6SAndy Shevchenkoobj-$(CONFIG_IBM_RTL)		+= ibm_rtl.o
6675b2d09aSMatthew Garrettobj-$(CONFIG_IDEAPAD_LAPTOP)	+= ideapad-laptop.o
67bd9fc3a7SJean Delvareobj-$(CONFIG_SENSORS_HDAPS)	+= hdaps.o
68d82d3ef6SAndy Shevchenkoobj-$(CONFIG_THINKPAD_ACPI)	+= thinkpad_acpi.o
69a40cd7efSMark Pearsonobj-$(CONFIG_THINKPAD_LMI)	+= think-lmi.o
70d82d3ef6SAndy Shevchenko
71d82d3ef6SAndy Shevchenko# Intel
728bd836feSAndy Shevchenkoobj-$(CONFIG_X86_PLATFORM_DRIVERS_INTEL)		+= intel/
738bd836feSAndy Shevchenko
744b2d688fSHans de Goedeobj-$(CONFIG_INTEL_ATOMISP2_LED)	+= intel_atomisp2_led.o
75d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_ATOMISP2_PM)		+= intel_atomisp2_pm.o
76d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_HID_EVENT)		+= intel-hid.o
77d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_INT0002_VGPIO)	+= intel_int0002_vgpio.o
7841b16dceSLen Brownobj-$(CONFIG_INTEL_MENLOW)		+= intel_menlow.o
79d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_OAKTRAIL)		+= intel_oaktrail.o
80d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_VBTN)		+= intel-vbtn.o
81d82d3ef6SAndy Shevchenko
82d82d3ef6SAndy Shevchenko# MSI
83d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
84d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MSI_WMI)		+= msi-wmi.o
85d82d3ef6SAndy Shevchenko
86d82d3ef6SAndy Shevchenko# OLPC
87d82d3ef6SAndy Shevchenkoobj-$(CONFIG_XO15_EBOOK)	+= xo15-ebook.o
88d82d3ef6SAndy Shevchenkoobj-$(CONFIG_XO1_RFKILL)	+= xo1-rfkill.o
89d82d3ef6SAndy Shevchenko
90d82d3ef6SAndy Shevchenko# PC Engines
91d82d3ef6SAndy Shevchenkoobj-$(CONFIG_PCENGINES_APU2)	+= pcengines-apuv2.o
92d82d3ef6SAndy Shevchenko
93d82d3ef6SAndy Shevchenko# Samsung
94d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SAMSUNG_LAPTOP)	+= samsung-laptop.o
95d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SAMSUNG_Q10)	+= samsung-q10.o
96d82d3ef6SAndy Shevchenko
97d82d3ef6SAndy Shevchenko# Toshiba
98d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOSHIBA_BT_RFKILL)	+= toshiba_bluetooth.o
99d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOSHIBA_HAPS)	+= toshiba_haps.o
100d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOSHIBA_WMI)	+= toshiba-wmi.o
101f11f999eSSeth Forshee
102f11f999eSSeth Forshee# toshiba_acpi must link after wmi to ensure that wmi devices are found
103f11f999eSSeth Forshee# before toshiba_acpi initializes
104b4f9fe12SLen Brownobj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
105f11f999eSSeth Forshee
106d82d3ef6SAndy Shevchenko# Laptop drivers
107d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ACPI_CMPC)		+= classmate-laptop.o
108d82d3ef6SAndy Shevchenkoobj-$(CONFIG_COMPAL_LAPTOP)	+= compal-laptop.o
109d82d3ef6SAndy Shevchenkoobj-$(CONFIG_LG_LAPTOP)		+= lg-laptop.o
110d82d3ef6SAndy Shevchenkoobj-$(CONFIG_PANASONIC_LAPTOP)	+= panasonic-laptop.o
111d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SONY_LAPTOP)	+= sony-laptop.o
112d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SYSTEM76_ACPI)	+= system76_acpi.o
113d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOPSTAR_LAPTOP)	+= topstar-laptop.o
114d740795dSYauhen Kharuzhy
115d82d3ef6SAndy Shevchenko# Platform drivers
11617b707feSMark Pearsonobj-$(CONFIG_FW_ATTR_CLASS)		+= firmware_attributes_class.o
117d82d3ef6SAndy Shevchenkoobj-$(CONFIG_I2C_MULTI_INSTANTIATE)	+= i2c-multi-instantiate.o
118d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MLX_PLATFORM)		+= mlx-platform.o
119d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOUCHSCREEN_DMI)		+= touchscreen_dmi.o
120a558ea42SMario Limoncielloobj-$(CONFIG_WIRELESS_HOTKEY)		+= wireless-hotkey.o
121d82d3ef6SAndy Shevchenko
122d82d3ef6SAndy Shevchenko# Intel uncore drivers
123aa7ffc01SJesse Barnesobj-$(CONFIG_INTEL_IPS)				+= intel_ips.o
12434a956dbSMatthew Garrettobj-$(CONFIG_INTEL_RST)				+= intel-rst.o
1255c7f80f7SMatthew Garrettobj-$(CONFIG_INTEL_SMARTCONNECT)		+= intel-smartconnect.o
126d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_SPEED_SELECT_INTERFACE)	+= intel_speed_select_if/
127d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_TURBO_MAX_3)			+= intel_turbo_max_3.o
128d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL)		+= intel-uncore-frequency.o
1298b10acd7SHu Tao
130d82d3ef6SAndy Shevchenko# Intel PMIC / PMC / P-Unit devices
131957ae509SNilesh Bacchewarobj-$(CONFIG_INTEL_BXTWC_PMIC_TMU)	+= intel_bxtwc_tmu.o
132d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_CHTDC_TI_PWRBTN)	+= intel_chtdc_ti_pwrbtn.o
133d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_MRFLD_PWRBTN)	+= intel_mrfld_pwrbtn.o
134d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_PMC_CORE)		+= intel_pmc_core.o intel_pmc_core_pltdrv.o
135d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_PUNIT_IPC)		+= intel_punit_ipc.o
136d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_SCU_IPC)		+= intel_scu_ipc.o
13754b34aa0SMika Westerbergobj-$(CONFIG_INTEL_SCU_PCI)		+= intel_scu_pcidrv.o
1387a61f05eSMika Westerbergobj-$(CONFIG_INTEL_SCU_PLATFORM)	+= intel_scu_pltdrv.o
13918365d68SAndy Shevchenkoobj-$(CONFIG_INTEL_SCU_WDT)		+= intel_scu_wdt.o
140d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_SCU_IPC_UTIL)	+= intel_scu_ipcutil.o
1419d16b482SSouvik Kumar Chakravartyobj-$(CONFIG_INTEL_TELEMETRY)		+= intel_telemetry_core.o \
14287bee290SSouvik Kumar Chakravarty					   intel_telemetry_pltdrv.o \
14387bee290SSouvik Kumar Chakravarty					   intel_telemetry_debugfs.o
14480a7581fSIrina Tirdeaobj-$(CONFIG_PMC_ATOM)			+= pmc_atom.o
145