xref: /openbmc/linux/drivers/hwmon/Makefile (revision 5b5513b8800291226a8fa63fd22a14cc235b313e)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2ad2f931dSJean Delvare#
3ad2f931dSJean Delvare# Makefile for sensor chip drivers.
4ad2f931dSJean Delvare#
5ad2f931dSJean Delvare
61236441fSMark M. Hoffmanobj-$(CONFIG_HWMON)		+= hwmon.o
7303760b4SJean Delvareobj-$(CONFIG_HWMON_VID)		+= hwmon-vid.o
81236441fSMark M. Hoffman
961cba5c2SJean Delvare# APCI drivers
107d033365SJean Delvareobj-$(CONFIG_SENSORS_ACPI_POWER) += acpi_power_meter.o
1161cba5c2SJean Delvareobj-$(CONFIG_SENSORS_ATK0110)	+= asus_atk0110.o
1261cba5c2SJean Delvare
1361cba5c2SJean Delvare# Native drivers
14ad2f931dSJean Delvare# asb100, then w83781d go first, as they can override other drivers' addresses.
15ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ASB100)	+= asb100.o
16ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_W83627HF)	+= w83627hf.o
17ee249f27SLei YUobj-$(CONFIG_SENSORS_W83773G)	+= w83773g.o
185563e27dSR.Marek@sh.cvut.czobj-$(CONFIG_SENSORS_W83792D)	+= w83792d.o
196800c3d0SRudolf Marekobj-$(CONFIG_SENSORS_W83793)	+= w83793.o
20792d376bSWei Songobj-$(CONFIG_SENSORS_W83795)	+= w83795.o
21ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_W83781D)	+= w83781d.o
229873964dSCharles Spirakisobj-$(CONFIG_SENSORS_W83791D)	+= w83791d.o
23ad2f931dSJean Delvare
240bbb06edSHongbo Zhangobj-$(CONFIG_SENSORS_AB8500)	+= abx500.o ab8500.o
25f2b84bbcSHans de Goedeobj-$(CONFIG_SENSORS_ABITUGURU)	+= abituguru.o
263faa1ffbSHans de Goedeobj-$(CONFIG_SENSORS_ABITUGURU3)+= abituguru3.o
274f3a6595SJonathan Cameronobj-$(CONFIG_SENSORS_AD7314)	+= ad7314.o
286c633c30SSean MacLennanobj-$(CONFIG_SENSORS_AD7414)	+= ad7414.o
292d8dd65fSAlessandro Zummoobj-$(CONFIG_SENSORS_AD7418)	+= ad7418.o
30b4c9c1a7SGuenter Roeckobj-$(CONFIG_SENSORS_ADC128D818) += adc128d818.o
31d42139a3SMarc Pignatobj-$(CONFIG_SENSORS_ADCXX)	+= adcxx.o
32ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM1021)	+= adm1021.o
33ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM1025)	+= adm1025.o
34ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM1026)	+= adm1026.o
35cae2caaeSCorentin Labbeobj-$(CONFIG_SENSORS_ADM1029)	+= adm1029.o
36ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM1031)	+= adm1031.o
37ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM9240)	+= adm9240.o
388c22a8f5SDirk Eibachobj-$(CONFIG_SENSORS_ADS1015)	+= ads1015.o
395812f928SSteve Hardyobj-$(CONFIG_SENSORS_ADS7828)	+= ads7828.o
40e0c70b80SPaul Thomasobj-$(CONFIG_SENSORS_ADS7871)	+= ads7871.o
4151c2a487SLars-Peter Clausenobj-$(CONFIG_SENSORS_ADT7X10)	+= adt7x10.o
4251c2a487SLars-Peter Clausenobj-$(CONFIG_SENSORS_ADT7310)	+= adt7310.o
43983b97beSHartmut Knaackobj-$(CONFIG_SENSORS_ADT7410)	+= adt7410.o
44d84ca5b3SWolfram Sangobj-$(CONFIG_SENSORS_ADT7411)	+= adt7411.o
45c0b4e3abSDarrick J. Wongobj-$(CONFIG_SENSORS_ADT7462)	+= adt7462.o
466f9703d0SDarrick J. Wongobj-$(CONFIG_SENSORS_ADT7470)	+= adt7470.o
471c301fc5SJordan Crouseobj-$(CONFIG_SENSORS_ADT7475)	+= adt7475.o
486f2fad74SNicolas Boichatobj-$(CONFIG_SENSORS_APPLESMC)	+= applesmc.o
49b23688aeSSudeep Hollaobj-$(CONFIG_SENSORS_ARM_SCMI)	+= scmi-hwmon.o
50ea98b29aSPunit Agrawalobj-$(CONFIG_SENSORS_ARM_SCPI)	+= scpi-hwmon.o
51d58de038SGeorge Josephobj-$(CONFIG_SENSORS_ASC7621)	+= asc7621.o
522d7a548aSJaghathiswari Rankappagounder Natarajanobj-$(CONFIG_SENSORS_ASPEED)	+= aspeed-pwm-tacho.o
53ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ATXP1)	+= atxp1.o
54bebe4678SRudolf Marekobj-$(CONFIG_SENSORS_CORETEMP)	+= coretemp.o
55e41f6432SAshish Jangamobj-$(CONFIG_SENSORS_DA9052_ADC)+= da9052-hwmon.o
56e5970223SAshish Jangamobj-$(CONFIG_SENSORS_DA9055)+= da9055-hwmon.o
57039ae585SPali Rohárobj-$(CONFIG_SENSORS_DELL_SMM)	+= dell-smm-hwmon.o
589431996fSJuerg Haefligerobj-$(CONFIG_SENSORS_DME1737)	+= dme1737.o
5960994698SRoland Stiggeobj-$(CONFIG_SENSORS_DS620)	+= ds620.o
60ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_DS1621)	+= ds1621.o
61dac6831eSKalhan Trisalobj-$(CONFIG_SENSORS_EMC1403)	+= emc1403.o
629df7305bSSteve Glendinningobj-$(CONFIG_SENSORS_EMC2103)	+= emc2103.o
63b0b349a8SJean Delvareobj-$(CONFIG_SENSORS_EMC6W201)	+= emc6w201.o
64e53004e2SJean Delvareobj-$(CONFIG_SENSORS_F71805F)	+= f71805f.o
6545fb3669SHans de Goedeobj-$(CONFIG_SENSORS_F71882FG)	+= f71882fg.o
6684f1e442SRiku Voipioobj-$(CONFIG_SENSORS_F75375S)	+= f75375s.o
67512d1027SAndreas Herrmannobj-$(CONFIG_SENSORS_FAM15H_POWER) += fam15h_power.o
68569ff102SHans de Goedeobj-$(CONFIG_SENSORS_FSCHMD)	+= fschmd.o
6908426edaSThilo Cestonaroobj-$(CONFIG_SENSORS_FTSTEUTATES) += ftsteutates.o
703bcfa9e4SHerbert Valerio Riedelobj-$(CONFIG_SENSORS_G760A)	+= g760a.o
71594fbe71SArnaud Ebalardobj-$(CONFIG_SENSORS_G762)	+= g762.o
72ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_GL518SM)	+= gl518sm.o
73ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_GL520SM)	+= gl520sm.o
74d6fe1360SSimon Guinotobj-$(CONFIG_SENSORS_GPIO_FAN)	+= gpio-fan.o
7527f8b135SIain Patonobj-$(CONFIG_SENSORS_HIH6130)	+= hih6130.o
76e0418088SDavid S. Millerobj-$(CONFIG_SENSORS_ULTRA45)	+= ultra45_env.o
77ada07281SJean Delvareobj-$(CONFIG_SENSORS_I5500)	+= i5500_temp.o
78298c7524SDarrick J. Wongobj-$(CONFIG_SENSORS_I5K_AMB)	+= i5k_amb.o
798808a793SDarrick J. Wongobj-$(CONFIG_SENSORS_IBMAEM)	+= ibmaem.o
8057c7c3a0SDarrick J. Wongobj-$(CONFIG_SENSORS_IBMPEX)	+= ibmpex.o
8124c1aa85SNeelesh Guptaobj-$(CONFIG_SENSORS_IBMPOWERNV)+= ibmpowernv.o
8251b53dc9SJonathan Cameronobj-$(CONFIG_SENSORS_IIO_HWMON) += iio_hwmon.o
83ceeadc5cSGuenter Roeckobj-$(CONFIG_SENSORS_INA209)	+= ina209.o
84f7c2fe38SFelten, Lotharobj-$(CONFIG_SENSORS_INA2XX)	+= ina2xx.o
857cb6dcffSAndrew F. Davisobj-$(CONFIG_SENSORS_INA3221)	+= ina3221.o
86ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_IT87)	+= it87.o
874453d736SGuenter Roeckobj-$(CONFIG_SENSORS_JC42)	+= jc42.o
887f983ba9SLars-Peter Clausenobj-$(CONFIG_SENSORS_JZ4740)	+= jz4740-hwmon.o
8929fa06c1SRudolf Marekobj-$(CONFIG_SENSORS_K8TEMP)	+= k8temp.o
903c57e89bSClemens Ladischobj-$(CONFIG_SENSORS_K10TEMP)	+= k10temp.o
91502b5a01SGuenter Roeckobj-$(CONFIG_SENSORS_LINEAGE)	+= lineage-pem.o
92ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM63)	+= lm63.o
93e1a8e913SKaiwan N Billimoriaobj-$(CONFIG_SENSORS_LM70)	+= lm70.o
944e233cbeSAdrien Demarezobj-$(CONFIG_SENSORS_LM73)	+= lm73.o
95ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM75)	+= lm75.o
96ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM77)	+= lm77.o
97ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM78)	+= lm78.o
98ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM80)	+= lm80.o
99ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM83)	+= lm83.o
100ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM85)	+= lm85.o
101ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM87)	+= lm87.o
102ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM90)	+= lm90.o
103ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM92)	+= lm92.o
104e46957edSHans-Jürgen Kochobj-$(CONFIG_SENSORS_LM93)	+= lm93.o
105e1eb4906SGuenter Roeckobj-$(CONFIG_SENSORS_LM95234)	+= lm95234.o
10606160327SDavide Rizzoobj-$(CONFIG_SENSORS_LM95241)	+= lm95241.o
107fffd80ccSAlexander Steinobj-$(CONFIG_SENSORS_LM95245)	+= lm95245.o
1086700ce03SGuenter Roeckobj-$(CONFIG_SENSORS_LTC2945)	+= ltc2945.o
109df922703SMike Looijmansobj-$(CONFIG_SENSORS_LTC2990)	+= ltc2990.o
110de779015Sper.dalen@appeartv.comobj-$(CONFIG_SENSORS_LTC4151)	+= ltc4151.o
11172f5de92SIra Snyderobj-$(CONFIG_SENSORS_LTC4215)	+= ltc4215.o
11279ffe859SGuenter Roeckobj-$(CONFIG_SENSORS_LTC4222)	+= ltc4222.o
1136e34b187SIra Snyderobj-$(CONFIG_SENSORS_LTC4245)	+= ltc4245.o
11469e1ded6SGuenter Roeckobj-$(CONFIG_SENSORS_LTC4260)	+= ltc4260.o
115e5f5c99aSGuenter Roeckobj-$(CONFIG_SENSORS_LTC4261)	+= ltc4261.o
1167074d0a9SFlorian Eckertobj-$(CONFIG_SENSORS_LTQ_CPUTEMP) += ltq-cputemp.o
11755b951e7SEric Miaoobj-$(CONFIG_SENSORS_MAX1111)	+= max1111.o
118f5bae264SGuenter Roeckobj-$(CONFIG_SENSORS_MAX16065)	+= max16065.o
119ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_MAX1619)	+= max1619.o
120731b4cacSDavid Georgeobj-$(CONFIG_SENSORS_MAX1668)	+= max1668.o
1216c1fe725SVivien Didelotobj-$(CONFIG_SENSORS_MAX197)	+= max197.o
12204e1e70aSTiberiu Breanaobj-$(CONFIG_SENSORS_MAX31722)	+= max31722.o
12392b64580SVadim Pasternakobj-$(CONFIG_SENSORS_MAX6621)	+= max6621.o
124a5b79d62Sstigge@antcom.deobj-$(CONFIG_SENSORS_MAX6639)	+= max6639.o
12583bffbceSPer Dalénobj-$(CONFIG_SENSORS_MAX6642)	+= max6642.o
126d20620deSHans-Juergen Kochobj-$(CONFIG_SENSORS_MAX6650)	+= max6650.o
1275372d2d7SGuenter Roeckobj-$(CONFIG_SENSORS_MAX6697)	+= max6697.o
128195a4b42SIl Hanobj-$(CONFIG_SENSORS_MAX31790)	+= max31790.o
12993ee0a75SLuotao Fuobj-$(CONFIG_SENSORS_MC13783_ADC)+= mc13783-adc.o
1305510e62aSXie Xiaoboobj-$(CONFIG_SENSORS_MCP3021)	+= mcp3021.o
131aaf6fabfSChris Packhamobj-$(CONFIG_SENSORS_TC654)	+= tc654.o
13265afb4c8SVadim Pasternakobj-$(CONFIG_SENSORS_MLXREG_FAN) += mlxreg-fan.o
13396435693SAndreas Wernerobj-$(CONFIG_SENSORS_MENF21BMC_HWMON) += menf21bmc_hwmon.o
13441082d66SGuenter Roeckobj-$(CONFIG_SENSORS_NCT6683)	+= nct6683.o
1359de2e2e8SGuenter Roeckobj-$(CONFIG_SENSORS_NCT6775)	+= nct6775.o
1363434f378SGuenter Roeckobj-$(CONFIG_SENSORS_NCT7802)	+= nct7802.o
1379c947d25SVadim V. Vlasovobj-$(CONFIG_SENSORS_NCT7904)	+= nct7904.o
138f1fd4a4dSTomer Maimonobj-$(CONFIG_SENSORS_NPCM7XX)	+= npcm750-pwm-fan.o
139630300d5SAdam Bakerobj-$(CONFIG_SENSORS_NSA320)	+= nsa320-hwmon.o
140f22aaaa7SDonggeun Kimobj-$(CONFIG_SENSORS_NTC_THERMISTOR)	+= ntc_thermistor.o
141ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_PC87360)	+= pc87360.o
142ba224e2cSJean Delvareobj-$(CONFIG_SENSORS_PC87427)	+= pc87427.o
143fb4504feSJean Delvareobj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
144f4ff4155SScott Kanowitzobj-$(CONFIG_SENSORS_POWR1220)  += powr1220.o
145d82d5776SKamil Debskiobj-$(CONFIG_SENSORS_PWM_FAN)	+= pwm-fan.o
14674d1e007SStefan Wahrenobj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON)	+= raspberrypi-hwmon.o
147bff78650SBen Dooksobj-$(CONFIG_SENSORS_S3C)	+= s3c-hwmon.o
14828ff2f7aSHans de Goedeobj-$(CONFIG_SENSORS_SCH56XX_COMMON)+= sch56xx-common.o
149a98d506cSHans de Goedeobj-$(CONFIG_SENSORS_SCH5627)	+= sch5627.o
1500772a640SHans de Goedeobj-$(CONFIG_SENSORS_SCH5636)	+= sch5636.o
151251eb40fSJonathan Cameronobj-$(CONFIG_SENSORS_SHT15)	+= sht15.o
152430400b8SUrs Fleischobj-$(CONFIG_SENSORS_SHT21)	+= sht21.o
1537c84f7f8SDavid Freyobj-$(CONFIG_SENSORS_SHT3x)	+= sht3x.o
1541a539d37STomas Popobj-$(CONFIG_SENSORS_SHTC1)	+= shtc1.o
155ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SIS5595)	+= sis5595.o
156920fa1ffSGuenter Roeckobj-$(CONFIG_SENSORS_SMM665)	+= smm665.o
157ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o
158ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SMSC47M1)	+= smsc47m1.o
15959ac8367SHartmut Rickobj-$(CONFIG_SENSORS_SMSC47M192)+= smsc47m192.o
1607f07ec0fSandrea.merelloobj-$(CONFIG_SENSORS_STTS751)	+= stts751.o
161b5430a04STomaz Merteljobj-$(CONFIG_SENSORS_AMC6821)	+= amc6821.o
162761c1770SMaciej S. Szmigieroobj-$(CONFIG_SENSORS_TC74)	+= tc74.o
163add77c64SKrzysztof Heltobj-$(CONFIG_SENSORS_THMC50)	+= thmc50.o
164beb1b6bbSSteven Kingobj-$(CONFIG_SENSORS_TMP102)	+= tmp102.o
165d17a7dcaSHeiko Schocherobj-$(CONFIG_SENSORS_TMP103)	+= tmp103.o
16666e1c917SJohn Muirobj-$(CONFIG_SENSORS_TMP108)	+= tmp108.o
167ab2b79d5SHans de Goedeobj-$(CONFIG_SENSORS_TMP401)	+= tmp401.o
1689410700bSAndre Prendelobj-$(CONFIG_SENSORS_TMP421)	+= tmp421.o
169c32f5effSSudeep Hollaobj-$(CONFIG_SENSORS_VEXPRESS)	+= vexpress-hwmon.o
17070c38772SHarald Welteobj-$(CONFIG_SENSORS_VIA_CPUTEMP)+= via-cputemp.o
171ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_VIA686A)	+= via686a.o
172ab41319eSJuerg Haefligerobj-$(CONFIG_SENSORS_VT1211)	+= vt1211.o
1731de9e371SRoger Lucasobj-$(CONFIG_SENSORS_VT8231)	+= vt8231.o
174ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_W83627EHF)	+= w83627ehf.o
175ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_W83L785TS)	+= w83l785ts.o
17685f03bccSKevin Loobj-$(CONFIG_SENSORS_W83L786NG)	+= w83l786ng.o
17708bad5a8SMark Brownobj-$(CONFIG_SENSORS_WM831X)	+= wm831x-hwmon.o
178fb6c023aSMark Brownobj-$(CONFIG_SENSORS_WM8350)	+= wm8350-hwmon.o
179ed42cfa8Shotranobj-$(CONFIG_SENSORS_XGENE)	+= xgene-hwmon.o
180ad2f931dSJean Delvare
181*5b5513b8SEddie Jamesobj-$(CONFIG_SENSORS_OCC)	+= occ/
1829d2ecfb7SGuenter Roeckobj-$(CONFIG_PMBUS)		+= pmbus/
183442aba78SGuenter Roeck
1845c39e311Smatt mooneyccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
185ad2f931dSJean Delvare
186