kernel: set WATCHDOG_CORE dependency in kmod-hwmon-sch5627
[openwrt/openwrt.git] / package / kernel / linux / modules / hwmon.mk
1 #
2 # Copyright (C) 2006-2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 HWMON_MENU:=Hardware Monitoring Support
9
10 define KernelPackage/hwmon-core
11 SUBMENU:=$(HWMON_MENU)
12 TITLE:=Hardware monitoring support
13 KCONFIG:= \
14 CONFIG_HWMON \
15 CONFIG_HWMON_DEBUG_CHIP=n
16 FILES:= \
17 $(LINUX_DIR)/drivers/hwmon/hwmon.ko
18 endef
19
20 define KernelPackage/hwmon-core/description
21 Kernel modules for hardware monitoring
22 endef
23
24 $(eval $(call KernelPackage,hwmon-core))
25
26
27 define AddDepends/hwmon
28 SUBMENU:=$(HWMON_MENU)
29 DEPENDS:=+kmod-hwmon-core $(1)
30 endef
31
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)
38 endef
39
40 define KernelPackage/hwmon-ad7418/description
41 Kernel module for Analog Devices AD7416, AD7417 and AD7418 temperature monitor chip
42 endef
43
44 $(eval $(call KernelPackage,hwmon-ad7418))
45
46 define KernelPackage/hwmon-ads1015
47 TITLE:=Texas Instruments ADS1015
48 KCONFIG:= CONFIG_SENSORS_ADS1015
49 FILES:= $(LINUX_DIR)/drivers/hwmon/ads1015.ko
50 AUTOLOAD:=$(call AutoLoad,60,ads1015)
51 $(call AddDepends/hwmon,+kmod-i2c-core)
52 endef
53
54 define KernelPackage/hwmon-ads1015/description
55 Kernel module for Texas Instruments ADS1015 Analog-to-Digital converter
56 endef
57
58 $(eval $(call KernelPackage,hwmon-ads1015))
59
60 define KernelPackage/hwmon-adt7410
61 TITLE:=ADT7410 monitoring support
62 KCONFIG:= \
63 CONFIG_SENSORS_ADT7X10 \
64 CONFIG_SENSORS_ADT7410
65 FILES:= \
66 $(LINUX_DIR)/drivers/hwmon/adt7x10.ko \
67 $(LINUX_DIR)/drivers/hwmon/adt7410.ko
68 AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410)
69 $(call AddDepends/hwmon,+kmod-i2c-core)
70 endef
71
72 define KernelPackage/hwmon-adt7410/description
73 Kernel module for ADT7410/7420 I2C thermal monitor chip
74 endef
75
76 $(eval $(call KernelPackage,hwmon-adt7410))
77
78
79 define KernelPackage/hwmon-adt7475
80 TITLE:=ADT7473/7475/7476/7490 monitoring support
81 KCONFIG:=CONFIG_SENSORS_ADT7475
82 FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko
83 AUTOLOAD:=$(call AutoProbe,adt7475)
84 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
85 endef
86
87 define KernelPackage/hwmon-adt7475/description
88 Kernel module for ADT7473/7475/7476/7490 thermal monitor chip
89 endef
90
91 $(eval $(call KernelPackage,hwmon-adt7475))
92
93
94 define KernelPackage/hwmon-dme1737
95 TITLE:=SMSC DME1737 and compatible monitoring support
96 KCONFIG:=CONFIG_SENSORS_DME1737
97 FILES:= \
98 $(LINUX_DIR)/drivers/hwmon/dme1737.ko
99 AUTOLOAD:=$(call AutoProbe,dme1737)
100 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
101 endef
102
103 define KernelPackage/hwmon-dme1737/description
104 SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support
105 endef
106
107 $(eval $(call KernelPackage,hwmon-dme1737))
108
109
110 define KernelPackage/hwmon-drivetemp
111 TITLE:=Hard disk drives with temperature sensor
112 KCONFIG:=CONFIG_SENSORS_DRIVETEMP
113 FILES:=$(LINUX_DIR)/drivers/hwmon/drivetemp.ko
114 AUTOLOAD:=$(call AutoLoad,60,drivetemp)
115 $(call AddDepends/hwmon,+kmod-ata-core +kmod-scsi-core)
116 endef
117
118 define KernelPackage/hwmon-drivetemp/description
119 Kernel module for Hard disk drives with temperature sensor
120 endef
121
122 $(eval $(call KernelPackage,hwmon-drivetemp))
123
124
125 define KernelPackage/hwmon-gpiofan
126 TITLE:=Generic GPIO FAN support
127 KCONFIG:=CONFIG_SENSORS_GPIO_FAN
128 FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
129 AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
130 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
131 endef
132
133 define KernelPackage/hwmon-gpiofan/description
134 Kernel module for GPIO controlled FANs
135 endef
136
137 $(eval $(call KernelPackage,hwmon-gpiofan))
138
139
140 define KernelPackage/hwmon-f71882fg
141 TITLE:=F71882FG compatible monitoring support
142 KCONFIG:=CONFIG_SENSORS_F71882FG
143 FILES:=$(LINUX_DIR)/drivers/hwmon/f71882fg.ko
144 AUTOLOAD:=$(call AutoProbe,f71882fg)
145 $(call AddDepends/hwmon,@TARGET_x86)
146 endef
147
148 define KernelPackage/hwmon-f71882fg/description
149 Kernel module for hardware monitoring via many Fintek Super-IO chips.
150 endef
151
152 $(eval $(call KernelPackage,hwmon-f71882fg))
153
154
155 define KernelPackage/hwmon-ina209
156 TITLE:=INA209 monitoring support
157 KCONFIG:=CONFIG_SENSORS_INA209
158 FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko
159 AUTOLOAD:=$(call AutoProbe,ina209)
160 $(call AddDepends/hwmon,+kmod-i2c-core)
161 endef
162
163 define KernelPackage/hwmon-ina209/description
164 Kernel module for ina209 dc power monitor chips
165 endef
166
167 $(eval $(call KernelPackage,hwmon-ina209))
168
169
170 define KernelPackage/hwmon-ina2xx
171 TITLE:=INA2XX monitoring support
172 KCONFIG:=CONFIG_SENSORS_INA2XX
173 FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
174 AUTOLOAD:=$(call AutoProbe,ina2xx)
175 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
176 endef
177
178 define KernelPackage/hwmon-ina2xx/description
179 Kernel module for ina2xx dc current monitor chips
180 endef
181
182 $(eval $(call KernelPackage,hwmon-ina2xx))
183
184
185 define KernelPackage/hwmon-it87
186 TITLE:=IT87 monitoring support
187 KCONFIG:=CONFIG_SENSORS_IT87
188 FILES:=$(LINUX_DIR)/drivers/hwmon/it87.ko
189 AUTOLOAD:=$(call AutoProbe,it87)
190 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid +PACKAGE_kmod-thermal:kmod-thermal)
191 endef
192
193 define KernelPackage/hwmon-it87/description
194 Kernel module for it87 thermal and voltage monitor chip
195 endef
196
197 $(eval $(call KernelPackage,hwmon-it87))
198
199
200 define KernelPackage/hwmon-lm63
201 TITLE:=LM63/64 monitoring support
202 KCONFIG:=CONFIG_SENSORS_LM63
203 FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
204 AUTOLOAD:=$(call AutoProbe,lm63)
205 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
206 endef
207
208 define KernelPackage/hwmon-lm63/description
209 Kernel module for lm63 and lm64 thermal monitor chip
210 endef
211
212 $(eval $(call KernelPackage,hwmon-lm63))
213
214
215 define KernelPackage/hwmon-lm75
216 TITLE:=LM75 monitoring support
217 KCONFIG:=CONFIG_SENSORS_LM75
218 FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
219 AUTOLOAD:=$(call AutoProbe,lm75)
220 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
221 endef
222
223 define KernelPackage/hwmon-lm75/description
224 Kernel module for lm75 thermal monitor chip
225 endef
226
227 $(eval $(call KernelPackage,hwmon-lm75))
228
229
230 define KernelPackage/hwmon-lm77
231 TITLE:=LM77 monitoring support
232 KCONFIG:=CONFIG_SENSORS_LM77
233 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
234 AUTOLOAD:=$(call AutoProbe,lm77)
235 $(call AddDepends/hwmon,+kmod-i2c-core)
236 endef
237
238 define KernelPackage/hwmon-lm77/description
239 Kernel module for LM77 thermal monitor chip
240 endef
241
242 $(eval $(call KernelPackage,hwmon-lm77))
243
244
245 define KernelPackage/hwmon-lm85
246 TITLE:=LM85 monitoring support
247 KCONFIG:=CONFIG_SENSORS_LM85
248 FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
249 AUTOLOAD:=$(call AutoProbe,lm85)
250 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
251 endef
252
253 define KernelPackage/hwmon-lm85/description
254 Kernel module for LM85 thermal monitor chip
255 endef
256
257 $(eval $(call KernelPackage,hwmon-lm85))
258
259
260 define KernelPackage/hwmon-lm90
261 TITLE:=LM90 monitoring support
262 KCONFIG:=CONFIG_SENSORS_LM90
263 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
264 AUTOLOAD:=$(call AutoProbe,lm90)
265 $(call AddDepends/hwmon,+kmod-i2c-core)
266 endef
267
268 define KernelPackage/hwmon-lm90/description
269 Kernel module for LM90 thermal monitor chip
270 endef
271
272 $(eval $(call KernelPackage,hwmon-lm90))
273
274
275 define KernelPackage/hwmon-lm92
276 TITLE:=LM92 monitoring support
277 KCONFIG:=CONFIG_SENSORS_LM92
278 FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
279 AUTOLOAD:=$(call AutoProbe,lm92)
280 $(call AddDepends/hwmon,+kmod-i2c-core)
281 endef
282
283 define KernelPackage/hwmon-lm92/description
284 Kernel module for LM92 thermal monitor chip
285 endef
286
287 $(eval $(call KernelPackage,hwmon-lm92))
288
289
290 define KernelPackage/hwmon-lm95241
291 TITLE:=LM95241 monitoring support
292 KCONFIG:=CONFIG_SENSORS_LM95241
293 FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
294 AUTOLOAD:=$(call AutoProbe,lm95241)
295 $(call AddDepends/hwmon,+kmod-i2c-core)
296 endef
297
298 define KernelPackage/hwmon-lm95241/description
299 Kernel module for LM95241 thermal monitor chip
300 endef
301
302 $(eval $(call KernelPackage,hwmon-lm95241))
303
304
305 define KernelPackage/hwmon-ltc4151
306 TITLE:=LTC4151 monitoring support
307 KCONFIG:=CONFIG_SENSORS_LTC4151
308 FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
309 AUTOLOAD:=$(call AutoProbe,ltc4151)
310 $(call AddDepends/hwmon,+kmod-i2c-core)
311 endef
312
313 define KernelPackage/hwmon-ltc4151/description
314 Kernel module for Linear Technology LTC4151 current and voltage monitor chip
315 endef
316
317 $(eval $(call KernelPackage,hwmon-ltc4151))
318
319
320 define KernelPackage/hwmon-mcp3021
321 TITLE:=MCP3021/3221 monitoring support
322 KCONFIG:=CONFIG_SENSORS_MCP3021
323 FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko
324 AUTOLOAD:=$(call AutoProbe,mcp3021)
325 $(call AddDepends/hwmon,+kmod-i2c-core)
326 endef
327
328 define KernelPackage/hwmon-mcp3021/description
329 Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip
330 endef
331
332 $(eval $(call KernelPackage,hwmon-mcp3021))
333
334
335 define KernelPackage/hwmon-nct6775
336 TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
337 KCONFIG:=CONFIG_SENSORS_NCT6775
338 FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko
339 AUTOLOAD:=$(call AutoProbe,nct6775)
340 $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid)
341 endef
342
343 define KernelPackage/hwmon-nct6775/description
344 Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
345 endef
346
347 $(eval $(call KernelPackage,hwmon-nct6775))
348
349
350 define KernelPackage/hwmon-pc87360
351 TITLE:=PC87360 monitoring support
352 KCONFIG:=CONFIG_SENSORS_PC87360
353 FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
354 AUTOLOAD:=$(call AutoProbe,pc87360)
355 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
356 endef
357
358 define KernelPackage/hwmon-pc87360/description
359 Kernel modules for PC87360 chips
360 endef
361
362 $(eval $(call KernelPackage,hwmon-pc87360))
363
364
365 define KernelPackage/pmbus-core
366 TITLE:=PMBus support
367 KCONFIG:= CONFIG_PMBUS
368 FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
369 $(call AddDepends/hwmon,+kmod-i2c-core)
370 endef
371
372 define KernelPackage/pmbus-core/description
373 Kernel modules for Power Management Bus
374 endef
375
376 $(eval $(call KernelPackage,pmbus-core))
377
378
379 define KernelPackage/pmbus-zl6100
380 TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
381 KCONFIG:=CONFIG_SENSORS_ZL6100
382 FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
383 AUTOLOAD:=$(call AutoProbe,zl6100)
384 $(call AddDepends/hwmon, +kmod-pmbus-core)
385 endef
386
387 define KernelPackage/pmbus-zl6100/description
388 Kernel module for Intersil / Zilker Labs ZL6100 and
389 compatible digital DC-DC controllers
390 endef
391
392 $(eval $(call KernelPackage,pmbus-zl6100))
393
394
395 define KernelPackage/hwmon-pwmfan
396 TITLE:=Generic PWM FAN support
397 KCONFIG:=CONFIG_SENSORS_PWM_FAN
398 FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
399 AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
400 $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
401 endef
402
403 define KernelPackage/hwmon-pwmfan/description
404 Kernel module for PWM controlled FANs
405 endef
406
407 $(eval $(call KernelPackage,hwmon-pwmfan))
408
409
410 define KernelPackage/hwmon-sch5627
411 TITLE:=SMSC SCH5627 monitoring support
412 KCONFIG:= \
413 CONFIG_SENSORS_SCH5627 \
414 CONFIG_WATCHDOG_CORE=y
415 FILES:= \
416 $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
417 $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
418 AUTOLOAD:=$(call AutoProbe,sch5627)
419 $(call AddDepends/hwmon,+kmod-i2c-core)
420 endef
421
422 define KernelPackage/hwmon-sch5627/description
423 SMSC SCH5627 Super I/O chips include complete hardware monitoring
424 endef
425
426 $(eval $(call KernelPackage,hwmon-sch5627))
427
428
429 define KernelPackage/hwmon-sht21
430 TITLE:=Sensiron SHT21 and compat. monitoring support
431 KCONFIG:=CONFIG_SENSORS_SHT21
432 FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
433 AUTOLOAD:=$(call AutoProbe,sht21)
434 $(call AddDepends/hwmon,+kmod-i2c-core)
435 endef
436
437 define KernelPackage/hwmon-sht21/description
438 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
439 endef
440
441 $(eval $(call KernelPackage,hwmon-sht21))
442
443
444 define KernelPackage/hwmon-tmp102
445 TITLE:=Texas Instruments TMP102 monitoring support
446 KCONFIG:=CONFIG_SENSORS_TMP102
447 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
448 AUTOLOAD:=$(call AutoProbe,tmp102)
449 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
450 endef
451
452 define KernelPackage/hwmon-tmp102/description
453 Kernel module for Texas Instruments TMP102 temperature sensors chip
454 endef
455
456 $(eval $(call KernelPackage,hwmon-tmp102))
457
458
459 define KernelPackage/hwmon-tmp103
460 TITLE:=Texas Instruments TMP103 monitoring support
461 KCONFIG:=CONFIG_SENSORS_TMP103
462 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
463 AUTOLOAD:=$(call AutoProbe,tmp103)
464 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
465 endef
466
467 define KernelPackage/hwmon-tmp103/description
468 Kernel module for Texas Instruments TMP103 temperature sensors chip
469 endef
470
471 $(eval $(call KernelPackage,hwmon-tmp103))
472
473
474 define KernelPackage/hwmon-tmp421
475 TITLE:=TI TMP421 and compatible monitoring support
476 KCONFIG:=CONFIG_SENSORS_TMP421
477 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
478 AUTOLOAD:=$(call AutoLoad,60,tmp421)
479 $(call AddDepends/hwmon,+kmod-i2c-core)
480 endef
481
482 define KernelPackage/hwmon-tmp421/description
483 Kernel module for the Texas Instruments TMP421 and compatible chips.
484 endef
485
486 $(eval $(call KernelPackage,hwmon-tmp421))
487
488
489 define KernelPackage/hwmon-vid
490 TITLE:=VID/VRM/VRD voltage conversion module.
491 KCONFIG:=CONFIG_HWMON_VID
492 FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
493 AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
494 $(call AddDepends/hwmon,)
495 endef
496
497 define KernelPackage/hwmon-vid/description
498 VID/VRM/VRD voltage conversion module for hardware monitoring
499 endef
500
501 $(eval $(call KernelPackage,hwmon-vid))
502
503
504 define KernelPackage/hwmon-w83627ehf
505 TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
506 KCONFIG:=CONFIG_SENSORS_W83627EHF
507 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
508 AUTOLOAD:=$(call AutoProbe,w83627ehf)
509 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
510 endef
511
512 define KernelPackage/hwmon-w83627ehf/description
513 Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
514 Support for NCT6775F and NCT6776F has been removed from this driver in favour of
515 using the nct6775 driver to handle those chips.
516 endef
517
518 $(eval $(call KernelPackage,hwmon-w83627ehf))
519
520
521 define KernelPackage/hwmon-w83627hf
522 TITLE:=Winbond W83627HF monitoring support
523 KCONFIG:=CONFIG_SENSORS_W83627HF
524 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
525 AUTOLOAD:=$(call AutoLoad,50,w83627hf)
526 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
527 endef
528
529 define KernelPackage/hwmon-w83627hf/description
530 Kernel module for the Winbond W83627HF chips.
531 endef
532
533 $(eval $(call KernelPackage,hwmon-w83627hf))
534
535
536 define KernelPackage/hwmon-w83793
537 TITLE:=Winbond W83793G/R monitoring support
538 KCONFIG:=CONFIG_SENSORS_W83793
539 FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
540 AUTOLOAD:=$(call AutoProbe,w83793)
541 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
542 endef
543
544 define KernelPackage/hwmon-w83793/description
545 Kernel module for the Winbond W83793G and W83793R chips.
546 endef
547
548 $(eval $(call KernelPackage,hwmon-w83793))
549
550
551 define KernelPackage/hwmon-adcxx
552 TITLE:=ADCxx monitoring support
553 KCONFIG:=CONFIG_SENSORS_ADCXX
554 FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
555 AUTOLOAD:=$(call AutoLoad,60,adcxx)
556 $(call AddDepends/hwmon,)
557 endef
558
559 define KernelPackage/hwmon-adcxx/description
560 Kernel module for the National Semiconductor
561 ADC<bb><c>S<sss> chip family, where
562 * bb is the resolution in number of bits (8, 10, 12)
563 * c is the number of channels (1, 2, 4, 8)
564 * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
565 kSPS and 101 for 1 MSPS)
566
567 Examples : ADC081S101, ADC124S501, ...
568 endef
569
570 $(eval $(call KernelPackage,hwmon-adcxx))
571
572