xref: /openbmc/linux/drivers/platform/x86/Makefile (revision 9bc289b8)
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
13d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MXM_WMI)			+= mxm-wmi.o
14ca16d33bSDaniel Dadapobj-$(CONFIG_NVIDIA_WMI_EC_BACKLIGHT)	+= nvidia-wmi-ec-backlight.o
15d82d3ef6SAndy Shevchenkoobj-$(CONFIG_XIAOMI_WMI)		+= xiaomi-wmi.o
1657293197SThomas Weißschuhobj-$(CONFIG_GIGABYTE_WMI)		+= gigabyte-wmi.o
17d82d3ef6SAndy Shevchenko
18d82d3ef6SAndy Shevchenko# Acer
19d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ACERHDF)		+= acerhdf.o
20d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ACER_WIRELESS)	+= acer-wireless.o
21d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ACER_WMI)		+= acer-wmi.o
22d82d3ef6SAndy Shevchenko
23156ec473SShyam Sundar S K# AMD
24ef233eafSShyam Sundar S Kobj-y				+= amd/
25156ec473SShyam Sundar S K
263d904005SAndrea.Ho# Advantech
273d904005SAndrea.Hoobj-$(CONFIG_ADV_SWBUTTON)	+= adv_swbutton.o
283d904005SAndrea.Ho
29d82d3ef6SAndy Shevchenko# Apple
30d82d3ef6SAndy Shevchenkoobj-$(CONFIG_APPLE_GMUX)	+= apple-gmux.o
31d82d3ef6SAndy Shevchenko
32d82d3ef6SAndy Shevchenko# ASUS
3341b16dceSLen Brownobj-$(CONFIG_ASUS_LAPTOP)	+= asus-laptop.o
34d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ASUS_WIRELESS)	+= asus-wireless.o
35e12e6d94SCorentin Charyobj-$(CONFIG_ASUS_WMI)		+= asus-wmi.o
36b229ece9SCorentin Charyobj-$(CONFIG_ASUS_NB_WMI)	+= asus-nb-wmi.o
370a6509b0SHans de Goedeobj-$(CONFIG_ASUS_TF103C_DOCK)	+= asus-tf103c-dock.o
3841b16dceSLen Brownobj-$(CONFIG_EEEPC_LAPTOP)	+= eeepc-laptop.o
39e12e6d94SCorentin Charyobj-$(CONFIG_EEEPC_WMI)		+= eeepc-wmi.o
40d82d3ef6SAndy Shevchenko
41636a1e69SChris Blake# Cisco/Meraki
42636a1e69SChris Blakeobj-$(CONFIG_MERAKI_MX100)	+= meraki-mx100.o
43636a1e69SChris Blake
44d82d3ef6SAndy Shevchenko# Dell
45f1e1ea51SMario Limoncielloobj-$(CONFIG_X86_PLATFORM_DRIVERS_DELL)		+= dell/
46d82d3ef6SAndy Shevchenko
47d82d3ef6SAndy Shevchenko# Fujitsu
48d82d3ef6SAndy Shevchenkoobj-$(CONFIG_AMILO_RFKILL)	+= amilo-rfkill.o
49d82d3ef6SAndy Shevchenkoobj-$(CONFIG_FUJITSU_LAPTOP)	+= fujitsu-laptop.o
50d82d3ef6SAndy Shevchenkoobj-$(CONFIG_FUJITSU_TABLET)	+= fujitsu-tablet.o
51d82d3ef6SAndy Shevchenko
52d82d3ef6SAndy Shevchenko# GPD
53d82d3ef6SAndy Shevchenkoobj-$(CONFIG_GPD_POCKET_FAN)	+= gpd-pocket-fan.o
54d82d3ef6SAndy Shevchenko
55d82d3ef6SAndy Shevchenko# Hewlett Packard
566e9b8992SJorge Lopezobj-$(CONFIG_X86_PLATFORM_DRIVERS_HP)	+= hp/
57d82d3ef6SAndy Shevchenko
584fc2cf1fSJustin Ernst# Hewlett Packard Enterprise
594fc2cf1fSJustin Ernstobj-$(CONFIG_UV_SYSFS)       += uv_sysfs.o
604fc2cf1fSJustin Ernst
61d82d3ef6SAndy Shevchenko# IBM Thinkpad and Lenovo
62d82d3ef6SAndy Shevchenkoobj-$(CONFIG_IBM_RTL)		+= ibm_rtl.o
6375b2d09aSMatthew Garrettobj-$(CONFIG_IDEAPAD_LAPTOP)	+= ideapad-laptop.o
64e82882cdSGergo Kotelesobj-$(CONFIG_LENOVO_YMC)	+= lenovo-ymc.o
65bd9fc3a7SJean Delvareobj-$(CONFIG_SENSORS_HDAPS)	+= hdaps.o
66d82d3ef6SAndy Shevchenkoobj-$(CONFIG_THINKPAD_ACPI)	+= thinkpad_acpi.o
67a40cd7efSMark Pearsonobj-$(CONFIG_THINKPAD_LMI)	+= think-lmi.o
6806ffe5b2SHans de Goedeobj-$(CONFIG_YOGABOOK)		+= lenovo-yogabook.o
69d82d3ef6SAndy Shevchenko
70d82d3ef6SAndy Shevchenko# Intel
71c0518b21SAndy Shevchenkoobj-y				+= intel/
728bd836feSAndy Shevchenko
73d82d3ef6SAndy Shevchenko# MSI
74392cacf2SNikita Kravetsobj-$(CONFIG_MSI_EC)		+= msi-ec.o
75d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
76d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MSI_WMI)		+= msi-wmi.o
77d82d3ef6SAndy Shevchenko
78d82d3ef6SAndy Shevchenko# OLPC
79d82d3ef6SAndy Shevchenkoobj-$(CONFIG_XO15_EBOOK)	+= xo15-ebook.o
80d82d3ef6SAndy Shevchenkoobj-$(CONFIG_XO1_RFKILL)	+= xo1-rfkill.o
81d82d3ef6SAndy Shevchenko
82d82d3ef6SAndy Shevchenko# PC Engines
83d82d3ef6SAndy Shevchenkoobj-$(CONFIG_PCENGINES_APU2)	+= pcengines-apuv2.o
84d82d3ef6SAndy Shevchenko
8586af1d02SSantosh Kumar Yadav# Barco
8686af1d02SSantosh Kumar Yadavobj-$(CONFIG_BARCO_P50_GPIO)	+= barco-p50-gpio.o
8786af1d02SSantosh Kumar Yadav
88d82d3ef6SAndy Shevchenko# Samsung
89d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SAMSUNG_LAPTOP)	+= samsung-laptop.o
90d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SAMSUNG_Q10)	+= samsung-q10.o
91d82d3ef6SAndy Shevchenko
92d82d3ef6SAndy Shevchenko# Toshiba
93d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOSHIBA_BT_RFKILL)	+= toshiba_bluetooth.o
94d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOSHIBA_HAPS)	+= toshiba_haps.o
95d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOSHIBA_WMI)	+= toshiba-wmi.o
96f11f999eSSeth Forshee
97f11f999eSSeth Forshee# toshiba_acpi must link after wmi to ensure that wmi devices are found
98f11f999eSSeth Forshee# before toshiba_acpi initializes
99b4f9fe12SLen Brownobj-$(CONFIG_ACPI_TOSHIBA)	+= toshiba_acpi.o
100f11f999eSSeth Forshee
101d82d3ef6SAndy Shevchenko# Laptop drivers
102d82d3ef6SAndy Shevchenkoobj-$(CONFIG_ACPI_CMPC)		+= classmate-laptop.o
103d82d3ef6SAndy Shevchenkoobj-$(CONFIG_COMPAL_LAPTOP)	+= compal-laptop.o
104d82d3ef6SAndy Shevchenkoobj-$(CONFIG_LG_LAPTOP)		+= lg-laptop.o
105d82d3ef6SAndy Shevchenkoobj-$(CONFIG_PANASONIC_LAPTOP)	+= panasonic-laptop.o
106d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SONY_LAPTOP)	+= sony-laptop.o
107d82d3ef6SAndy Shevchenkoobj-$(CONFIG_SYSTEM76_ACPI)	+= system76_acpi.o
108d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOPSTAR_LAPTOP)	+= topstar-laptop.o
109d740795dSYauhen Kharuzhy
110d82d3ef6SAndy Shevchenko# Platform drivers
11117b707feSMark Pearsonobj-$(CONFIG_FW_ATTR_CLASS)		+= firmware_attributes_class.o
1125e63b2eaSLucas Tanureobj-$(CONFIG_SERIAL_MULTI_INSTANTIATE)	+= serial-multi-instantiate.o
113d82d3ef6SAndy Shevchenkoobj-$(CONFIG_MLX_PLATFORM)		+= mlx-platform.o
114d82d3ef6SAndy Shevchenkoobj-$(CONFIG_TOUCHSCREEN_DMI)		+= touchscreen_dmi.o
115a558ea42SMario Limoncielloobj-$(CONFIG_WIRELESS_HOTKEY)		+= wireless-hotkey.o
116afdcb535SHans de Goedeobj-$(CONFIG_X86_ANDROID_TABLETS)	+= x86-android-tablets/
117d82d3ef6SAndy Shevchenko
118d82d3ef6SAndy Shevchenko# Intel uncore drivers
119aa7ffc01SJesse Barnesobj-$(CONFIG_INTEL_IPS)				+= intel_ips.o
1208b10acd7SHu Tao
12142d0d423SAndy Shevchenko# Intel miscellaneous drivers
12242d0d423SAndy Shevchenkointel_p2sb-y				:= p2sb.o
12342d0d423SAndy Shevchenkoobj-$(CONFIG_P2SB)			+= intel_p2sb.o
12442d0d423SAndy Shevchenko
125d82d3ef6SAndy Shevchenko# Intel PMIC / PMC / P-Unit devices
126d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_SCU_IPC)		+= intel_scu_ipc.o
12754b34aa0SMika Westerbergobj-$(CONFIG_INTEL_SCU_PCI)		+= intel_scu_pcidrv.o
1287a61f05eSMika Westerbergobj-$(CONFIG_INTEL_SCU_PLATFORM)	+= intel_scu_pltdrv.o
12918365d68SAndy Shevchenkoobj-$(CONFIG_INTEL_SCU_WDT)		+= intel_scu_wdt.o
130d82d3ef6SAndy Shevchenkoobj-$(CONFIG_INTEL_SCU_IPC_UTIL)	+= intel_scu_ipcutil.o
1313cd8cc98SHans de Goedeobj-$(CONFIG_X86_INTEL_LPSS)		+= pmc_atom.o
132dd123e62SHenning Schild
133dd123e62SHenning Schild# Siemens Simatic Industrial PCs
134*9bc289b8SHenning Schildobj-$(CONFIG_SIEMENS_SIMATIC_IPC)	+= siemens/
13534354476SDaniel Beer
13634354476SDaniel Beer# Winmate
13734354476SDaniel Beerobj-$(CONFIG_WINMATE_FM07_KEYS)		+= winmate-fm07-keys.o
138
139# SEL
140obj-$(CONFIG_SEL3350_PLATFORM)		+= sel3350-platform.o
141