xref: /openbmc/linux/drivers/hwmon/Makefile (revision 3bce5377ef66a8700dcf7a9cb89b7aeb99326cb7)
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
3709b08ac9SBeniamin Biaobj-$(CONFIG_SENSORS_ADM1177)	+= adm1177.o
38ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM9240)	+= adm9240.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
517548666eSJisheng Zhangobj-$(CONFIG_SENSORS_AS370)	+= as370-hwmon.o
52d58de038SGeorge Josephobj-$(CONFIG_SENSORS_ASC7621)	+= asc7621.o
532d7a548aSJaghathiswari Rankappagounder Natarajanobj-$(CONFIG_SENSORS_ASPEED)	+= aspeed-pwm-tacho.o
54ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ATXP1)	+= atxp1.o
558412b410SNuno Sáobj-$(CONFIG_SENSORS_AXI_FAN_CONTROL) += axi-fan-control.o
56bebe4678SRudolf Marekobj-$(CONFIG_SENSORS_CORETEMP)	+= coretemp.o
57e41f6432SAshish Jangamobj-$(CONFIG_SENSORS_DA9052_ADC)+= da9052-hwmon.o
58e5970223SAshish Jangamobj-$(CONFIG_SENSORS_DA9055)+= da9055-hwmon.o
59039ae585SPali Rohárobj-$(CONFIG_SENSORS_DELL_SMM)	+= dell-smm-hwmon.o
609431996fSJuerg Haefligerobj-$(CONFIG_SENSORS_DME1737)	+= dme1737.o
615b46903dSGuenter Roeckobj-$(CONFIG_SENSORS_DRIVETEMP)	+= drivetemp.o
6260994698SRoland Stiggeobj-$(CONFIG_SENSORS_DS620)	+= ds620.o
63ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_DS1621)	+= ds1621.o
64dac6831eSKalhan Trisalobj-$(CONFIG_SENSORS_EMC1403)	+= emc1403.o
659df7305bSSteve Glendinningobj-$(CONFIG_SENSORS_EMC2103)	+= emc2103.o
66b0b349a8SJean Delvareobj-$(CONFIG_SENSORS_EMC6W201)	+= emc6w201.o
67e53004e2SJean Delvareobj-$(CONFIG_SENSORS_F71805F)	+= f71805f.o
6845fb3669SHans de Goedeobj-$(CONFIG_SENSORS_F71882FG)	+= f71882fg.o
6984f1e442SRiku Voipioobj-$(CONFIG_SENSORS_F75375S)	+= f75375s.o
70512d1027SAndreas Herrmannobj-$(CONFIG_SENSORS_FAM15H_POWER) += fam15h_power.o
71569ff102SHans de Goedeobj-$(CONFIG_SENSORS_FSCHMD)	+= fschmd.o
7208426edaSThilo Cestonaroobj-$(CONFIG_SENSORS_FTSTEUTATES) += ftsteutates.o
733bcfa9e4SHerbert Valerio Riedelobj-$(CONFIG_SENSORS_G760A)	+= g760a.o
74594fbe71SArnaud Ebalardobj-$(CONFIG_SENSORS_G762)	+= g762.o
75ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_GL518SM)	+= gl518sm.o
76ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_GL520SM)	+= gl520sm.o
77*3bce5377STim Harveyobj-$(CONFIG_SENSORS_GSC)	+= gsc-hwmon.o
78d6fe1360SSimon Guinotobj-$(CONFIG_SENSORS_GPIO_FAN)	+= gpio-fan.o
7927f8b135SIain Patonobj-$(CONFIG_SENSORS_HIH6130)	+= hih6130.o
80e0418088SDavid S. Millerobj-$(CONFIG_SENSORS_ULTRA45)	+= ultra45_env.o
81ada07281SJean Delvareobj-$(CONFIG_SENSORS_I5500)	+= i5500_temp.o
82298c7524SDarrick J. Wongobj-$(CONFIG_SENSORS_I5K_AMB)	+= i5k_amb.o
838808a793SDarrick J. Wongobj-$(CONFIG_SENSORS_IBMAEM)	+= ibmaem.o
8457c7c3a0SDarrick J. Wongobj-$(CONFIG_SENSORS_IBMPEX)	+= ibmpex.o
8524c1aa85SNeelesh Guptaobj-$(CONFIG_SENSORS_IBMPOWERNV)+= ibmpowernv.o
8651b53dc9SJonathan Cameronobj-$(CONFIG_SENSORS_IIO_HWMON) += iio_hwmon.o
87ceeadc5cSGuenter Roeckobj-$(CONFIG_SENSORS_INA209)	+= ina209.o
88f7c2fe38SFelten, Lotharobj-$(CONFIG_SENSORS_INA2XX)	+= ina2xx.o
897cb6dcffSAndrew F. Davisobj-$(CONFIG_SENSORS_INA3221)	+= ina3221.o
90ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_IT87)	+= it87.o
914453d736SGuenter Roeckobj-$(CONFIG_SENSORS_JC42)	+= jc42.o
9229fa06c1SRudolf Marekobj-$(CONFIG_SENSORS_K8TEMP)	+= k8temp.o
933c57e89bSClemens Ladischobj-$(CONFIG_SENSORS_K10TEMP)	+= k10temp.o
94502b5a01SGuenter Roeckobj-$(CONFIG_SENSORS_LINEAGE)	+= lineage-pem.o
954cdb5621SLucas Tanureobj-$(CONFIG_SENSORS_LOCHNAGAR)	+= lochnagar-hwmon.o
96ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM63)	+= lm63.o
97e1a8e913SKaiwan N Billimoriaobj-$(CONFIG_SENSORS_LM70)	+= lm70.o
984e233cbeSAdrien Demarezobj-$(CONFIG_SENSORS_LM73)	+= lm73.o
99ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM75)	+= lm75.o
100ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM77)	+= lm77.o
101ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM78)	+= lm78.o
102ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM80)	+= lm80.o
103ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM83)	+= lm83.o
104ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM85)	+= lm85.o
105ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM87)	+= lm87.o
106ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM90)	+= lm90.o
107ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM92)	+= lm92.o
108e46957edSHans-Jürgen Kochobj-$(CONFIG_SENSORS_LM93)	+= lm93.o
109e1eb4906SGuenter Roeckobj-$(CONFIG_SENSORS_LM95234)	+= lm95234.o
11006160327SDavide Rizzoobj-$(CONFIG_SENSORS_LM95241)	+= lm95241.o
111fffd80ccSAlexander Steinobj-$(CONFIG_SENSORS_LM95245)	+= lm95245.o
1126700ce03SGuenter Roeckobj-$(CONFIG_SENSORS_LTC2945)	+= ltc2945.o
1139f90fd65SNuno Sáobj-$(CONFIG_SENSORS_LTC2947)	+= ltc2947-core.o
1149f90fd65SNuno Sáobj-$(CONFIG_SENSORS_LTC2947_I2C) += ltc2947-i2c.o
1159f90fd65SNuno Sáobj-$(CONFIG_SENSORS_LTC2947_SPI) += ltc2947-spi.o
116df922703SMike Looijmansobj-$(CONFIG_SENSORS_LTC2990)	+= ltc2990.o
117de779015Sper.dalen@appeartv.comobj-$(CONFIG_SENSORS_LTC4151)	+= ltc4151.o
11872f5de92SIra Snyderobj-$(CONFIG_SENSORS_LTC4215)	+= ltc4215.o
11979ffe859SGuenter Roeckobj-$(CONFIG_SENSORS_LTC4222)	+= ltc4222.o
1206e34b187SIra Snyderobj-$(CONFIG_SENSORS_LTC4245)	+= ltc4245.o
12169e1ded6SGuenter Roeckobj-$(CONFIG_SENSORS_LTC4260)	+= ltc4260.o
122e5f5c99aSGuenter Roeckobj-$(CONFIG_SENSORS_LTC4261)	+= ltc4261.o
1237074d0a9SFlorian Eckertobj-$(CONFIG_SENSORS_LTQ_CPUTEMP) += ltq-cputemp.o
12455b951e7SEric Miaoobj-$(CONFIG_SENSORS_MAX1111)	+= max1111.o
125f5bae264SGuenter Roeckobj-$(CONFIG_SENSORS_MAX16065)	+= max16065.o
126ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_MAX1619)	+= max1619.o
127731b4cacSDavid Georgeobj-$(CONFIG_SENSORS_MAX1668)	+= max1668.o
1286c1fe725SVivien Didelotobj-$(CONFIG_SENSORS_MAX197)	+= max197.o
12904e1e70aSTiberiu Breanaobj-$(CONFIG_SENSORS_MAX31722)	+= max31722.o
130d21ed22bSGuenter Roeckobj-$(CONFIG_SENSORS_MAX31730)	+= max31730.o
13192b64580SVadim Pasternakobj-$(CONFIG_SENSORS_MAX6621)	+= max6621.o
132a5b79d62Sstigge@antcom.deobj-$(CONFIG_SENSORS_MAX6639)	+= max6639.o
13383bffbceSPer Dalénobj-$(CONFIG_SENSORS_MAX6642)	+= max6642.o
134d20620deSHans-Juergen Kochobj-$(CONFIG_SENSORS_MAX6650)	+= max6650.o
1355372d2d7SGuenter Roeckobj-$(CONFIG_SENSORS_MAX6697)	+= max6697.o
136195a4b42SIl Hanobj-$(CONFIG_SENSORS_MAX31790)	+= max31790.o
13793ee0a75SLuotao Fuobj-$(CONFIG_SENSORS_MC13783_ADC)+= mc13783-adc.o
1385510e62aSXie Xiaoboobj-$(CONFIG_SENSORS_MCP3021)	+= mcp3021.o
139aaf6fabfSChris Packhamobj-$(CONFIG_SENSORS_TC654)	+= tc654.o
14065afb4c8SVadim Pasternakobj-$(CONFIG_SENSORS_MLXREG_FAN) += mlxreg-fan.o
14196435693SAndreas Wernerobj-$(CONFIG_SENSORS_MENF21BMC_HWMON) += menf21bmc_hwmon.o
14241082d66SGuenter Roeckobj-$(CONFIG_SENSORS_NCT6683)	+= nct6683.o
1439de2e2e8SGuenter Roeckobj-$(CONFIG_SENSORS_NCT6775)	+= nct6775.o
1443434f378SGuenter Roeckobj-$(CONFIG_SENSORS_NCT7802)	+= nct7802.o
1459c947d25SVadim V. Vlasovobj-$(CONFIG_SENSORS_NCT7904)	+= nct7904.o
146f1fd4a4dSTomer Maimonobj-$(CONFIG_SENSORS_NPCM7XX)	+= npcm750-pwm-fan.o
147630300d5SAdam Bakerobj-$(CONFIG_SENSORS_NSA320)	+= nsa320-hwmon.o
148f22aaaa7SDonggeun Kimobj-$(CONFIG_SENSORS_NTC_THERMISTOR)	+= ntc_thermistor.o
149ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_PC87360)	+= pc87360.o
150ba224e2cSJean Delvareobj-$(CONFIG_SENSORS_PC87427)	+= pc87427.o
151fb4504feSJean Delvareobj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
152f4ff4155SScott Kanowitzobj-$(CONFIG_SENSORS_POWR1220)  += powr1220.o
153d82d5776SKamil Debskiobj-$(CONFIG_SENSORS_PWM_FAN)	+= pwm-fan.o
15474d1e007SStefan Wahrenobj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON)	+= raspberrypi-hwmon.o
155bff78650SBen Dooksobj-$(CONFIG_SENSORS_S3C)	+= s3c-hwmon.o
15628ff2f7aSHans de Goedeobj-$(CONFIG_SENSORS_SCH56XX_COMMON)+= sch56xx-common.o
157a98d506cSHans de Goedeobj-$(CONFIG_SENSORS_SCH5627)	+= sch5627.o
1580772a640SHans de Goedeobj-$(CONFIG_SENSORS_SCH5636)	+= sch5636.o
159251eb40fSJonathan Cameronobj-$(CONFIG_SENSORS_SHT15)	+= sht15.o
160430400b8SUrs Fleischobj-$(CONFIG_SENSORS_SHT21)	+= sht21.o
1617c84f7f8SDavid Freyobj-$(CONFIG_SENSORS_SHT3x)	+= sht3x.o
1621a539d37STomas Popobj-$(CONFIG_SENSORS_SHTC1)	+= shtc1.o
163ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SIS5595)	+= sis5595.o
164920fa1ffSGuenter Roeckobj-$(CONFIG_SENSORS_SMM665)	+= smm665.o
165ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o
166ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SMSC47M1)	+= smsc47m1.o
16759ac8367SHartmut Rickobj-$(CONFIG_SENSORS_SMSC47M192)+= smsc47m192.o
1687f07ec0fSandrea.merelloobj-$(CONFIG_SENSORS_STTS751)	+= stts751.o
169b5430a04STomaz Merteljobj-$(CONFIG_SENSORS_AMC6821)	+= amc6821.o
170761c1770SMaciej S. Szmigieroobj-$(CONFIG_SENSORS_TC74)	+= tc74.o
171add77c64SKrzysztof Heltobj-$(CONFIG_SENSORS_THMC50)	+= thmc50.o
172beb1b6bbSSteven Kingobj-$(CONFIG_SENSORS_TMP102)	+= tmp102.o
173d17a7dcaSHeiko Schocherobj-$(CONFIG_SENSORS_TMP103)	+= tmp103.o
17466e1c917SJohn Muirobj-$(CONFIG_SENSORS_TMP108)	+= tmp108.o
175ab2b79d5SHans de Goedeobj-$(CONFIG_SENSORS_TMP401)	+= tmp401.o
1769410700bSAndre Prendelobj-$(CONFIG_SENSORS_TMP421)	+= tmp421.o
17759dfa75eSEric Tremblayobj-$(CONFIG_SENSORS_TMP513)	+= tmp513.o
178c32f5effSSudeep Hollaobj-$(CONFIG_SENSORS_VEXPRESS)	+= vexpress-hwmon.o
17970c38772SHarald Welteobj-$(CONFIG_SENSORS_VIA_CPUTEMP)+= via-cputemp.o
180ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_VIA686A)	+= via686a.o
181ab41319eSJuerg Haefligerobj-$(CONFIG_SENSORS_VT1211)	+= vt1211.o
1821de9e371SRoger Lucasobj-$(CONFIG_SENSORS_VT8231)	+= vt8231.o
183ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_W83627EHF)	+= w83627ehf.o
184ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_W83L785TS)	+= w83l785ts.o
18585f03bccSKevin Loobj-$(CONFIG_SENSORS_W83L786NG)	+= w83l786ng.o
18608bad5a8SMark Brownobj-$(CONFIG_SENSORS_WM831X)	+= wm831x-hwmon.o
187fb6c023aSMark Brownobj-$(CONFIG_SENSORS_WM8350)	+= wm8350-hwmon.o
188ed42cfa8Shotranobj-$(CONFIG_SENSORS_XGENE)	+= xgene-hwmon.o
189ad2f931dSJean Delvare
1905b5513b8SEddie Jamesobj-$(CONFIG_SENSORS_OCC)	+= occ/
1919d2ecfb7SGuenter Roeckobj-$(CONFIG_PMBUS)		+= pmbus/
192442aba78SGuenter Roeck
1935c39e311Smatt mooneyccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
194ad2f931dSJean Delvare
195