xref: /openbmc/linux/drivers/macintosh/Makefile (revision 5d331b7f)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the Macintosh-specific device drivers.
4#
5
6# Each configuration option enables a list of files.
7
8obj-$(CONFIG_PPC_PMAC)		+= macio_asic.o macio_sysfs.o
9
10obj-$(CONFIG_PMAC_MEDIABAY)	+= mediabay.o
11obj-$(CONFIG_MAC_EMUMOUSEBTN)	+= mac_hid.o
12obj-$(CONFIG_INPUT_ADBHID)	+= adbhid.o
13obj-$(CONFIG_ANSLCD)		+= ans-lcd.o
14
15obj-$(CONFIG_ADB_PMU)		+= via-pmu.o via-pmu-event.o
16obj-$(CONFIG_ADB_PMU_LED)	+= via-pmu-led.o
17obj-$(CONFIG_PMAC_BACKLIGHT)	+= via-pmu-backlight.o
18obj-$(CONFIG_ADB_CUDA)		+= via-cuda.o
19obj-$(CONFIG_PMAC_APM_EMU)	+= apm_emu.o
20obj-$(CONFIG_PMAC_SMU)		+= smu.o
21
22obj-$(CONFIG_ADB)		+= adb.o
23obj-$(CONFIG_ADB_MACII)		+= via-macii.o
24obj-$(CONFIG_ADB_IOP)		+= adb-iop.o
25obj-$(CONFIG_ADB_MACIO)		+= macio-adb.o
26
27obj-$(CONFIG_THERM_WINDTUNNEL)	+= therm_windtunnel.o
28obj-$(CONFIG_THERM_ADT746X)	+= therm_adt746x.o
29obj-$(CONFIG_WINDFARM)	        += windfarm_core.o
30obj-$(CONFIG_WINDFARM_PM72)     += windfarm_fcu_controls.o \
31				   windfarm_ad7417_sensor.o \
32				   windfarm_lm75_sensor.o \
33				   windfarm_max6690_sensor.o \
34				   windfarm_pid.o \
35				   windfarm_cpufreq_clamp.o \
36				   windfarm_pm72.o
37obj-$(CONFIG_WINDFARM_RM31)     += windfarm_fcu_controls.o \
38				   windfarm_ad7417_sensor.o \
39				   windfarm_lm75_sensor.o \
40				   windfarm_lm87_sensor.o \
41				   windfarm_max6690_sensor.o \
42				   windfarm_pid.o \
43				   windfarm_cpufreq_clamp.o \
44				   windfarm_rm31.o
45obj-$(CONFIG_WINDFARM_PM81)     += windfarm_smu_controls.o \
46				   windfarm_smu_sensors.o \
47				   windfarm_lm75_sensor.o windfarm_pid.o \
48				   windfarm_cpufreq_clamp.o windfarm_pm81.o
49obj-$(CONFIG_WINDFARM_PM91)     += windfarm_smu_controls.o \
50				   windfarm_smu_sensors.o \
51				   windfarm_lm75_sensor.o windfarm_pid.o \
52				   windfarm_cpufreq_clamp.o windfarm_pm91.o
53obj-$(CONFIG_WINDFARM_PM112)	+= windfarm_pm112.o windfarm_smu_sat.o \
54				   windfarm_smu_controls.o \
55				   windfarm_smu_sensors.o \
56				   windfarm_max6690_sensor.o \
57				   windfarm_lm75_sensor.o windfarm_pid.o
58obj-$(CONFIG_WINDFARM_PM121)	+= windfarm_pm121.o windfarm_smu_sat.o \
59				   windfarm_smu_controls.o \
60				   windfarm_smu_sensors.o \
61				   windfarm_max6690_sensor.o \
62				   windfarm_lm75_sensor.o windfarm_pid.o
63obj-$(CONFIG_PMAC_RACKMETER)	+= rack-meter.o
64
65obj-$(CONFIG_SENSORS_AMS)	+= ams/
66