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-ads1015
33 TITLE
:=Texas Instruments ADS1015
34 KCONFIG
:= CONFIG_SENSORS_ADS1015
35 FILES
:= $(LINUX_DIR
)/drivers
/hwmon
/ads1015.ko
36 AUTOLOAD
:=$(call AutoLoad
,60,ads1015
)
37 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
40 define KernelPackage
/hwmon-ads1015
/description
41 Kernel module for Texas Instruments ADS1015 Analog-to-Digital converter
44 $(eval
$(call KernelPackage
,hwmon-ads1015
))
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-drivetemp
81 TITLE
:=Hard disk drives with temperature sensor
82 KCONFIG
:=CONFIG_SENSORS_DRIVETEMP
83 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/drivetemp.ko
84 AUTOLOAD
:=$(call AutoLoad
,60,drivetemp
)
85 $(call AddDepends
/hwmon
,+kmod-ata-core
+kmod-scsi-core
)
88 define KernelPackage
/hwmon-drivetemp
/description
89 Kernel module for Hard disk drives with temperature sensor
92 $(eval
$(call KernelPackage
,hwmon-drivetemp
))
95 define KernelPackage
/hwmon-gpiofan
96 TITLE
:=Generic GPIO FAN support
97 KCONFIG
:=CONFIG_SENSORS_GPIO_FAN
98 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/gpio-fan.ko
99 AUTOLOAD
:=$(call AutoLoad
,60,gpio-fan
)
100 $(call AddDepends
/hwmon
,+kmod-i2c-core
+PACKAGE_kmod-thermal
:kmod-thermal
)
103 define KernelPackage
/hwmon-gpiofan
/description
104 Kernel module for GPIO controlled FANs
107 $(eval
$(call KernelPackage
,hwmon-gpiofan
))
110 define KernelPackage
/hwmon-f71882fg
111 TITLE
:=F71882FG compatible monitoring support
112 KCONFIG
:=CONFIG_SENSORS_F71882FG
113 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/f71882fg.ko
114 AUTOLOAD
:=$(call AutoProbe
,f71882fg
)
115 $(call AddDepends
/hwmon
,@TARGET_x86
)
118 define KernelPackage
/hwmon-f71882fg
/description
119 Kernel module for hardware monitoring via many Fintek Super-IO chips.
122 $(eval
$(call KernelPackage
,hwmon-f71882fg
))
125 define KernelPackage
/hwmon-ina209
126 TITLE
:=INA209 monitoring support
127 KCONFIG
:=CONFIG_SENSORS_INA209
128 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ina209.ko
129 AUTOLOAD
:=$(call AutoProbe
,ina209
)
130 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
133 define KernelPackage
/hwmon-ina209
/description
134 Kernel module for ina209 dc power monitor chips
137 $(eval
$(call KernelPackage
,hwmon-ina209
))
140 define KernelPackage
/hwmon-ina2xx
141 TITLE
:=INA2XX monitoring support
142 KCONFIG
:=CONFIG_SENSORS_INA2XX
143 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ina2xx.ko
144 AUTOLOAD
:=$(call AutoProbe
,ina2xx
)
145 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-regmap-i2c
)
148 define KernelPackage
/hwmon-ina2xx
/description
149 Kernel module for ina2xx dc current monitor chips
152 $(eval
$(call KernelPackage
,hwmon-ina2xx
))
155 define KernelPackage
/hwmon-it87
156 TITLE
:=IT87 monitoring support
157 KCONFIG
:=CONFIG_SENSORS_IT87
158 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/it87.ko
159 AUTOLOAD
:=$(call AutoProbe
,it87
)
160 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
+PACKAGE_kmod-thermal
:kmod-thermal
)
163 define KernelPackage
/hwmon-it87
/description
164 Kernel module for it87 thermal and voltage monitor chip
167 $(eval
$(call KernelPackage
,hwmon-it87
))
170 define KernelPackage
/hwmon-lm63
171 TITLE
:=LM63
/64 monitoring support
172 KCONFIG
:=CONFIG_SENSORS_LM63
173 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm63.ko
174 AUTOLOAD
:=$(call AutoProbe
,lm63
)
175 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-regmap-i2c
)
178 define KernelPackage
/hwmon-lm63
/description
179 Kernel module for lm63 and lm64 thermal monitor chip
182 $(eval
$(call KernelPackage
,hwmon-lm63
))
185 define KernelPackage
/hwmon-lm75
186 TITLE
:=LM75 monitoring support
187 KCONFIG
:=CONFIG_SENSORS_LM75
188 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm75.ko
189 AUTOLOAD
:=$(call AutoProbe
,lm75
)
190 $(call AddDepends
/hwmon
,+kmod-i2c-core
+PACKAGE_kmod-thermal
:kmod-thermal
+kmod-regmap-i2c
)
193 define KernelPackage
/hwmon-lm75
/description
194 Kernel module for lm75 thermal monitor chip
197 $(eval
$(call KernelPackage
,hwmon-lm75
))
200 define KernelPackage
/hwmon-lm77
201 TITLE
:=LM77 monitoring support
202 KCONFIG
:=CONFIG_SENSORS_LM77
203 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm77.ko
204 AUTOLOAD
:=$(call AutoProbe
,lm77
)
205 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
208 define KernelPackage
/hwmon-lm77
/description
209 Kernel module for LM77 thermal monitor chip
212 $(eval
$(call KernelPackage
,hwmon-lm77
))
215 define KernelPackage
/hwmon-lm85
216 TITLE
:=LM85 monitoring support
217 KCONFIG
:=CONFIG_SENSORS_LM85
218 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm85.ko
219 AUTOLOAD
:=$(call AutoProbe
,lm85
)
220 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
223 define KernelPackage
/hwmon-lm85
/description
224 Kernel module for LM85 thermal monitor chip
227 $(eval
$(call KernelPackage
,hwmon-lm85
))
230 define KernelPackage
/hwmon-lm90
231 TITLE
:=LM90 monitoring support
232 KCONFIG
:=CONFIG_SENSORS_LM90
233 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm90.ko
234 AUTOLOAD
:=$(call AutoProbe
,lm90
)
235 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
238 define KernelPackage
/hwmon-lm90
/description
239 Kernel module for LM90 thermal monitor chip
242 $(eval
$(call KernelPackage
,hwmon-lm90
))
245 define KernelPackage
/hwmon-lm92
246 TITLE
:=LM92 monitoring support
247 KCONFIG
:=CONFIG_SENSORS_LM92
248 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm92.ko
249 AUTOLOAD
:=$(call AutoProbe
,lm92
)
250 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
253 define KernelPackage
/hwmon-lm92
/description
254 Kernel module for LM92 thermal monitor chip
257 $(eval
$(call KernelPackage
,hwmon-lm92
))
260 define KernelPackage
/hwmon-lm95241
261 TITLE
:=LM95241 monitoring support
262 KCONFIG
:=CONFIG_SENSORS_LM95241
263 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/lm95241.ko
264 AUTOLOAD
:=$(call AutoProbe
,lm95241
)
265 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
268 define KernelPackage
/hwmon-lm95241
/description
269 Kernel module for LM95241 thermal monitor chip
272 $(eval
$(call KernelPackage
,hwmon-lm95241
))
275 define KernelPackage
/hwmon-ltc4151
276 TITLE
:=LTC4151 monitoring support
277 KCONFIG
:=CONFIG_SENSORS_LTC4151
278 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/ltc4151.ko
279 AUTOLOAD
:=$(call AutoProbe
,ltc4151
)
280 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
283 define KernelPackage
/hwmon-ltc4151
/description
284 Kernel module for Linear Technology LTC4151 current and voltage monitor chip
287 $(eval
$(call KernelPackage
,hwmon-ltc4151
))
290 define KernelPackage
/hwmon-mcp3021
291 TITLE
:=MCP3021
/3221 monitoring support
292 KCONFIG
:=CONFIG_SENSORS_MCP3021
293 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/mcp3021.ko
294 AUTOLOAD
:=$(call AutoProbe
,mcp3021
)
295 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
298 define KernelPackage
/hwmon-mcp3021
/description
299 Kernel module for Linear Technology MCP3021
/3221 current and voltage monitor chip
302 $(eval
$(call KernelPackage
,hwmon-mcp3021
))
305 define KernelPackage
/hwmon-nct6775
306 TITLE
:=NCT6106D
/6775F
/6776F
/6779D
/6791D
/6792D
/6793D and compatibles monitoring support
307 KCONFIG
:=CONFIG_SENSORS_NCT6775
308 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/nct6775.ko
309 AUTOLOAD
:=$(call AutoProbe
,nct6775
)
310 $(call AddDepends
/hwmon
,@PCI_SUPPORT @TARGET_x86
+kmod-hwmon-vid
)
313 define KernelPackage
/hwmon-nct6775
/description
314 Kernel module for NCT6106D
/6775F
/6776F
/6779D
/6791D
/6792D
/6793D thermal monitor chip
317 $(eval
$(call KernelPackage
,hwmon-nct6775
))
320 define KernelPackage
/hwmon-pc87360
321 TITLE
:=PC87360 monitoring support
322 KCONFIG
:=CONFIG_SENSORS_PC87360
323 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.ko
324 AUTOLOAD
:=$(call AutoProbe
,pc87360
)
325 $(call AddDepends
/hwmon
,@TARGET_x86
+kmod-hwmon-vid
)
328 define KernelPackage
/hwmon-pc87360
/description
329 Kernel modules for PC87360 chips
332 $(eval
$(call KernelPackage
,hwmon-pc87360
))
335 define KernelPackage
/pmbus-core
337 KCONFIG
:= CONFIG_PMBUS
338 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pmbus
/pmbus_core.ko
339 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
342 define KernelPackage
/pmbus-core
/description
343 Kernel modules for Power Management Bus
346 $(eval
$(call KernelPackage
,pmbus-core
))
349 define KernelPackage
/pmbus-zl6100
350 TITLE
:=Intersil
/ Zilker Labs ZL6100 hardware monitoring
351 KCONFIG
:=CONFIG_SENSORS_ZL6100
352 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pmbus
/zl6100.ko
353 AUTOLOAD
:=$(call AutoProbe
,zl6100
)
354 $(call AddDepends
/hwmon
, +kmod-pmbus-core
)
357 define KernelPackage
/pmbus-zl6100
/description
358 Kernel module for Intersil
/ Zilker Labs ZL6100 and
359 compatible digital DC-DC controllers
362 $(eval
$(call KernelPackage
,pmbus-zl6100
))
365 define KernelPackage
/hwmon-pwmfan
366 TITLE
:=Generic PWM FAN support
367 KCONFIG
:=CONFIG_SENSORS_PWM_FAN
368 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pwm-fan.ko
369 AUTOLOAD
:=$(call AutoLoad
,60,pwm-fan
)
370 $(call AddDepends
/hwmon
, +PACKAGE_kmod-thermal
:kmod-thermal
)
373 define KernelPackage
/hwmon-pwmfan
/description
374 Kernel module for PWM controlled FANs
377 $(eval
$(call KernelPackage
,hwmon-pwmfan
))
380 define KernelPackage
/hwmon-sch5627
381 TITLE
:=SMSC SCH5627 monitoring support
382 KCONFIG
:=CONFIG_SENSORS_SCH5627
384 $(LINUX_DIR
)/drivers
/hwmon
/sch5627.ko \
385 $(LINUX_DIR
)/drivers
/hwmon
/sch56xx-common.ko
386 AUTOLOAD
:=$(call AutoProbe
,sch5627
)
387 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
390 define KernelPackage
/hwmon-sch5627
/description
391 SMSC SCH5627 Super I
/O chips
include complete hardware monitoring
394 $(eval
$(call KernelPackage
,hwmon-sch5627
))
397 define KernelPackage
/hwmon-sht21
398 TITLE
:=Sensiron SHT21 and compat. monitoring support
399 KCONFIG
:=CONFIG_SENSORS_SHT21
400 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/sht21.ko
401 AUTOLOAD
:=$(call AutoProbe
,sht21
)
402 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
405 define KernelPackage
/hwmon-sht21
/description
406 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
409 $(eval
$(call KernelPackage
,hwmon-sht21
))
412 define KernelPackage
/hwmon-tmp102
413 TITLE
:=Texas Instruments TMP102 monitoring support
414 KCONFIG
:=CONFIG_SENSORS_TMP102
415 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/tmp102.ko
416 AUTOLOAD
:=$(call AutoProbe
,tmp102
)
417 $(call AddDepends
/hwmon
,+kmod-i2c-core
+PACKAGE_kmod-thermal
:kmod-thermal
+kmod-regmap-i2c
)
420 define KernelPackage
/hwmon-tmp102
/description
421 Kernel module for Texas Instruments TMP102 temperature sensors chip
424 $(eval
$(call KernelPackage
,hwmon-tmp102
))
427 define KernelPackage
/hwmon-tmp103
428 TITLE
:=Texas Instruments TMP103 monitoring support
429 KCONFIG
:=CONFIG_SENSORS_TMP103
430 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/tmp103.ko
431 AUTOLOAD
:=$(call AutoProbe
,tmp103
)
432 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-regmap-i2c
)
435 define KernelPackage
/hwmon-tmp103
/description
436 Kernel module for Texas Instruments TMP103 temperature sensors chip
439 $(eval
$(call KernelPackage
,hwmon-tmp103
))
442 define KernelPackage
/hwmon-tmp421
443 TITLE
:=TI TMP421 and compatible monitoring support
444 KCONFIG
:=CONFIG_SENSORS_TMP421
445 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/tmp421.ko
446 AUTOLOAD
:=$(call AutoLoad
,60,tmp421
)
447 $(call AddDepends
/hwmon
,+kmod-i2c-core
)
450 define KernelPackage
/hwmon-tmp421
/description
451 Kernel module for the Texas Instruments TMP421 and compatible chips.
454 $(eval
$(call KernelPackage
,hwmon-tmp421
))
457 define KernelPackage
/hwmon-vid
458 TITLE
:=VID
/VRM
/VRD voltage conversion module.
459 KCONFIG
:=CONFIG_HWMON_VID
460 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.ko
461 AUTOLOAD
:=$(call AutoLoad
,41,hwmon-vid
)
462 $(call AddDepends
/hwmon
,)
465 define KernelPackage
/hwmon-vid
/description
466 VID
/VRM
/VRD voltage conversion module for hardware monitoring
469 $(eval
$(call KernelPackage
,hwmon-vid
))
472 define KernelPackage
/hwmon-w83627ehf
473 TITLE
:=Winbond W83627EHF
/EHG
/DHG
/UHG
, W83667HG monitoring support
474 KCONFIG
:=CONFIG_SENSORS_W83627EHF
475 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/w83627ehf.ko
476 AUTOLOAD
:=$(call AutoProbe
,w83627ehf
)
477 $(call AddDepends
/hwmon
,@TARGET_x86
+kmod-hwmon-vid
)
480 define KernelPackage
/hwmon-w83627ehf
/description
481 Kernel module for Winbond W83627EHF
/EHG
/DHG
/UHG and W83667HG thermal monitor chip
482 Support for NCT6775F and NCT6776F has been removed from this driver in favour of
483 using the nct6775 driver to handle those chips.
486 $(eval
$(call KernelPackage
,hwmon-w83627ehf
))
489 define KernelPackage
/hwmon-w83627hf
490 TITLE
:=Winbond W83627HF monitoring support
491 KCONFIG
:=CONFIG_SENSORS_W83627HF
492 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/w83627hf.ko
493 AUTOLOAD
:=$(call AutoLoad
,50,w83627hf
)
494 $(call AddDepends
/hwmon
,@TARGET_x86
+kmod-hwmon-vid
)
497 define KernelPackage
/hwmon-w83627hf
/description
498 Kernel module for the Winbond W83627HF chips.
501 $(eval
$(call KernelPackage
,hwmon-w83627hf
))
504 define KernelPackage
/hwmon-w83793
505 TITLE
:=Winbond W83793G
/R monitoring support
506 KCONFIG
:=CONFIG_SENSORS_W83793
507 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/w83793.ko
508 AUTOLOAD
:=$(call AutoProbe
,w83793
)
509 $(call AddDepends
/hwmon
,+kmod-i2c-core
+kmod-hwmon-vid
)
512 define KernelPackage
/hwmon-w83793
/description
513 Kernel module for the Winbond W83793G and W83793R chips.
516 $(eval
$(call KernelPackage
,hwmon-w83793
))
519 define KernelPackage
/hwmon-adcxx
520 TITLE
:=ADCxx monitoring support
521 KCONFIG
:=CONFIG_SENSORS_ADCXX
522 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/adcxx.ko
523 AUTOLOAD
:=$(call AutoLoad
,60,adcxx
)
524 $(call AddDepends
/hwmon
,)
527 define KernelPackage
/hwmon-adcxx
/description
528 Kernel module for the National Semiconductor
529 ADC
<bb
><c
>S
<sss
> chip family
, where
530 * bb is the resolution in number of bits
(8, 10, 12)
531 * c is the number of channels
(1, 2, 4, 8)
532 * sss is the maximum conversion speed
(021 for
200 kSPS
, 051 for
500
533 kSPS and
101 for
1 MSPS
)
535 Examples
: ADC081S101
, ADC124S501
, ...
538 $(eval
$(call KernelPackage
,hwmon-adcxx
))