xref: /OK3568_Linux_fs/kernel/drivers/hwmon/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Makefile for sensor chip drivers.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunobj-$(CONFIG_HWMON)		+= hwmon.o
7*4882a593Smuzhiyunobj-$(CONFIG_HWMON_VID)		+= hwmon-vid.o
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun# APCI drivers
10*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ACPI_POWER) += acpi_power_meter.o
11*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ATK0110)	+= asus_atk0110.o
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun# Native drivers
14*4882a593Smuzhiyun# asb100, then w83781d go first, as they can override other drivers' addresses.
15*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ASB100)	+= asb100.o
16*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_W83627HF)	+= w83627hf.o
17*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_W83773G)	+= w83773g.o
18*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_W83792D)	+= w83792d.o
19*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_W83793)	+= w83793.o
20*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_W83795)	+= w83795.o
21*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_W83781D)	+= w83781d.o
22*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_W83791D)	+= w83791d.o
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_AB8500)	+= abx500.o ab8500.o
25*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ABITUGURU)	+= abituguru.o
26*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ABITUGURU3)+= abituguru3.o
27*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_AD7314)	+= ad7314.o
28*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_AD7414)	+= ad7414.o
29*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_AD7418)	+= ad7418.o
30*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADC128D818) += adc128d818.o
31*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADCXX)	+= adcxx.o
32*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADM1021)	+= adm1021.o
33*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADM1025)	+= adm1025.o
34*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADM1026)	+= adm1026.o
35*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADM1029)	+= adm1029.o
36*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADM1031)	+= adm1031.o
37*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADM1177)	+= adm1177.o
38*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADM9240)	+= adm9240.o
39*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADS7828)	+= ads7828.o
40*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADS7871)	+= ads7871.o
41*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADT7X10)	+= adt7x10.o
42*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADT7310)	+= adt7310.o
43*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADT7410)	+= adt7410.o
44*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADT7411)	+= adt7411.o
45*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADT7462)	+= adt7462.o
46*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADT7470)	+= adt7470.o
47*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ADT7475)	+= adt7475.o
48*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_AMD_ENERGY) += amd_energy.o
49*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_APPLESMC)	+= applesmc.o
50*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ARM_SCMI)	+= scmi-hwmon.o
51*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ARM_SCPI)	+= scpi-hwmon.o
52*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_AS370)	+= as370-hwmon.o
53*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ASC7621)	+= asc7621.o
54*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ASPEED)	+= aspeed-pwm-tacho.o
55*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ATXP1)	+= atxp1.o
56*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_AXI_FAN_CONTROL) += axi-fan-control.o
57*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_BT1_PVT)	+= bt1-pvt.o
58*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_CORETEMP)	+= coretemp.o
59*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_CORSAIR_CPRO) += corsair-cpro.o
60*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_DA9052_ADC)+= da9052-hwmon.o
61*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_DA9055)+= da9055-hwmon.o
62*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_DELL_SMM)	+= dell-smm-hwmon.o
63*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_DME1737)	+= dme1737.o
64*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_DRIVETEMP)	+= drivetemp.o
65*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_DS620)	+= ds620.o
66*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_DS1621)	+= ds1621.o
67*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_EMC1403)	+= emc1403.o
68*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_EMC2103)	+= emc2103.o
69*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_EMC6W201)	+= emc6w201.o
70*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_F71805F)	+= f71805f.o
71*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_F71882FG)	+= f71882fg.o
72*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_F75375S)	+= f75375s.o
73*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_FAM15H_POWER) += fam15h_power.o
74*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_FSCHMD)	+= fschmd.o
75*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_FTSTEUTATES) += ftsteutates.o
76*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_G760A)	+= g760a.o
77*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_G762)	+= g762.o
78*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_GL518SM)	+= gl518sm.o
79*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_GL520SM)	+= gl520sm.o
80*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_GSC)	+= gsc-hwmon.o
81*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_GPIO_FAN)	+= gpio-fan.o
82*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_HIH6130)	+= hih6130.o
83*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_ULTRA45)	+= ultra45_env.o
84*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_I5500)	+= i5500_temp.o
85*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_I5K_AMB)	+= i5k_amb.o
86*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_IBMAEM)	+= ibmaem.o
87*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_IBMPEX)	+= ibmpex.o
88*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_IBMPOWERNV)+= ibmpowernv.o
89*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_IIO_HWMON) += iio_hwmon.o
90*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_INA209)	+= ina209.o
91*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_INA2XX)	+= ina2xx.o
92*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_INA3221)	+= ina3221.o
93*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_INTEL_M10_BMC_HWMON) += intel-m10-bmc-hwmon.o
94*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_IT87)	+= it87.o
95*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_JC42)	+= jc42.o
96*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_K8TEMP)	+= k8temp.o
97*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_K10TEMP)	+= k10temp.o
98*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LINEAGE)	+= lineage-pem.o
99*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LOCHNAGAR)	+= lochnagar-hwmon.o
100*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM63)	+= lm63.o
101*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM70)	+= lm70.o
102*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM73)	+= lm73.o
103*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM75)	+= lm75.o
104*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM77)	+= lm77.o
105*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM78)	+= lm78.o
106*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM80)	+= lm80.o
107*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM83)	+= lm83.o
108*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM85)	+= lm85.o
109*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM87)	+= lm87.o
110*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM90)	+= lm90.o
111*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM92)	+= lm92.o
112*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM93)	+= lm93.o
113*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM95234)	+= lm95234.o
114*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM95241)	+= lm95241.o
115*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LM95245)	+= lm95245.o
116*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC2945)	+= ltc2945.o
117*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC2947)	+= ltc2947-core.o
118*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC2947_I2C) += ltc2947-i2c.o
119*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC2947_SPI) += ltc2947-spi.o
120*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC2990)	+= ltc2990.o
121*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC4151)	+= ltc4151.o
122*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC4215)	+= ltc4215.o
123*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC4222)	+= ltc4222.o
124*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC4245)	+= ltc4245.o
125*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC4260)	+= ltc4260.o
126*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTC4261)	+= ltc4261.o
127*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_LTQ_CPUTEMP) += ltq-cputemp.o
128*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX1111)	+= max1111.o
129*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX16065)	+= max16065.o
130*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX1619)	+= max1619.o
131*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX1668)	+= max1668.o
132*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX197)	+= max197.o
133*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX31722)	+= max31722.o
134*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX31730)	+= max31730.o
135*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX6621)	+= max6621.o
136*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX6639)	+= max6639.o
137*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX6642)	+= max6642.o
138*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX6650)	+= max6650.o
139*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX6697)	+= max6697.o
140*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MAX31790)	+= max31790.o
141*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MC13783_ADC)+= mc13783-adc.o
142*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MCP3021)	+= mcp3021.o
143*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_TC654)	+= tc654.o
144*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MLXREG_FAN) += mlxreg-fan.o
145*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MENF21BMC_HWMON) += menf21bmc_hwmon.o
146*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_MR75203)	+= mr75203.o
147*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_NCT6683)	+= nct6683.o
148*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_NCT6775)	+= nct6775.o
149*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_NCT7802)	+= nct7802.o
150*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_NCT7904)	+= nct7904.o
151*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_NPCM7XX)	+= npcm750-pwm-fan.o
152*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_NSA320)	+= nsa320-hwmon.o
153*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_NTC_THERMISTOR)	+= ntc_thermistor.o
154*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_PC87360)	+= pc87360.o
155*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_PC87427)	+= pc87427.o
156*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
157*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_POWR1220)  += powr1220.o
158*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_PWM_FAN)	+= pwm-fan.o
159*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON)	+= raspberrypi-hwmon.o
160*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_S3C)	+= s3c-hwmon.o
161*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SCH56XX_COMMON)+= sch56xx-common.o
162*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SCH5627)	+= sch5627.o
163*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SCH5636)	+= sch5636.o
164*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SL28CPLD)	+= sl28cpld-hwmon.o
165*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SHT15)	+= sht15.o
166*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SHT21)	+= sht21.o
167*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SHT3x)	+= sht3x.o
168*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SHTC1)	+= shtc1.o
169*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SIS5595)	+= sis5595.o
170*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SMM665)	+= smm665.o
171*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o
172*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SMSC47M1)	+= smsc47m1.o
173*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SMSC47M192)+= smsc47m192.o
174*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_SPARX5)	+= sparx5-temp.o
175*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_STTS751)	+= stts751.o
176*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_AMC6821)	+= amc6821.o
177*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_TC74)	+= tc74.o
178*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_THMC50)	+= thmc50.o
179*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_TMP102)	+= tmp102.o
180*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_TMP103)	+= tmp103.o
181*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_TMP108)	+= tmp108.o
182*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_TMP401)	+= tmp401.o
183*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_TMP421)	+= tmp421.o
184*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_TMP513)	+= tmp513.o
185*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_VEXPRESS)	+= vexpress-hwmon.o
186*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_VIA_CPUTEMP)+= via-cputemp.o
187*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_VIA686A)	+= via686a.o
188*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_VT1211)	+= vt1211.o
189*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_VT8231)	+= vt8231.o
190*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_W83627EHF)	+= w83627ehf.o
191*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_W83L785TS)	+= w83l785ts.o
192*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_W83L786NG)	+= w83l786ng.o
193*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_WM831X)	+= wm831x-hwmon.o
194*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_WM8350)	+= wm8350-hwmon.o
195*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_XGENE)	+= xgene-hwmon.o
196*4882a593Smuzhiyun
197*4882a593Smuzhiyunobj-$(CONFIG_SENSORS_OCC)	+= occ/
198*4882a593Smuzhiyunobj-$(CONFIG_PMBUS)		+= pmbus/
199*4882a593Smuzhiyun
200*4882a593Smuzhiyunccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
201*4882a593Smuzhiyun
202