xref: /openbmc/linux/drivers/hwmon/Makefile (revision e7bb1a2ab8c4b1569f5b271fd87ca203b1e673a5)
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
488abee956SNaveen Krishna Chatradhiobj-$(CONFIG_SENSORS_AMD_ENERGY) += amd_energy.o
496f2fad74SNicolas Boichatobj-$(CONFIG_SENSORS_APPLESMC)	+= applesmc.o
50b23688aeSSudeep Hollaobj-$(CONFIG_SENSORS_ARM_SCMI)	+= scmi-hwmon.o
51ea98b29aSPunit Agrawalobj-$(CONFIG_SENSORS_ARM_SCPI)	+= scpi-hwmon.o
527548666eSJisheng Zhangobj-$(CONFIG_SENSORS_AS370)	+= as370-hwmon.o
53d58de038SGeorge Josephobj-$(CONFIG_SENSORS_ASC7621)	+= asc7621.o
542d7a548aSJaghathiswari Rankappagounder Natarajanobj-$(CONFIG_SENSORS_ASPEED)	+= aspeed-pwm-tacho.o
55ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ATXP1)	+= atxp1.o
568412b410SNuno Sáobj-$(CONFIG_SENSORS_AXI_FAN_CONTROL) += axi-fan-control.o
5787976ce2SSerge Seminobj-$(CONFIG_SENSORS_BT1_PVT)	+= bt1-pvt.o
58bebe4678SRudolf Marekobj-$(CONFIG_SENSORS_CORETEMP)	+= coretemp.o
5940c3a445SMarius Zachmannobj-$(CONFIG_SENSORS_CORSAIR_CPRO) += corsair-cpro.o
60d115b51eSWilken Gottwaltobj-$(CONFIG_SENSORS_CORSAIR_PSU) += corsair-psu.o
61e41f6432SAshish Jangamobj-$(CONFIG_SENSORS_DA9052_ADC)+= da9052-hwmon.o
62e5970223SAshish Jangamobj-$(CONFIG_SENSORS_DA9055)+= da9055-hwmon.o
63039ae585SPali Rohárobj-$(CONFIG_SENSORS_DELL_SMM)	+= dell-smm-hwmon.o
649431996fSJuerg Haefligerobj-$(CONFIG_SENSORS_DME1737)	+= dme1737.o
655b46903dSGuenter Roeckobj-$(CONFIG_SENSORS_DRIVETEMP)	+= drivetemp.o
6660994698SRoland Stiggeobj-$(CONFIG_SENSORS_DS620)	+= ds620.o
67ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_DS1621)	+= ds1621.o
68dac6831eSKalhan Trisalobj-$(CONFIG_SENSORS_EMC1403)	+= emc1403.o
699df7305bSSteve Glendinningobj-$(CONFIG_SENSORS_EMC2103)	+= emc2103.o
70b0b349a8SJean Delvareobj-$(CONFIG_SENSORS_EMC6W201)	+= emc6w201.o
71e53004e2SJean Delvareobj-$(CONFIG_SENSORS_F71805F)	+= f71805f.o
7245fb3669SHans de Goedeobj-$(CONFIG_SENSORS_F71882FG)	+= f71882fg.o
7384f1e442SRiku Voipioobj-$(CONFIG_SENSORS_F75375S)	+= f75375s.o
74512d1027SAndreas Herrmannobj-$(CONFIG_SENSORS_FAM15H_POWER) += fam15h_power.o
75569ff102SHans de Goedeobj-$(CONFIG_SENSORS_FSCHMD)	+= fschmd.o
7608426edaSThilo Cestonaroobj-$(CONFIG_SENSORS_FTSTEUTATES) += ftsteutates.o
773bcfa9e4SHerbert Valerio Riedelobj-$(CONFIG_SENSORS_G760A)	+= g760a.o
78594fbe71SArnaud Ebalardobj-$(CONFIG_SENSORS_G762)	+= g762.o
79ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_GL518SM)	+= gl518sm.o
80ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_GL520SM)	+= gl520sm.o
813bce5377STim Harveyobj-$(CONFIG_SENSORS_GSC)	+= gsc-hwmon.o
82d6fe1360SSimon Guinotobj-$(CONFIG_SENSORS_GPIO_FAN)	+= gpio-fan.o
8327f8b135SIain Patonobj-$(CONFIG_SENSORS_HIH6130)	+= hih6130.o
84e0418088SDavid S. Millerobj-$(CONFIG_SENSORS_ULTRA45)	+= ultra45_env.o
85ada07281SJean Delvareobj-$(CONFIG_SENSORS_I5500)	+= i5500_temp.o
86298c7524SDarrick J. Wongobj-$(CONFIG_SENSORS_I5K_AMB)	+= i5k_amb.o
878808a793SDarrick J. Wongobj-$(CONFIG_SENSORS_IBMAEM)	+= ibmaem.o
8857c7c3a0SDarrick J. Wongobj-$(CONFIG_SENSORS_IBMPEX)	+= ibmpex.o
8924c1aa85SNeelesh Guptaobj-$(CONFIG_SENSORS_IBMPOWERNV)+= ibmpowernv.o
9051b53dc9SJonathan Cameronobj-$(CONFIG_SENSORS_IIO_HWMON) += iio_hwmon.o
91ceeadc5cSGuenter Roeckobj-$(CONFIG_SENSORS_INA209)	+= ina209.o
92f7c2fe38SFelten, Lotharobj-$(CONFIG_SENSORS_INA2XX)	+= ina2xx.o
937cb6dcffSAndrew F. Davisobj-$(CONFIG_SENSORS_INA3221)	+= ina3221.o
94865e4fc0SXu Yilunobj-$(CONFIG_SENSORS_INTEL_M10_BMC_HWMON) += intel-m10-bmc-hwmon.o
95ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_IT87)	+= it87.o
964453d736SGuenter Roeckobj-$(CONFIG_SENSORS_JC42)	+= jc42.o
9729fa06c1SRudolf Marekobj-$(CONFIG_SENSORS_K8TEMP)	+= k8temp.o
983c57e89bSClemens Ladischobj-$(CONFIG_SENSORS_K10TEMP)	+= k10temp.o
99502b5a01SGuenter Roeckobj-$(CONFIG_SENSORS_LINEAGE)	+= lineage-pem.o
1004cdb5621SLucas Tanureobj-$(CONFIG_SENSORS_LOCHNAGAR)	+= lochnagar-hwmon.o
101ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM63)	+= lm63.o
102e1a8e913SKaiwan N Billimoriaobj-$(CONFIG_SENSORS_LM70)	+= lm70.o
1034e233cbeSAdrien Demarezobj-$(CONFIG_SENSORS_LM73)	+= lm73.o
104ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM75)	+= lm75.o
105ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM77)	+= lm77.o
106ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM78)	+= lm78.o
107ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM80)	+= lm80.o
108ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM83)	+= lm83.o
109ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM85)	+= lm85.o
110ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM87)	+= lm87.o
111ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM90)	+= lm90.o
112ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_LM92)	+= lm92.o
113e46957edSHans-Jürgen Kochobj-$(CONFIG_SENSORS_LM93)	+= lm93.o
114e1eb4906SGuenter Roeckobj-$(CONFIG_SENSORS_LM95234)	+= lm95234.o
11506160327SDavide Rizzoobj-$(CONFIG_SENSORS_LM95241)	+= lm95241.o
116fffd80ccSAlexander Steinobj-$(CONFIG_SENSORS_LM95245)	+= lm95245.o
1176700ce03SGuenter Roeckobj-$(CONFIG_SENSORS_LTC2945)	+= ltc2945.o
1189f90fd65SNuno Sáobj-$(CONFIG_SENSORS_LTC2947)	+= ltc2947-core.o
1199f90fd65SNuno Sáobj-$(CONFIG_SENSORS_LTC2947_I2C) += ltc2947-i2c.o
1209f90fd65SNuno Sáobj-$(CONFIG_SENSORS_LTC2947_SPI) += ltc2947-spi.o
121df922703SMike Looijmansobj-$(CONFIG_SENSORS_LTC2990)	+= ltc2990.o
122b0bd407eSAlexandru Tachiciobj-$(CONFIG_SENSORS_LTC2992)	+= ltc2992.o
123de779015Sper.dalen@appeartv.comobj-$(CONFIG_SENSORS_LTC4151)	+= ltc4151.o
12472f5de92SIra Snyderobj-$(CONFIG_SENSORS_LTC4215)	+= ltc4215.o
12579ffe859SGuenter Roeckobj-$(CONFIG_SENSORS_LTC4222)	+= ltc4222.o
1266e34b187SIra Snyderobj-$(CONFIG_SENSORS_LTC4245)	+= ltc4245.o
12769e1ded6SGuenter Roeckobj-$(CONFIG_SENSORS_LTC4260)	+= ltc4260.o
128e5f5c99aSGuenter Roeckobj-$(CONFIG_SENSORS_LTC4261)	+= ltc4261.o
1297074d0a9SFlorian Eckertobj-$(CONFIG_SENSORS_LTQ_CPUTEMP) += ltq-cputemp.o
13055b951e7SEric Miaoobj-$(CONFIG_SENSORS_MAX1111)	+= max1111.o
1318efd1014STao Renobj-$(CONFIG_SENSORS_MAX127)	+= max127.o
132f5bae264SGuenter Roeckobj-$(CONFIG_SENSORS_MAX16065)	+= max16065.o
133ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_MAX1619)	+= max1619.o
134731b4cacSDavid Georgeobj-$(CONFIG_SENSORS_MAX1668)	+= max1668.o
1356c1fe725SVivien Didelotobj-$(CONFIG_SENSORS_MAX197)	+= max197.o
13604e1e70aSTiberiu Breanaobj-$(CONFIG_SENSORS_MAX31722)	+= max31722.o
137d21ed22bSGuenter Roeckobj-$(CONFIG_SENSORS_MAX31730)	+= max31730.o
13892b64580SVadim Pasternakobj-$(CONFIG_SENSORS_MAX6621)	+= max6621.o
139a5b79d62Sstigge@antcom.deobj-$(CONFIG_SENSORS_MAX6639)	+= max6639.o
14083bffbceSPer Dalénobj-$(CONFIG_SENSORS_MAX6642)	+= max6642.o
141d20620deSHans-Juergen Kochobj-$(CONFIG_SENSORS_MAX6650)	+= max6650.o
1425372d2d7SGuenter Roeckobj-$(CONFIG_SENSORS_MAX6697)	+= max6697.o
143195a4b42SIl Hanobj-$(CONFIG_SENSORS_MAX31790)	+= max31790.o
14493ee0a75SLuotao Fuobj-$(CONFIG_SENSORS_MC13783_ADC)+= mc13783-adc.o
1455510e62aSXie Xiaoboobj-$(CONFIG_SENSORS_MCP3021)	+= mcp3021.o
146aaf6fabfSChris Packhamobj-$(CONFIG_SENSORS_TC654)	+= tc654.o
14765afb4c8SVadim Pasternakobj-$(CONFIG_SENSORS_MLXREG_FAN) += mlxreg-fan.o
14896435693SAndreas Wernerobj-$(CONFIG_SENSORS_MENF21BMC_HWMON) += menf21bmc_hwmon.o
1499d823351SRahul Tanwarobj-$(CONFIG_SENSORS_MR75203)	+= mr75203.o
15041082d66SGuenter Roeckobj-$(CONFIG_SENSORS_NCT6683)	+= nct6683.o
1519de2e2e8SGuenter Roeckobj-$(CONFIG_SENSORS_NCT6775)	+= nct6775.o
1523434f378SGuenter Roeckobj-$(CONFIG_SENSORS_NCT7802)	+= nct7802.o
1539c947d25SVadim V. Vlasovobj-$(CONFIG_SENSORS_NCT7904)	+= nct7904.o
154f1fd4a4dSTomer Maimonobj-$(CONFIG_SENSORS_NPCM7XX)	+= npcm750-pwm-fan.o
155630300d5SAdam Bakerobj-$(CONFIG_SENSORS_NSA320)	+= nsa320-hwmon.o
156f22aaaa7SDonggeun Kimobj-$(CONFIG_SENSORS_NTC_THERMISTOR)	+= ntc_thermistor.o
157ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_PC87360)	+= pc87360.o
158ba224e2cSJean Delvareobj-$(CONFIG_SENSORS_PC87427)	+= pc87427.o
159fb4504feSJean Delvareobj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
160f4ff4155SScott Kanowitzobj-$(CONFIG_SENSORS_POWR1220)  += powr1220.o
161d82d5776SKamil Debskiobj-$(CONFIG_SENSORS_PWM_FAN)	+= pwm-fan.o
16274d1e007SStefan Wahrenobj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON)	+= raspberrypi-hwmon.o
163bff78650SBen Dooksobj-$(CONFIG_SENSORS_S3C)	+= s3c-hwmon.o
164*e7bb1a2aSKun Yiobj-$(CONFIG_SENSORS_SBTSI)	+= sbtsi_temp.o
16528ff2f7aSHans de Goedeobj-$(CONFIG_SENSORS_SCH56XX_COMMON)+= sch56xx-common.o
166a98d506cSHans de Goedeobj-$(CONFIG_SENSORS_SCH5627)	+= sch5627.o
1670772a640SHans de Goedeobj-$(CONFIG_SENSORS_SCH5636)	+= sch5636.o
1683f697027SMichael Walleobj-$(CONFIG_SENSORS_SL28CPLD)	+= sl28cpld-hwmon.o
169251eb40fSJonathan Cameronobj-$(CONFIG_SENSORS_SHT15)	+= sht15.o
170430400b8SUrs Fleischobj-$(CONFIG_SENSORS_SHT21)	+= sht21.o
1717c84f7f8SDavid Freyobj-$(CONFIG_SENSORS_SHT3x)	+= sht3x.o
1721a539d37STomas Popobj-$(CONFIG_SENSORS_SHTC1)	+= shtc1.o
173ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SIS5595)	+= sis5595.o
174920fa1ffSGuenter Roeckobj-$(CONFIG_SENSORS_SMM665)	+= smm665.o
175ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o
176ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SMSC47M1)	+= smsc47m1.o
17759ac8367SHartmut Rickobj-$(CONFIG_SENSORS_SMSC47M192)+= smsc47m192.o
178e4922176SLars Povlsenobj-$(CONFIG_SENSORS_SPARX5)	+= sparx5-temp.o
1797f07ec0fSandrea.merelloobj-$(CONFIG_SENSORS_STTS751)	+= stts751.o
180b5430a04STomaz Merteljobj-$(CONFIG_SENSORS_AMC6821)	+= amc6821.o
181761c1770SMaciej S. Szmigieroobj-$(CONFIG_SENSORS_TC74)	+= tc74.o
182add77c64SKrzysztof Heltobj-$(CONFIG_SENSORS_THMC50)	+= thmc50.o
183beb1b6bbSSteven Kingobj-$(CONFIG_SENSORS_TMP102)	+= tmp102.o
184d17a7dcaSHeiko Schocherobj-$(CONFIG_SENSORS_TMP103)	+= tmp103.o
18566e1c917SJohn Muirobj-$(CONFIG_SENSORS_TMP108)	+= tmp108.o
186ab2b79d5SHans de Goedeobj-$(CONFIG_SENSORS_TMP401)	+= tmp401.o
1879410700bSAndre Prendelobj-$(CONFIG_SENSORS_TMP421)	+= tmp421.o
18859dfa75eSEric Tremblayobj-$(CONFIG_SENSORS_TMP513)	+= tmp513.o
189c32f5effSSudeep Hollaobj-$(CONFIG_SENSORS_VEXPRESS)	+= vexpress-hwmon.o
19070c38772SHarald Welteobj-$(CONFIG_SENSORS_VIA_CPUTEMP)+= via-cputemp.o
191ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_VIA686A)	+= via686a.o
192ab41319eSJuerg Haefligerobj-$(CONFIG_SENSORS_VT1211)	+= vt1211.o
1931de9e371SRoger Lucasobj-$(CONFIG_SENSORS_VT8231)	+= vt8231.o
194ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_W83627EHF)	+= w83627ehf.o
195ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_W83L785TS)	+= w83l785ts.o
19685f03bccSKevin Loobj-$(CONFIG_SENSORS_W83L786NG)	+= w83l786ng.o
19708bad5a8SMark Brownobj-$(CONFIG_SENSORS_WM831X)	+= wm831x-hwmon.o
198fb6c023aSMark Brownobj-$(CONFIG_SENSORS_WM8350)	+= wm8350-hwmon.o
199ed42cfa8Shotranobj-$(CONFIG_SENSORS_XGENE)	+= xgene-hwmon.o
200ad2f931dSJean Delvare
2015b5513b8SEddie Jamesobj-$(CONFIG_SENSORS_OCC)	+= occ/
2029d2ecfb7SGuenter Roeckobj-$(CONFIG_PMBUS)		+= pmbus/
203442aba78SGuenter Roeck
2045c39e311Smatt mooneyccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
205ad2f931dSJean Delvare
206