2 # Copyright (C) 2006-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 HWMON_MENU
:=Hardware Monitoring Support
10 define KernelPackage
/hwmon-core
11 SUBMENU
:=$(HWMON_MENU
)
12 TITLE
:=Hardware monitoring support
15 CONFIG_HWMON_DEBUG_CHIP
=n
17 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.ko
20 define KernelPackage
/hwmon-core
/description
21 Kernel modules for hardware monitoring
24 $(eval
$(call KernelPackage
,hwmon-core
))
27 define AddDepends
/hwmon
28 SUBMENU
:=$(HWMON_MENU
)
29 DEPENDS
:=+kmod-hwmon-core
$(1)
32 define KernelPackage
/hwmon-ad7418
33 TITLE
:=AD741x monitoring support
34 KCONFIG
:=CONFIG_SENSORS_AD7418
35 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ad7418.ko
36 AUTOLOAD
:=$(call AutoLoad
,60,ad7418 ad7418
)
37 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
40 define KernelPackage
/hwmon-ad7418
/description
41 Kernel module for Analog Devices AD7416
, AD7417 and AD7418 temperature monitor chip
44 $(eval
$(call KernelPackage
,hwmon-ad7418
))
46 define KernelPackage
/hwmon-adt7410
47 TITLE
:=ADT7410 monitoring support
49 CONFIG_SENSORS_ADT7X10 \
50 CONFIG_SENSORS_ADT7410
52 $(LINUX_DIR
)/drivers
/hwmon
/adt7x10.ko \
53 $(LINUX_DIR
)/drivers
/hwmon
/adt7410.ko
54 AUTOLOAD
:=$(call AutoLoad
,60,adt7x10 adt7410
)
55 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
58 define KernelPackage
/hwmon-adt7410
/description
59 Kernel module for ADT7410
/7420 I2C thermal monitor chip
62 $(eval
$(call KernelPackage
,hwmon-adt7410
))
65 define KernelPackage
/hwmon-adt7475
66 TITLE
:=ADT7473
/7475/7476/7490 monitoring support
67 KCONFIG
:=CONFIG_SENSORS_ADT7475
68 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/adt7475.ko
69 AUTOLOAD
:=$(call AutoProbe
,adt7475
)
70 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
73 define KernelPackage
/hwmon-adt7475
/description
74 Kernel module for ADT7473
/7475/7476/7490 thermal monitor chip
77 $(eval
$(call KernelPackage
,hwmon-adt7475
))
80 define KernelPackage
/hwmon-dme1737
81 TITLE
:=SMSC DME1737 and compatible monitoring support
82 KCONFIG
:=CONFIG_SENSORS_DME1737
84 $(LINUX_DIR
)/drivers
/hwmon
/dme1737.ko
85 AUTOLOAD
:=$(call AutoProbe
,dme1737
)
86 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
89 define KernelPackage
/hwmon-dme1737
/description
90 SMSC DME1737
, SCH3112
, SCH3114
, SCH3116
, SCH5027 monitoring support
93 $(eval
$(call KernelPackage
,hwmon-dme1737
))
96 define KernelPackage
/hwmon-drivetemp
97 TITLE
:=Hard disk drives with temperature sensor
98 KCONFIG
:=CONFIG_SENSORS_DRIVETEMP
99 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/drivetemp.ko
100 AUTOLOAD
:=$(call AutoLoad
,60,drivetemp
)
101 $(call AddDepends
/hwmon
,+kmod-ata-core
+kmod-scsi-core
)
104 define KernelPackage
/hwmon-drivetemp
/description
105 Kernel module for Hard disk drives with temperature sensor
108 $(eval
$(call KernelPackage
,hwmon-drivetemp
))
111 define KernelPackage
/hwmon-gpiofan
112 TITLE
:=Generic GPIO FAN support
113 KCONFIG
:=CONFIG_SENSORS_GPIO_FAN
114 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/gpio-fan.ko
115 AUTOLOAD
:=$(call AutoLoad
,60,gpio-fan
)
116 $(call AddDepends
/hwmon
,+kmod-i2c-core
+PACKAGE_kmod-thermal
:kmod-thermal
)
119 define KernelPackage
/hwmon-gpiofan
/description
120 Kernel module for GPIO controlled FANs
123 $(eval
$(call KernelPackage
,hwmon-gpiofan
))
126 define KernelPackage
/hwmon-f71882fg
127 TITLE
:=F71882FG compatible monitoring support
128 KCONFIG
:=CONFIG_SENSORS_F71882FG
129 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/f71882fg.ko
130 AUTOLOAD
:=$(call AutoProbe
,f71882fg
)
131 $(call AddDepends
/hwmon
,@TARGET_x86
)
134 define KernelPackage
/hwmon-f71882fg
/description
135 Kernel module for hardware monitoring via many Fintek Super-IO chips.
138 $(eval
$(call KernelPackage
,hwmon-f71882fg
))
141 define KernelPackage
/hwmon-g762
142 TITLE
:=G762
/G763 fan speed PWM controller support
143 KCONFIG
:=CONFIG_SENSORS_G762
144 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/g762.ko
145 AUTOLOAD
:=$(call AutoProbe
,g762
)
146 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
149 define KernelPackage
/hwmon-g762
/description
150 Kernel module for Global Mixed-mode Technology Inc G762 and G763 fan speed PWM controller chips.
153 $(eval
$(call KernelPackage
,hwmon-g762
))
156 define KernelPackage
/hwmon-ina209
157 TITLE
:=INA209 monitoring support
158 KCONFIG
:=CONFIG_SENSORS_INA209
159 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ina209.ko
160 AUTOLOAD
:=$(call AutoProbe
,ina209
)
161 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
164 define KernelPackage
/hwmon-ina209
/description
165 Kernel module for ina209 dc power monitor chips
168 $(eval
$(call KernelPackage
,hwmon-ina209
))
171 define KernelPackage
/hwmon-ina2xx
172 TITLE
:=INA2XX monitoring support
173 KCONFIG
:=CONFIG_SENSORS_INA2XX
174 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ina2xx.ko
175 AUTOLOAD
:=$(call AutoProbe
,ina2xx
)
176 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-regmap-i2c
)
179 define KernelPackage
/hwmon-ina2xx
/description
180 Kernel module for ina2xx dc current monitor chips
183 $(eval
$(call KernelPackage
,hwmon-ina2xx
))
186 define KernelPackage
/hwmon-it87
187 TITLE
:=IT87 monitoring support
188 KCONFIG
:=CONFIG_SENSORS_IT87
189 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/it87.ko
190 AUTOLOAD
:=$(call AutoProbe
,it87
)
191 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
+PACKAGE_kmod-thermal
:kmod-thermal
)
194 define KernelPackage
/hwmon-it87
/description
195 Kernel module for it87 thermal and voltage monitor chip
198 $(eval
$(call KernelPackage
,hwmon-it87
))
201 define KernelPackage
/hwmon-lm63
202 TITLE
:=LM63
/64 monitoring support
203 KCONFIG
:=CONFIG_SENSORS_LM63
204 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm63.ko
205 AUTOLOAD
:=$(call AutoProbe
,lm63
)
206 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-regmap-i2c
)
209 define KernelPackage
/hwmon-lm63
/description
210 Kernel module for lm63 and lm64 thermal monitor chip
213 $(eval
$(call KernelPackage
,hwmon-lm63
))
216 define KernelPackage
/hwmon-lm75
217 TITLE
:=LM75 monitoring support
218 KCONFIG
:=CONFIG_SENSORS_LM75
219 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm75.ko
220 AUTOLOAD
:=$(call AutoProbe
,lm75
)
221 $(call AddDepends
/hwmon
,+kmod-i2c-core
+PACKAGE_kmod-thermal
:kmod-thermal
+kmod-regmap-i2c
)
224 define KernelPackage
/hwmon-lm75
/description
225 Kernel module for lm75 thermal monitor chip
228 $(eval
$(call KernelPackage
,hwmon-lm75
))
231 define KernelPackage
/hwmon-lm77
232 TITLE
:=LM77 monitoring support
233 KCONFIG
:=CONFIG_SENSORS_LM77
234 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm77.ko
235 AUTOLOAD
:=$(call AutoProbe
,lm77
)
236 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
239 define KernelPackage
/hwmon-lm77
/description
240 Kernel module for LM77 thermal monitor chip
243 $(eval
$(call KernelPackage
,hwmon-lm77
))
246 define KernelPackage
/hwmon-lm85
247 TITLE
:=LM85 monitoring support
248 KCONFIG
:=CONFIG_SENSORS_LM85
249 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm85.ko
250 AUTOLOAD
:=$(call AutoProbe
,lm85
)
251 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
254 define KernelPackage
/hwmon-lm85
/description
255 Kernel module for LM85 thermal monitor chip
258 $(eval
$(call KernelPackage
,hwmon-lm85
))
261 define KernelPackage
/hwmon-lm90
262 TITLE
:=LM90 monitoring support
263 KCONFIG
:=CONFIG_SENSORS_LM90
264 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm90.ko
265 AUTOLOAD
:=$(call AutoProbe
,lm90
)
266 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
269 define KernelPackage
/hwmon-lm90
/description
270 Kernel module for LM90 thermal monitor chip
273 $(eval
$(call KernelPackage
,hwmon-lm90
))
276 define KernelPackage
/hwmon-lm92
277 TITLE
:=LM92 monitoring support
278 KCONFIG
:=CONFIG_SENSORS_LM92
279 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm92.ko
280 AUTOLOAD
:=$(call AutoProbe
,lm92
)
281 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
284 define KernelPackage
/hwmon-lm92
/description
285 Kernel module for LM92 thermal monitor chip
288 $(eval
$(call KernelPackage
,hwmon-lm92
))
291 define KernelPackage
/hwmon-lm95241
292 TITLE
:=LM95241 monitoring support
293 KCONFIG
:=CONFIG_SENSORS_LM95241
294 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm95241.ko
295 AUTOLOAD
:=$(call AutoProbe
,lm95241
)
296 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
299 define KernelPackage
/hwmon-lm95241
/description
300 Kernel module for LM95241 thermal monitor chip
303 $(eval
$(call KernelPackage
,hwmon-lm95241
))
306 define KernelPackage
/hwmon-ltc4151
307 TITLE
:=LTC4151 monitoring support
308 KCONFIG
:=CONFIG_SENSORS_LTC4151
309 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ltc4151.ko
310 AUTOLOAD
:=$(call AutoProbe
,ltc4151
)
311 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
314 define KernelPackage
/hwmon-ltc4151
/description
315 Kernel module for Linear Technology LTC4151 current and voltage monitor chip
318 $(eval
$(call KernelPackage
,hwmon-ltc4151
))
321 define KernelPackage
/hwmon-mcp3021
322 TITLE
:=MCP3021
/3221 monitoring support
323 KCONFIG
:=CONFIG_SENSORS_MCP3021
324 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/mcp3021.ko
325 AUTOLOAD
:=$(call AutoProbe
,mcp3021
)
326 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
329 define KernelPackage
/hwmon-mcp3021
/description
330 Kernel module for Linear Technology MCP3021
/3221 current and voltage monitor chip
333 $(eval
$(call KernelPackage
,hwmon-mcp3021
))
336 define KernelPackage
/hwmon-nct6775
337 TITLE
:=NCT6106D
/6775F
/6776F
/6779D
/6791D
/6792D
/6793D and compatibles monitoring support
338 KCONFIG
:=CONFIG_SENSORS_NCT6775
339 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/nct6775.ko
340 AUTOLOAD
:=$(call AutoProbe
,nct6775
)
341 $(call AddDepends
/hwmon
,@PCI_SUPPORT @TARGET_x86
+kmod-hwmon-vid
)
344 define KernelPackage
/hwmon-nct6775
/description
345 Kernel module for NCT6106D
/6775F
/6776F
/6779D
/6791D
/6792D
/6793D thermal monitor chip
348 $(eval
$(call KernelPackage
,hwmon-nct6775
))
351 define KernelPackage
/hwmon-nct7802
352 TITLE
:=NCT7802Y and compatibles monitoring support
353 KCONFIG
:=CONFIG_SENSORS_NCT7802
354 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/nct7802.ko
355 AUTOLOAD
:=$(call AutoProbe
,nct7802
)
356 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
359 define KernelPackage
/hwmon-nct7802
/description
360 Kernel module for NCT7802Y thermal monitor chip
363 $(eval
$(call KernelPackage
,hwmon-nct7802
))
366 define KernelPackage
/hwmon-pc87360
367 TITLE
:=PC87360 monitoring support
368 KCONFIG
:=CONFIG_SENSORS_PC87360
369 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.ko
370 AUTOLOAD
:=$(call AutoProbe
,pc87360
)
371 $(call AddDepends
/hwmon
,@TARGET_x86
+kmod-hwmon-vid
)
374 define KernelPackage
/hwmon-pc87360
/description
375 Kernel modules for PC87360 chips
378 $(eval
$(call KernelPackage
,hwmon-pc87360
))
381 define KernelPackage
/pmbus-core
383 KCONFIG
:= CONFIG_PMBUS
384 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pmbus
/pmbus_core.ko
385 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
388 define KernelPackage
/pmbus-core
/description
389 Kernel modules for Power Management Bus
392 $(eval
$(call KernelPackage
,pmbus-core
))
395 define KernelPackage
/pmbus-zl6100
396 TITLE
:=Intersil
/ Zilker Labs ZL6100 hardware monitoring
397 KCONFIG
:=CONFIG_SENSORS_ZL6100
398 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pmbus
/zl6100.ko
399 AUTOLOAD
:=$(call AutoProbe
,zl6100
)
400 $(call AddDepends
/hwmon
, +kmod-pmbus-core
)
403 define KernelPackage
/pmbus-zl6100
/description
404 Kernel module for Intersil
/ Zilker Labs ZL6100 and
405 compatible digital DC-DC controllers
408 $(eval
$(call KernelPackage
,pmbus-zl6100
))
411 define KernelPackage
/hwmon-pwmfan
412 TITLE
:=Generic PWM FAN support
413 KCONFIG
:=CONFIG_SENSORS_PWM_FAN
414 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pwm-fan.ko
415 AUTOLOAD
:=$(call AutoLoad
,60,pwm-fan
)
416 $(call AddDepends
/hwmon
, +PACKAGE_kmod-thermal
:kmod-thermal
)
419 define KernelPackage
/hwmon-pwmfan
/description
420 Kernel module for PWM controlled FANs
423 $(eval
$(call KernelPackage
,hwmon-pwmfan
))
426 define KernelPackage
/hwmon-sch5627
427 TITLE
:=SMSC SCH5627 monitoring support
429 CONFIG_SENSORS_SCH5627 \
430 CONFIG_WATCHDOG_CORE
=y
432 $(LINUX_DIR
)/drivers
/hwmon
/sch5627.ko \
433 $(LINUX_DIR
)/drivers
/hwmon
/sch56xx-common.ko
434 AUTOLOAD
:=$(call AutoProbe
,sch5627
)
435 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
438 define KernelPackage
/hwmon-sch5627
/description
439 SMSC SCH5627 Super I
/O chips
include complete hardware monitoring
442 $(eval
$(call KernelPackage
,hwmon-sch5627
))
445 define KernelPackage
/hwmon-sht21
446 TITLE
:=Sensiron SHT21 and compat. monitoring support
447 KCONFIG
:=CONFIG_SENSORS_SHT21
448 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/sht21.ko
449 AUTOLOAD
:=$(call AutoProbe
,sht21
)
450 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
453 define KernelPackage
/hwmon-sht21
/description
454 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
457 $(eval
$(call KernelPackage
,hwmon-sht21
))
460 define KernelPackage
/hwmon-tmp102
461 TITLE
:=Texas Instruments TMP102 monitoring support
462 KCONFIG
:=CONFIG_SENSORS_TMP102
463 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/tmp102.ko
464 AUTOLOAD
:=$(call AutoProbe
,tmp102
)
465 $(call AddDepends
/hwmon
,+kmod-i2c-core
+PACKAGE_kmod-thermal
:kmod-thermal
+kmod-regmap-i2c
)
468 define KernelPackage
/hwmon-tmp102
/description
469 Kernel module for Texas Instruments TMP102 temperature sensors chip
472 $(eval
$(call KernelPackage
,hwmon-tmp102
))
475 define KernelPackage
/hwmon-tmp103
476 TITLE
:=Texas Instruments TMP103 monitoring support
477 KCONFIG
:=CONFIG_SENSORS_TMP103
478 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/tmp103.ko
479 AUTOLOAD
:=$(call AutoProbe
,tmp103
)
480 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-regmap-i2c
)
483 define KernelPackage
/hwmon-tmp103
/description
484 Kernel module for Texas Instruments TMP103 temperature sensors chip
487 $(eval
$(call KernelPackage
,hwmon-tmp103
))
490 define KernelPackage
/hwmon-tmp421
491 TITLE
:=TI TMP421 and compatible monitoring support
492 KCONFIG
:=CONFIG_SENSORS_TMP421
493 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/tmp421.ko
494 AUTOLOAD
:=$(call AutoLoad
,60,tmp421
)
495 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
498 define KernelPackage
/hwmon-tmp421
/description
499 Kernel module for the Texas Instruments TMP421 and compatible chips.
502 $(eval
$(call KernelPackage
,hwmon-tmp421
))
505 define KernelPackage
/hwmon-vid
506 TITLE
:=VID
/VRM
/VRD voltage conversion module.
507 KCONFIG
:=CONFIG_HWMON_VID
508 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.ko
509 AUTOLOAD
:=$(call AutoLoad
,41,hwmon-vid
)
510 $(call AddDepends
/hwmon
,)
513 define KernelPackage
/hwmon-vid
/description
514 VID
/VRM
/VRD voltage conversion module for hardware monitoring
517 $(eval
$(call KernelPackage
,hwmon-vid
))
520 define KernelPackage
/hwmon-w83627ehf
521 TITLE
:=Winbond W83627EHF
/EHG
/DHG
/UHG
, W83667HG monitoring support
522 KCONFIG
:=CONFIG_SENSORS_W83627EHF
523 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/w83627ehf.ko
524 AUTOLOAD
:=$(call AutoProbe
,w83627ehf
)
525 $(call AddDepends
/hwmon
,@TARGET_x86
+kmod-hwmon-vid
)
528 define KernelPackage
/hwmon-w83627ehf
/description
529 Kernel module for Winbond W83627EHF
/EHG
/DHG
/UHG and W83667HG thermal monitor chip
530 Support for NCT6775F and NCT6776F has been removed from this driver in favour of
531 using the nct6775 driver to handle those chips.
534 $(eval
$(call KernelPackage
,hwmon-w83627ehf
))
537 define KernelPackage
/hwmon-w83627hf
538 TITLE
:=Winbond W83627HF monitoring support
539 KCONFIG
:=CONFIG_SENSORS_W83627HF
540 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/w83627hf.ko
541 AUTOLOAD
:=$(call AutoLoad
,50,w83627hf
)
542 $(call AddDepends
/hwmon
,@TARGET_x86
+kmod-hwmon-vid
)
545 define KernelPackage
/hwmon-w83627hf
/description
546 Kernel module for the Winbond W83627HF chips.
549 $(eval
$(call KernelPackage
,hwmon-w83627hf
))
552 define KernelPackage
/hwmon-w83793
553 TITLE
:=Winbond W83793G
/R monitoring support
554 KCONFIG
:=CONFIG_SENSORS_W83793
555 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/w83793.ko
556 AUTOLOAD
:=$(call AutoProbe
,w83793
)
557 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
560 define KernelPackage
/hwmon-w83793
/description
561 Kernel module for the Winbond W83793G and W83793R chips.
564 $(eval
$(call KernelPackage
,hwmon-w83793
))
567 define KernelPackage
/hwmon-adcxx
568 TITLE
:=ADCxx monitoring support
569 KCONFIG
:=CONFIG_SENSORS_ADCXX
570 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/adcxx.ko
571 AUTOLOAD
:=$(call AutoLoad
,60,adcxx
)
572 $(call AddDepends
/hwmon
,)
575 define KernelPackage
/hwmon-adcxx
/description
576 Kernel module for the National Semiconductor
577 ADC
<bb
><c
>S
<sss
> chip family
, where
578 * bb is the resolution in number of bits
(8, 10, 12)
579 * c is the number of channels
(1, 2, 4, 8)
580 * sss is the maximum conversion speed
(021 for
200 kSPS
, 051 for
500
581 kSPS and
101 for
1 MSPS
)
583 Examples
: ADC081S101
, ADC124S501
, ...
586 $(eval
$(call KernelPackage
,hwmon-adcxx
))