1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for linux/drivers/platform/x86
4 # x86 Platform-Specific Drivers
7 # Windows Management Interface
8 obj-
$(CONFIG_ACPI_WMI
) += wmi.o
9 obj-
$(CONFIG_WMI_BMOF
) += wmi-bmof.o
12 obj-
$(CONFIG_ALIENWARE_WMI
) += alienware-wmi.o
13 obj-
$(CONFIG_HUAWEI_WMI
) += huawei-wmi.o
14 obj-
$(CONFIG_INTEL_WMI_SBL_FW_UPDATE
) += intel-wmi-sbl-fw-update.o
15 obj-
$(CONFIG_INTEL_WMI_THUNDERBOLT
) += intel-wmi-thunderbolt.o
16 obj-
$(CONFIG_MXM_WMI
) += mxm-wmi.o
17 obj-
$(CONFIG_PEAQ_WMI
) += peaq-wmi.o
18 obj-
$(CONFIG_XIAOMI_WMI
) += xiaomi-wmi.o
21 obj-
$(CONFIG_ACERHDF
) += acerhdf.o
22 obj-
$(CONFIG_ACER_WIRELESS
) += acer-wireless.o
23 obj-
$(CONFIG_ACER_WMI
) += acer-wmi.o
26 obj-
$(CONFIG_AMD_PMC
) += amd-pmc.o
29 obj-
$(CONFIG_APPLE_GMUX
) += apple-gmux.o
32 obj-
$(CONFIG_ASUS_LAPTOP
) += asus-laptop.o
33 obj-
$(CONFIG_ASUS_WIRELESS
) += asus-wireless.o
34 obj-
$(CONFIG_ASUS_WMI
) += asus-wmi.o
35 obj-
$(CONFIG_ASUS_NB_WMI
) += asus-nb-wmi.o
36 obj-
$(CONFIG_EEEPC_LAPTOP
) += eeepc-laptop.o
37 obj-
$(CONFIG_EEEPC_WMI
) += eeepc-wmi.o
40 obj-
$(CONFIG_DCDBAS
) += dcdbas.o
41 obj-
$(CONFIG_DELL_SMBIOS
) += dell-smbios.o
42 dell-smbios-objs
:= dell-smbios-base.o
43 dell-smbios-
$(CONFIG_DELL_SMBIOS_WMI
) += dell-smbios-wmi.o
44 dell-smbios-
$(CONFIG_DELL_SMBIOS_SMM
) += dell-smbios-smm.o
45 obj-
$(CONFIG_DELL_LAPTOP
) += dell-laptop.o
46 obj-
$(CONFIG_DELL_RBTN
) += dell-rbtn.o
47 obj-
$(CONFIG_DELL_RBU
) += dell_rbu.o
48 obj-
$(CONFIG_DELL_SMO8800
) += dell-smo8800.o
49 obj-
$(CONFIG_DELL_WMI
) += dell-wmi.o
50 obj-
$(CONFIG_DELL_WMI_DESCRIPTOR
) += dell-wmi-descriptor.o
51 obj-
$(CONFIG_DELL_WMI_AIO
) += dell-wmi-aio.o
52 obj-
$(CONFIG_DELL_WMI_LED
) += dell-wmi-led.o
53 obj-
$(CONFIG_DELL_WMI_SYSMAN
) += dell-wmi-sysman
/
56 obj-
$(CONFIG_AMILO_RFKILL
) += amilo-rfkill.o
57 obj-
$(CONFIG_FUJITSU_LAPTOP
) += fujitsu-laptop.o
58 obj-
$(CONFIG_FUJITSU_TABLET
) += fujitsu-tablet.o
61 obj-
$(CONFIG_GPD_POCKET_FAN
) += gpd-pocket-fan.o
64 obj-
$(CONFIG_HP_ACCEL
) += hp_accel.o
65 obj-
$(CONFIG_HP_WIRELESS
) += hp-wireless.o
66 obj-
$(CONFIG_HP_WMI
) += hp-wmi.o
67 obj-
$(CONFIG_TC1100_WMI
) += tc1100-wmi.o
69 # Hewlett Packard Enterprise
70 obj-
$(CONFIG_UV_SYSFS
) += uv_sysfs.o
72 # IBM Thinkpad and Lenovo
73 obj-
$(CONFIG_IBM_RTL
) += ibm_rtl.o
74 obj-
$(CONFIG_IDEAPAD_LAPTOP
) += ideapad-laptop.o
75 obj-
$(CONFIG_SENSORS_HDAPS
) += hdaps.o
76 obj-
$(CONFIG_THINKPAD_ACPI
) += thinkpad_acpi.o
79 obj-
$(CONFIG_INTEL_ATOMISP2_LED
) += intel_atomisp2_led.o
80 obj-
$(CONFIG_INTEL_ATOMISP2_PM
) += intel_atomisp2_pm.o
81 obj-
$(CONFIG_INTEL_CHT_INT33FE
) += intel_cht_int33fe.o
82 intel_cht_int33fe-objs
:= intel_cht_int33fe_common.o \
83 intel_cht_int33fe_typec.o \
84 intel_cht_int33fe_microb.o
85 obj-
$(CONFIG_INTEL_HID_EVENT
) += intel-hid.o
86 obj-
$(CONFIG_INTEL_INT0002_VGPIO
) += intel_int0002_vgpio.o
87 obj-
$(CONFIG_INTEL_MENLOW
) += intel_menlow.o
88 obj-
$(CONFIG_INTEL_OAKTRAIL
) += intel_oaktrail.o
89 obj-
$(CONFIG_INTEL_VBTN
) += intel-vbtn.o
92 obj-
$(CONFIG_MSI_LAPTOP
) += msi-laptop.o
93 obj-
$(CONFIG_MSI_WMI
) += msi-wmi.o
96 obj-
$(CONFIG_XO15_EBOOK
) += xo15-ebook.o
97 obj-
$(CONFIG_XO1_RFKILL
) += xo1-rfkill.o
100 obj-
$(CONFIG_PCENGINES_APU2
) += pcengines-apuv2.o
103 obj-
$(CONFIG_SAMSUNG_LAPTOP
) += samsung-laptop.o
104 obj-
$(CONFIG_SAMSUNG_Q10
) += samsung-q10.o
107 obj-
$(CONFIG_TOSHIBA_BT_RFKILL
) += toshiba_bluetooth.o
108 obj-
$(CONFIG_TOSHIBA_HAPS
) += toshiba_haps.o
109 obj-
$(CONFIG_TOSHIBA_WMI
) += toshiba-wmi.o
111 # toshiba_acpi must link after wmi to ensure that wmi devices are found
112 # before toshiba_acpi initializes
113 obj-
$(CONFIG_ACPI_TOSHIBA
) += toshiba_acpi.o
116 obj-
$(CONFIG_ACPI_CMPC
) += classmate-laptop.o
117 obj-
$(CONFIG_COMPAL_LAPTOP
) += compal-laptop.o
118 obj-
$(CONFIG_LG_LAPTOP
) += lg-laptop.o
119 obj-
$(CONFIG_PANASONIC_LAPTOP
) += panasonic-laptop.o
120 obj-
$(CONFIG_SONY_LAPTOP
) += sony-laptop.o
121 obj-
$(CONFIG_SYSTEM76_ACPI
) += system76_acpi.o
122 obj-
$(CONFIG_TOPSTAR_LAPTOP
) += topstar-laptop.o
125 obj-
$(CONFIG_I2C_MULTI_INSTANTIATE
) += i2c-multi-instantiate.o
126 obj-
$(CONFIG_MLX_PLATFORM
) += mlx-platform.o
127 obj-
$(CONFIG_TOUCHSCREEN_DMI
) += touchscreen_dmi.o
129 # Intel uncore drivers
130 obj-
$(CONFIG_INTEL_IPS
) += intel_ips.o
131 obj-
$(CONFIG_INTEL_RST
) += intel-rst.o
132 obj-
$(CONFIG_INTEL_SMARTCONNECT
) += intel-smartconnect.o
133 obj-
$(CONFIG_INTEL_SPEED_SELECT_INTERFACE
) += intel_speed_select_if
/
134 obj-
$(CONFIG_INTEL_TURBO_MAX_3
) += intel_turbo_max_3.o
135 obj-
$(CONFIG_INTEL_UNCORE_FREQ_CONTROL
) += intel-uncore-frequency.o
137 # Intel PMIC / PMC / P-Unit devices
138 obj-
$(CONFIG_INTEL_BXTWC_PMIC_TMU
) += intel_bxtwc_tmu.o
139 obj-
$(CONFIG_INTEL_CHTDC_TI_PWRBTN
) += intel_chtdc_ti_pwrbtn.o
140 obj-
$(CONFIG_INTEL_MFLD_THERMAL
) += intel_mid_thermal.o
141 obj-
$(CONFIG_INTEL_MID_POWER_BUTTON
) += intel_mid_powerbtn.o
142 obj-
$(CONFIG_INTEL_MRFLD_PWRBTN
) += intel_mrfld_pwrbtn.o
143 obj-
$(CONFIG_INTEL_PMC_CORE
) += intel_pmc_core.o intel_pmc_core_pltdrv.o
144 obj-
$(CONFIG_INTEL_PMT_CLASS
) += intel_pmt_class.o
145 obj-
$(CONFIG_INTEL_PMT_TELEMETRY
) += intel_pmt_telemetry.o
146 obj-
$(CONFIG_INTEL_PMT_CRASHLOG
) += intel_pmt_crashlog.o
147 obj-
$(CONFIG_INTEL_PUNIT_IPC
) += intel_punit_ipc.o
148 obj-
$(CONFIG_INTEL_SCU_IPC
) += intel_scu_ipc.o
149 obj-
$(CONFIG_INTEL_SCU_PCI
) += intel_scu_pcidrv.o
150 obj-
$(CONFIG_INTEL_SCU_PLATFORM
) += intel_scu_pltdrv.o
151 obj-
$(CONFIG_INTEL_SCU_IPC_UTIL
) += intel_scu_ipcutil.o
152 obj-
$(CONFIG_INTEL_TELEMETRY
) += intel_telemetry_core.o \
153 intel_telemetry_pltdrv.o \
154 intel_telemetry_debugfs.o
155 obj-
$(CONFIG_PMC_ATOM
) += pmc_atom.o