xref: /openbmc/linux/drivers/platform/x86/Makefile (revision 27ab1c1c)
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_ALIENWARE_WMI)		+= alienware-wmi.o
13obj-$(CONFIG_HUAWEI_WMI)		+= huawei-wmi.o
14obj-$(CONFIG_INTEL_WMI_SBL_FW_UPDATE)	+= intel-wmi-sbl-fw-update.o
15obj-$(CONFIG_INTEL_WMI_THUNDERBOLT)	+= intel-wmi-thunderbolt.o
16obj-$(CONFIG_MXM_WMI)			+= mxm-wmi.o
17obj-$(CONFIG_PEAQ_WMI)			+= peaq-wmi.o
18obj-$(CONFIG_XIAOMI_WMI)		+= xiaomi-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
27
28# Apple
29obj-$(CONFIG_APPLE_GMUX)	+= apple-gmux.o
30
31# ASUS
32obj-$(CONFIG_ASUS_LAPTOP)	+= asus-laptop.o
33obj-$(CONFIG_ASUS_WIRELESS)	+= asus-wireless.o
34obj-$(CONFIG_ASUS_WMI)		+= asus-wmi.o
35obj-$(CONFIG_ASUS_NB_WMI)	+= asus-nb-wmi.o
36obj-$(CONFIG_EEEPC_LAPTOP)	+= eeepc-laptop.o
37obj-$(CONFIG_EEEPC_WMI)		+= eeepc-wmi.o
38
39# Dell
40obj-$(CONFIG_DCDBAS)			+= dcdbas.o
41obj-$(CONFIG_DELL_SMBIOS)		+= dell-smbios.o
42dell-smbios-objs			:= dell-smbios-base.o
43dell-smbios-$(CONFIG_DELL_SMBIOS_WMI)	+= dell-smbios-wmi.o
44dell-smbios-$(CONFIG_DELL_SMBIOS_SMM)	+= dell-smbios-smm.o
45obj-$(CONFIG_DELL_LAPTOP)		+= dell-laptop.o
46obj-$(CONFIG_DELL_RBTN)			+= dell-rbtn.o
47obj-$(CONFIG_DELL_RBU)			+= dell_rbu.o
48obj-$(CONFIG_DELL_SMO8800)		+= dell-smo8800.o
49obj-$(CONFIG_DELL_WMI)			+= dell-wmi.o
50obj-$(CONFIG_DELL_WMI_DESCRIPTOR)	+= dell-wmi-descriptor.o
51obj-$(CONFIG_DELL_WMI_AIO)		+= dell-wmi-aio.o
52obj-$(CONFIG_DELL_WMI_LED)		+= dell-wmi-led.o
53obj-$(CONFIG_DELL_WMI_SYSMAN)		+= dell-wmi-sysman/
54
55# Fujitsu
56obj-$(CONFIG_AMILO_RFKILL)	+= amilo-rfkill.o
57obj-$(CONFIG_FUJITSU_LAPTOP)	+= fujitsu-laptop.o
58obj-$(CONFIG_FUJITSU_TABLET)	+= fujitsu-tablet.o
59
60# GPD
61obj-$(CONFIG_GPD_POCKET_FAN)	+= gpd-pocket-fan.o
62
63# Hewlett Packard
64obj-$(CONFIG_HP_ACCEL)		+= hp_accel.o
65obj-$(CONFIG_HP_WIRELESS)	+= hp-wireless.o
66obj-$(CONFIG_HP_WMI)		+= hp-wmi.o
67obj-$(CONFIG_TC1100_WMI)	+= tc1100-wmi.o
68
69# Hewlett Packard Enterprise
70obj-$(CONFIG_UV_SYSFS)       += uv_sysfs.o
71
72# IBM Thinkpad and Lenovo
73obj-$(CONFIG_IBM_RTL)		+= ibm_rtl.o
74obj-$(CONFIG_IDEAPAD_LAPTOP)	+= ideapad-laptop.o
75obj-$(CONFIG_SENSORS_HDAPS)	+= hdaps.o
76obj-$(CONFIG_THINKPAD_ACPI)	+= thinkpad_acpi.o
77
78# Intel
79obj-$(CONFIG_INTEL_ATOMISP2_LED)	+= intel_atomisp2_led.o
80obj-$(CONFIG_INTEL_ATOMISP2_PM)		+= intel_atomisp2_pm.o
81obj-$(CONFIG_INTEL_CHT_INT33FE)		+= intel_cht_int33fe.o
82intel_cht_int33fe-objs			:= intel_cht_int33fe_common.o \
83					   intel_cht_int33fe_typec.o \
84					   intel_cht_int33fe_microb.o
85obj-$(CONFIG_INTEL_HID_EVENT)		+= intel-hid.o
86obj-$(CONFIG_INTEL_INT0002_VGPIO)	+= intel_int0002_vgpio.o
87obj-$(CONFIG_INTEL_MENLOW)		+= intel_menlow.o
88obj-$(CONFIG_INTEL_OAKTRAIL)		+= intel_oaktrail.o
89obj-$(CONFIG_INTEL_VBTN)		+= intel-vbtn.o
90
91# MSI
92obj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
93obj-$(CONFIG_MSI_WMI)		+= msi-wmi.o
94
95# OLPC
96obj-$(CONFIG_XO15_EBOOK)	+= xo15-ebook.o
97obj-$(CONFIG_XO1_RFKILL)	+= xo1-rfkill.o
98
99# PC Engines
100obj-$(CONFIG_PCENGINES_APU2)	+= pcengines-apuv2.o
101
102# Samsung
103obj-$(CONFIG_SAMSUNG_LAPTOP)	+= samsung-laptop.o
104obj-$(CONFIG_SAMSUNG_Q10)	+= samsung-q10.o
105
106# Toshiba
107obj-$(CONFIG_TOSHIBA_BT_RFKILL)	+= toshiba_bluetooth.o
108obj-$(CONFIG_TOSHIBA_HAPS)	+= toshiba_haps.o
109obj-$(CONFIG_TOSHIBA_WMI)	+= toshiba-wmi.o
110
111# toshiba_acpi must link after wmi to ensure that wmi devices are found
112# before toshiba_acpi initializes
113obj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
114
115# Laptop drivers
116obj-$(CONFIG_ACPI_CMPC)		+= classmate-laptop.o
117obj-$(CONFIG_COMPAL_LAPTOP)	+= compal-laptop.o
118obj-$(CONFIG_LG_LAPTOP)		+= lg-laptop.o
119obj-$(CONFIG_PANASONIC_LAPTOP)	+= panasonic-laptop.o
120obj-$(CONFIG_SONY_LAPTOP)	+= sony-laptop.o
121obj-$(CONFIG_SYSTEM76_ACPI)	+= system76_acpi.o
122obj-$(CONFIG_TOPSTAR_LAPTOP)	+= topstar-laptop.o
123
124# Platform drivers
125obj-$(CONFIG_I2C_MULTI_INSTANTIATE)	+= i2c-multi-instantiate.o
126obj-$(CONFIG_MLX_PLATFORM)		+= mlx-platform.o
127obj-$(CONFIG_TOUCHSCREEN_DMI)		+= touchscreen_dmi.o
128
129# Intel uncore drivers
130obj-$(CONFIG_INTEL_IPS)				+= intel_ips.o
131obj-$(CONFIG_INTEL_RST)				+= intel-rst.o
132obj-$(CONFIG_INTEL_SMARTCONNECT)		+= intel-smartconnect.o
133obj-$(CONFIG_INTEL_SPEED_SELECT_INTERFACE)	+= intel_speed_select_if/
134obj-$(CONFIG_INTEL_TURBO_MAX_3)			+= intel_turbo_max_3.o
135obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL)		+= intel-uncore-frequency.o
136
137# Intel PMIC / PMC / P-Unit devices
138obj-$(CONFIG_INTEL_BXTWC_PMIC_TMU)	+= intel_bxtwc_tmu.o
139obj-$(CONFIG_INTEL_CHTDC_TI_PWRBTN)	+= intel_chtdc_ti_pwrbtn.o
140obj-$(CONFIG_INTEL_MFLD_THERMAL)	+= intel_mid_thermal.o
141obj-$(CONFIG_INTEL_MID_POWER_BUTTON)	+= intel_mid_powerbtn.o
142obj-$(CONFIG_INTEL_MRFLD_PWRBTN)	+= intel_mrfld_pwrbtn.o
143obj-$(CONFIG_INTEL_PMC_CORE)		+= intel_pmc_core.o intel_pmc_core_pltdrv.o
144obj-$(CONFIG_INTEL_PMT_CLASS)		+= intel_pmt_class.o
145obj-$(CONFIG_INTEL_PMT_TELEMETRY)	+= intel_pmt_telemetry.o
146obj-$(CONFIG_INTEL_PMT_CRASHLOG)	+= intel_pmt_crashlog.o
147obj-$(CONFIG_INTEL_PUNIT_IPC)		+= intel_punit_ipc.o
148obj-$(CONFIG_INTEL_SCU_IPC)		+= intel_scu_ipc.o
149obj-$(CONFIG_INTEL_SCU_PCI)		+= intel_scu_pcidrv.o
150obj-$(CONFIG_INTEL_SCU_PLATFORM)	+= intel_scu_pltdrv.o
151obj-$(CONFIG_INTEL_SCU_IPC_UTIL)	+= intel_scu_ipcutil.o
152obj-$(CONFIG_INTEL_TELEMETRY)		+= intel_telemetry_core.o \
153					   intel_telemetry_pltdrv.o \
154					   intel_telemetry_debugfs.o
155obj-$(CONFIG_PMC_ATOM)			+= pmc_atom.o
156