xref: /openbmc/linux/drivers/hwmon/Makefile (revision e8ac01e5db329cf4ac2b36ef66b9d877330a990c)
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
24f2b84bbcSHans de Goedeobj-$(CONFIG_SENSORS_ABITUGURU)	+= abituguru.o
253faa1ffbSHans de Goedeobj-$(CONFIG_SENSORS_ABITUGURU3)+= abituguru3.o
264f3a6595SJonathan Cameronobj-$(CONFIG_SENSORS_AD7314)	+= ad7314.o
276c633c30SSean MacLennanobj-$(CONFIG_SENSORS_AD7414)	+= ad7414.o
282d8dd65fSAlessandro Zummoobj-$(CONFIG_SENSORS_AD7418)	+= ad7418.o
29b4c9c1a7SGuenter Roeckobj-$(CONFIG_SENSORS_ADC128D818) += adc128d818.o
30d42139a3SMarc Pignatobj-$(CONFIG_SENSORS_ADCXX)	+= adcxx.o
31ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM1021)	+= adm1021.o
32ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM1025)	+= adm1025.o
33ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM1026)	+= adm1026.o
34cae2caaeSCorentin Labbeobj-$(CONFIG_SENSORS_ADM1029)	+= adm1029.o
35ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM1031)	+= adm1031.o
3609b08ac9SBeniamin Biaobj-$(CONFIG_SENSORS_ADM1177)	+= adm1177.o
37ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_ADM9240)	+= adm9240.o
385812f928SSteve Hardyobj-$(CONFIG_SENSORS_ADS7828)	+= ads7828.o
39e0c70b80SPaul Thomasobj-$(CONFIG_SENSORS_ADS7871)	+= ads7871.o
4051c2a487SLars-Peter Clausenobj-$(CONFIG_SENSORS_ADT7X10)	+= adt7x10.o
4151c2a487SLars-Peter Clausenobj-$(CONFIG_SENSORS_ADT7310)	+= adt7310.o
42983b97beSHartmut Knaackobj-$(CONFIG_SENSORS_ADT7410)	+= adt7410.o
43d84ca5b3SWolfram Sangobj-$(CONFIG_SENSORS_ADT7411)	+= adt7411.o
44c0b4e3abSDarrick J. Wongobj-$(CONFIG_SENSORS_ADT7462)	+= adt7462.o
456f9703d0SDarrick J. Wongobj-$(CONFIG_SENSORS_ADT7470)	+= adt7470.o
461c301fc5SJordan Crouseobj-$(CONFIG_SENSORS_ADT7475)	+= adt7475.o
478c78f0deSJohannes Cornelis Draaijer (datdenkikniet)obj-$(CONFIG_SENSORS_AHT10)	+= aht10.o
486f2fad74SNicolas Boichatobj-$(CONFIG_SENSORS_APPLESMC)	+= applesmc.o
490e35f63fSAleksa Savicobj-$(CONFIG_SENSORS_AQUACOMPUTER_D5NEXT) += aquacomputer_d5next.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
138*e8ac01e5SArun Saravanan Balachandranobj-$(CONFIG_SENSORS_MAX6620)	+= max6620.o
13992b64580SVadim Pasternakobj-$(CONFIG_SENSORS_MAX6621)	+= max6621.o
140a5b79d62Sstigge@antcom.deobj-$(CONFIG_SENSORS_MAX6639)	+= max6639.o
14183bffbceSPer Dalénobj-$(CONFIG_SENSORS_MAX6642)	+= max6642.o
142d20620deSHans-Juergen Kochobj-$(CONFIG_SENSORS_MAX6650)	+= max6650.o
1435372d2d7SGuenter Roeckobj-$(CONFIG_SENSORS_MAX6697)	+= max6697.o
144195a4b42SIl Hanobj-$(CONFIG_SENSORS_MAX31790)	+= max31790.o
14593ee0a75SLuotao Fuobj-$(CONFIG_SENSORS_MC13783_ADC)+= mc13783-adc.o
1465510e62aSXie Xiaoboobj-$(CONFIG_SENSORS_MCP3021)	+= mcp3021.o
147aaf6fabfSChris Packhamobj-$(CONFIG_SENSORS_TC654)	+= tc654.o
148fff7b8abSRobert Markoobj-$(CONFIG_SENSORS_TPS23861)	+= tps23861.o
14965afb4c8SVadim Pasternakobj-$(CONFIG_SENSORS_MLXREG_FAN) += mlxreg-fan.o
15096435693SAndreas Wernerobj-$(CONFIG_SENSORS_MENF21BMC_HWMON) += menf21bmc_hwmon.o
1519d823351SRahul Tanwarobj-$(CONFIG_SENSORS_MR75203)	+= mr75203.o
15241082d66SGuenter Roeckobj-$(CONFIG_SENSORS_NCT6683)	+= nct6683.o
1539de2e2e8SGuenter Roeckobj-$(CONFIG_SENSORS_NCT6775)	+= nct6775.o
1543434f378SGuenter Roeckobj-$(CONFIG_SENSORS_NCT7802)	+= nct7802.o
1559c947d25SVadim V. Vlasovobj-$(CONFIG_SENSORS_NCT7904)	+= nct7904.o
156f1fd4a4dSTomer Maimonobj-$(CONFIG_SENSORS_NPCM7XX)	+= npcm750-pwm-fan.o
157630300d5SAdam Bakerobj-$(CONFIG_SENSORS_NSA320)	+= nsa320-hwmon.o
158f22aaaa7SDonggeun Kimobj-$(CONFIG_SENSORS_NTC_THERMISTOR)	+= ntc_thermistor.o
15982e3430dSJonas Malacoobj-$(CONFIG_SENSORS_NZXT_KRAKEN2) += nzxt-kraken2.o
160ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_PC87360)	+= pc87360.o
161ba224e2cSJean Delvareobj-$(CONFIG_SENSORS_PC87427)	+= pc87427.o
162fb4504feSJean Delvareobj-$(CONFIG_SENSORS_PCF8591)	+= pcf8591.o
163f4ff4155SScott Kanowitzobj-$(CONFIG_SENSORS_POWR1220)  += powr1220.o
164d82d5776SKamil Debskiobj-$(CONFIG_SENSORS_PWM_FAN)	+= pwm-fan.o
16574d1e007SStefan Wahrenobj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON)	+= raspberrypi-hwmon.o
166bff78650SBen Dooksobj-$(CONFIG_SENSORS_S3C)	+= s3c-hwmon.o
167e7bb1a2aSKun Yiobj-$(CONFIG_SENSORS_SBTSI)	+= sbtsi_temp.o
1685a0f50d1SAkshay Guptaobj-$(CONFIG_SENSORS_SBRMI)	+= sbrmi.o
16928ff2f7aSHans de Goedeobj-$(CONFIG_SENSORS_SCH56XX_COMMON)+= sch56xx-common.o
170a98d506cSHans de Goedeobj-$(CONFIG_SENSORS_SCH5627)	+= sch5627.o
1710772a640SHans de Goedeobj-$(CONFIG_SENSORS_SCH5636)	+= sch5636.o
1723f697027SMichael Walleobj-$(CONFIG_SENSORS_SL28CPLD)	+= sl28cpld-hwmon.o
173251eb40fSJonathan Cameronobj-$(CONFIG_SENSORS_SHT15)	+= sht15.o
174430400b8SUrs Fleischobj-$(CONFIG_SENSORS_SHT21)	+= sht21.o
1757c84f7f8SDavid Freyobj-$(CONFIG_SENSORS_SHT3x)	+= sht3x.o
176505c2549SNavin Sankar Velliangiriobj-$(CONFIG_SENSORS_SHT4x)	+= sht4x.o
1771a539d37STomas Popobj-$(CONFIG_SENSORS_SHTC1)	+= shtc1.o
178ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SIS5595)	+= sis5595.o
179920fa1ffSGuenter Roeckobj-$(CONFIG_SENSORS_SMM665)	+= smm665.o
180ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o
181ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_SMSC47M1)	+= smsc47m1.o
18259ac8367SHartmut Rickobj-$(CONFIG_SENSORS_SMSC47M192)+= smsc47m192.o
183e4922176SLars Povlsenobj-$(CONFIG_SENSORS_SPARX5)	+= sparx5-temp.o
1847f07ec0fSandrea.merelloobj-$(CONFIG_SENSORS_STTS751)	+= stts751.o
185b5430a04STomaz Merteljobj-$(CONFIG_SENSORS_AMC6821)	+= amc6821.o
186761c1770SMaciej S. Szmigieroobj-$(CONFIG_SENSORS_TC74)	+= tc74.o
187add77c64SKrzysztof Heltobj-$(CONFIG_SENSORS_THMC50)	+= thmc50.o
188beb1b6bbSSteven Kingobj-$(CONFIG_SENSORS_TMP102)	+= tmp102.o
189d17a7dcaSHeiko Schocherobj-$(CONFIG_SENSORS_TMP103)	+= tmp103.o
19066e1c917SJohn Muirobj-$(CONFIG_SENSORS_TMP108)	+= tmp108.o
191ab2b79d5SHans de Goedeobj-$(CONFIG_SENSORS_TMP401)	+= tmp401.o
1929410700bSAndre Prendelobj-$(CONFIG_SENSORS_TMP421)	+= tmp421.o
19359dfa75eSEric Tremblayobj-$(CONFIG_SENSORS_TMP513)	+= tmp513.o
194c32f5effSSudeep Hollaobj-$(CONFIG_SENSORS_VEXPRESS)	+= vexpress-hwmon.o
19570c38772SHarald Welteobj-$(CONFIG_SENSORS_VIA_CPUTEMP)+= via-cputemp.o
196ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_VIA686A)	+= via686a.o
197ab41319eSJuerg Haefligerobj-$(CONFIG_SENSORS_VT1211)	+= vt1211.o
1981de9e371SRoger Lucasobj-$(CONFIG_SENSORS_VT8231)	+= vt8231.o
199ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_W83627EHF)	+= w83627ehf.o
200ad2f931dSJean Delvareobj-$(CONFIG_SENSORS_W83L785TS)	+= w83l785ts.o
20185f03bccSKevin Loobj-$(CONFIG_SENSORS_W83L786NG)	+= w83l786ng.o
20208bad5a8SMark Brownobj-$(CONFIG_SENSORS_WM831X)	+= wm831x-hwmon.o
203fb6c023aSMark Brownobj-$(CONFIG_SENSORS_WM8350)	+= wm8350-hwmon.o
204ed42cfa8Shotranobj-$(CONFIG_SENSORS_XGENE)	+= xgene-hwmon.o
205ad2f931dSJean Delvare
2065b5513b8SEddie Jamesobj-$(CONFIG_SENSORS_OCC)	+= occ/
2079d2ecfb7SGuenter Roeckobj-$(CONFIG_PMBUS)		+= pmbus/
208442aba78SGuenter Roeck
2095c39e311Smatt mooneyccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
210ad2f931dSJean Delvare
211