kernel: kmod-hwmon-tps23861: Add missing dependency to kmod-regmap-i2c
[openwrt/staging/wigyori.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-adt7410
47 TITLE:=ADT7410 monitoring support
48 KCONFIG:= \
49 CONFIG_SENSORS_ADT7X10 \
50 CONFIG_SENSORS_ADT7410
51 FILES:= \
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)
56 endef
57
58 define KernelPackage/hwmon-adt7410/description
59 Kernel module for ADT7410/7420 I2C thermal monitor chip
60 endef
61
62 $(eval $(call KernelPackage,hwmon-adt7410))
63
64
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)
71 endef
72
73 define KernelPackage/hwmon-adt7475/description
74 Kernel module for ADT7473/7475/7476/7490 thermal monitor chip
75 endef
76
77 $(eval $(call KernelPackage,hwmon-adt7475))
78
79
80 define KernelPackage/hwmon-dme1737
81 TITLE:=SMSC DME1737 and compatible monitoring support
82 KCONFIG:=CONFIG_SENSORS_DME1737
83 FILES:= \
84 $(LINUX_DIR)/drivers/hwmon/dme1737.ko
85 AUTOLOAD:=$(call AutoProbe,dme1737)
86 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
87 endef
88
89 define KernelPackage/hwmon-dme1737/description
90 SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support
91 endef
92
93 $(eval $(call KernelPackage,hwmon-dme1737))
94
95
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)
102 endef
103
104 define KernelPackage/hwmon-drivetemp/description
105 Kernel module for Hard disk drives with temperature sensor
106 endef
107
108 $(eval $(call KernelPackage,hwmon-drivetemp))
109
110
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)
117 endef
118
119 define KernelPackage/hwmon-gpiofan/description
120 Kernel module for GPIO controlled FANs
121 endef
122
123 $(eval $(call KernelPackage,hwmon-gpiofan))
124
125
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)
132 endef
133
134 define KernelPackage/hwmon-f71882fg/description
135 Kernel module for hardware monitoring via many Fintek Super-IO chips.
136 endef
137
138 $(eval $(call KernelPackage,hwmon-f71882fg))
139
140
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)
147 endef
148
149 define KernelPackage/hwmon-g762/description
150 Kernel module for Global Mixed-mode Technology Inc G762 and G763 fan speed PWM controller chips.
151 endef
152
153 $(eval $(call KernelPackage,hwmon-g762))
154
155
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)
162 endef
163
164 define KernelPackage/hwmon-ina209/description
165 Kernel module for ina209 dc power monitor chips
166 endef
167
168 $(eval $(call KernelPackage,hwmon-ina209))
169
170
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)
177 endef
178
179 define KernelPackage/hwmon-ina2xx/description
180 Kernel module for ina2xx dc current monitor chips
181 endef
182
183 $(eval $(call KernelPackage,hwmon-ina2xx))
184
185
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)
192 endef
193
194 define KernelPackage/hwmon-it87/description
195 Kernel module for it87 thermal and voltage monitor chip
196 endef
197
198 $(eval $(call KernelPackage,hwmon-it87))
199
200
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)
207 endef
208
209 define KernelPackage/hwmon-lm63/description
210 Kernel module for lm63 and lm64 thermal monitor chip
211 endef
212
213 $(eval $(call KernelPackage,hwmon-lm63))
214
215
216 define KernelPackage/hwmon-lm70
217 TITLE:=LM70 monitoring support
218 KCONFIG:=CONFIG_SENSORS_LM70 \
219 CONFIG_SPI=y \
220 CONFIG_SPI_MASTER=y
221 FILES:=$(LINUX_DIR)/drivers/hwmon/lm70.ko
222 AUTOLOAD:=$(call AutoProbe,lm70)
223 $(call AddDepends/hwmon)
224 endef
225
226 define KernelPackage/hwmon-lm70/description
227 Kernel module for lm70 and compatible thermal monitor chip
228 endef
229
230 $(eval $(call KernelPackage,hwmon-lm70))
231
232
233 define KernelPackage/hwmon-lm75
234 TITLE:=LM75 monitoring support
235 KCONFIG:=CONFIG_SENSORS_LM75
236 FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
237 AUTOLOAD:=$(call AutoProbe,lm75)
238 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
239 endef
240
241 define KernelPackage/hwmon-lm75/description
242 Kernel module for lm75 thermal monitor chip
243 endef
244
245 $(eval $(call KernelPackage,hwmon-lm75))
246
247
248 define KernelPackage/hwmon-lm77
249 TITLE:=LM77 monitoring support
250 KCONFIG:=CONFIG_SENSORS_LM77
251 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
252 AUTOLOAD:=$(call AutoProbe,lm77)
253 $(call AddDepends/hwmon,+kmod-i2c-core)
254 endef
255
256 define KernelPackage/hwmon-lm77/description
257 Kernel module for LM77 thermal monitor chip
258 endef
259
260 $(eval $(call KernelPackage,hwmon-lm77))
261
262
263 define KernelPackage/hwmon-lm85
264 TITLE:=LM85 monitoring support
265 KCONFIG:=CONFIG_SENSORS_LM85
266 FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
267 AUTOLOAD:=$(call AutoProbe,lm85)
268 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
269 endef
270
271 define KernelPackage/hwmon-lm85/description
272 Kernel module for LM85 thermal monitor chip
273 endef
274
275 $(eval $(call KernelPackage,hwmon-lm85))
276
277
278 define KernelPackage/hwmon-lm90
279 TITLE:=LM90 monitoring support
280 KCONFIG:=CONFIG_SENSORS_LM90
281 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
282 AUTOLOAD:=$(call AutoProbe,lm90)
283 $(call AddDepends/hwmon,+kmod-i2c-core)
284 endef
285
286 define KernelPackage/hwmon-lm90/description
287 Kernel module for LM90 thermal monitor chip
288 endef
289
290 $(eval $(call KernelPackage,hwmon-lm90))
291
292
293 define KernelPackage/hwmon-lm92
294 TITLE:=LM92 monitoring support
295 KCONFIG:=CONFIG_SENSORS_LM92
296 FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
297 AUTOLOAD:=$(call AutoProbe,lm92)
298 $(call AddDepends/hwmon,+kmod-i2c-core)
299 endef
300
301 define KernelPackage/hwmon-lm92/description
302 Kernel module for LM92 thermal monitor chip
303 endef
304
305 $(eval $(call KernelPackage,hwmon-lm92))
306
307
308 define KernelPackage/hwmon-lm95241
309 TITLE:=LM95241 monitoring support
310 KCONFIG:=CONFIG_SENSORS_LM95241
311 FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
312 AUTOLOAD:=$(call AutoProbe,lm95241)
313 $(call AddDepends/hwmon,+kmod-i2c-core)
314 endef
315
316 define KernelPackage/hwmon-lm95241/description
317 Kernel module for LM95241 thermal monitor chip
318 endef
319
320 $(eval $(call KernelPackage,hwmon-lm95241))
321
322
323 define KernelPackage/hwmon-ltc4151
324 TITLE:=LTC4151 monitoring support
325 KCONFIG:=CONFIG_SENSORS_LTC4151
326 FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
327 AUTOLOAD:=$(call AutoProbe,ltc4151)
328 $(call AddDepends/hwmon,+kmod-i2c-core)
329 endef
330
331 define KernelPackage/hwmon-ltc4151/description
332 Kernel module for Linear Technology LTC4151 current and voltage monitor chip
333 endef
334
335 $(eval $(call KernelPackage,hwmon-ltc4151))
336
337
338 define KernelPackage/hwmon-mcp3021
339 TITLE:=MCP3021/3221 monitoring support
340 KCONFIG:=CONFIG_SENSORS_MCP3021
341 FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko
342 AUTOLOAD:=$(call AutoProbe,mcp3021)
343 $(call AddDepends/hwmon,+kmod-i2c-core)
344 endef
345
346 define KernelPackage/hwmon-mcp3021/description
347 Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip
348 endef
349
350 $(eval $(call KernelPackage,hwmon-mcp3021))
351
352
353 define KernelPackage/hwmon-nct6775
354 TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
355 KCONFIG:=CONFIG_SENSORS_NCT6775
356 FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko
357 AUTOLOAD:=$(call AutoProbe,nct6775)
358 $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid)
359 endef
360
361 define KernelPackage/hwmon-nct6775/description
362 Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
363 endef
364
365 $(eval $(call KernelPackage,hwmon-nct6775))
366
367
368 define KernelPackage/hwmon-nct7802
369 TITLE:=NCT7802Y and compatibles monitoring support
370 KCONFIG:=CONFIG_SENSORS_NCT7802
371 FILES:=$(LINUX_DIR)/drivers/hwmon/nct7802.ko
372 AUTOLOAD:=$(call AutoProbe,nct7802)
373 $(call AddDepends/hwmon,+kmod-regmap-i2c)
374 endef
375
376 define KernelPackage/hwmon-nct7802/description
377 Kernel module for NCT7802Y thermal monitor chip
378 endef
379
380 $(eval $(call KernelPackage,hwmon-nct7802))
381
382
383 define KernelPackage/hwmon-pc87360
384 TITLE:=PC87360 monitoring support
385 KCONFIG:=CONFIG_SENSORS_PC87360
386 FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
387 AUTOLOAD:=$(call AutoProbe,pc87360)
388 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
389 endef
390
391 define KernelPackage/hwmon-pc87360/description
392 Kernel modules for PC87360 chips
393 endef
394
395 $(eval $(call KernelPackage,hwmon-pc87360))
396
397
398 define KernelPackage/pmbus-core
399 TITLE:=PMBus support
400 KCONFIG:= CONFIG_PMBUS
401 FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
402 $(call AddDepends/hwmon,+kmod-i2c-core)
403 endef
404
405 define KernelPackage/pmbus-core/description
406 Kernel modules for Power Management Bus
407 endef
408
409 $(eval $(call KernelPackage,pmbus-core))
410
411
412 define KernelPackage/pmbus-zl6100
413 TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
414 KCONFIG:=CONFIG_SENSORS_ZL6100
415 FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
416 AUTOLOAD:=$(call AutoProbe,zl6100)
417 $(call AddDepends/hwmon, +kmod-pmbus-core)
418 endef
419
420 define KernelPackage/pmbus-zl6100/description
421 Kernel module for Intersil / Zilker Labs ZL6100 and
422 compatible digital DC-DC controllers
423 endef
424
425 $(eval $(call KernelPackage,pmbus-zl6100))
426
427
428 define KernelPackage/hwmon-pwmfan
429 TITLE:=Generic PWM FAN support
430 KCONFIG:=CONFIG_SENSORS_PWM_FAN
431 FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
432 AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
433 $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
434 endef
435
436 define KernelPackage/hwmon-pwmfan/description
437 Kernel module for PWM controlled FANs
438 endef
439
440 $(eval $(call KernelPackage,hwmon-pwmfan))
441
442
443 define KernelPackage/hwmon-sch5627
444 TITLE:=SMSC SCH5627 monitoring support
445 KCONFIG:= \
446 CONFIG_SENSORS_SCH5627 \
447 CONFIG_WATCHDOG_CORE=y
448 FILES:= \
449 $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
450 $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
451 AUTOLOAD:=$(call AutoProbe,sch5627)
452 $(call AddDepends/hwmon,+kmod-i2c-core)
453 endef
454
455 define KernelPackage/hwmon-sch5627/description
456 SMSC SCH5627 Super I/O chips include complete hardware monitoring
457 endef
458
459 $(eval $(call KernelPackage,hwmon-sch5627))
460
461
462 define KernelPackage/hwmon-sht21
463 TITLE:=Sensiron SHT21 and compat. monitoring support
464 KCONFIG:=CONFIG_SENSORS_SHT21
465 FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
466 AUTOLOAD:=$(call AutoProbe,sht21)
467 $(call AddDepends/hwmon,+kmod-i2c-core)
468 endef
469
470 define KernelPackage/hwmon-sht21/description
471 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
472 endef
473
474 $(eval $(call KernelPackage,hwmon-sht21))
475
476
477 define KernelPackage/hwmon-tmp102
478 TITLE:=Texas Instruments TMP102 monitoring support
479 KCONFIG:=CONFIG_SENSORS_TMP102
480 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
481 AUTOLOAD:=$(call AutoProbe,tmp102)
482 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
483 endef
484
485 define KernelPackage/hwmon-tmp102/description
486 Kernel module for Texas Instruments TMP102 temperature sensors chip
487 endef
488
489 $(eval $(call KernelPackage,hwmon-tmp102))
490
491
492 define KernelPackage/hwmon-tmp103
493 TITLE:=Texas Instruments TMP103 monitoring support
494 KCONFIG:=CONFIG_SENSORS_TMP103
495 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
496 AUTOLOAD:=$(call AutoProbe,tmp103)
497 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
498 endef
499
500 define KernelPackage/hwmon-tmp103/description
501 Kernel module for Texas Instruments TMP103 temperature sensors chip
502 endef
503
504 $(eval $(call KernelPackage,hwmon-tmp103))
505
506
507 define KernelPackage/hwmon-tmp421
508 TITLE:=TI TMP421 and compatible monitoring support
509 KCONFIG:=CONFIG_SENSORS_TMP421
510 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
511 AUTOLOAD:=$(call AutoLoad,60,tmp421)
512 $(call AddDepends/hwmon,+kmod-i2c-core)
513 endef
514
515 define KernelPackage/hwmon-tmp421/description
516 Kernel module for the Texas Instruments TMP421 and compatible chips.
517 endef
518
519 $(eval $(call KernelPackage,hwmon-tmp421))
520
521
522 define KernelPackage/hwmon-tps23861
523 TITLE:=Texas Instruments TPS23861 PoE PSE
524 KCONFIG:=CONFIG_SENSORS_TPS23861
525 FILES:=$(LINUX_DIR)/drivers/hwmon/tps23861.ko
526 AUTOLOAD:=$(call AutoProbe,tps23861)
527 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
528 endef
529
530 define KernelPackage/hwmon-tps23861/description
531 Kernel module for the Texas Instruments TPS23861 802.3at PoE PSE chips.
532 endef
533
534 $(eval $(call KernelPackage,hwmon-tps23861))
535
536 define KernelPackage/hwmon-vid
537 TITLE:=VID/VRM/VRD voltage conversion module.
538 KCONFIG:=CONFIG_HWMON_VID
539 FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
540 AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
541 $(call AddDepends/hwmon,)
542 endef
543
544 define KernelPackage/hwmon-vid/description
545 VID/VRM/VRD voltage conversion module for hardware monitoring
546 endef
547
548 $(eval $(call KernelPackage,hwmon-vid))
549
550
551 define KernelPackage/hwmon-w83627ehf
552 TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
553 KCONFIG:=CONFIG_SENSORS_W83627EHF
554 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
555 AUTOLOAD:=$(call AutoProbe,w83627ehf)
556 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
557 endef
558
559 define KernelPackage/hwmon-w83627ehf/description
560 Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
561 Support for NCT6775F and NCT6776F has been removed from this driver in favour of
562 using the nct6775 driver to handle those chips.
563 endef
564
565 $(eval $(call KernelPackage,hwmon-w83627ehf))
566
567
568 define KernelPackage/hwmon-w83627hf
569 TITLE:=Winbond W83627HF monitoring support
570 KCONFIG:=CONFIG_SENSORS_W83627HF
571 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
572 AUTOLOAD:=$(call AutoLoad,50,w83627hf)
573 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
574 endef
575
576 define KernelPackage/hwmon-w83627hf/description
577 Kernel module for the Winbond W83627HF chips.
578 endef
579
580 $(eval $(call KernelPackage,hwmon-w83627hf))
581
582
583 define KernelPackage/hwmon-w83793
584 TITLE:=Winbond W83793G/R monitoring support
585 KCONFIG:=CONFIG_SENSORS_W83793
586 FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
587 AUTOLOAD:=$(call AutoProbe,w83793)
588 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
589 endef
590
591 define KernelPackage/hwmon-w83793/description
592 Kernel module for the Winbond W83793G and W83793R chips.
593 endef
594
595 $(eval $(call KernelPackage,hwmon-w83793))
596
597
598 define KernelPackage/hwmon-adcxx
599 TITLE:=ADCxx monitoring support
600 KCONFIG:=CONFIG_SENSORS_ADCXX
601 FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
602 AUTOLOAD:=$(call AutoLoad,60,adcxx)
603 $(call AddDepends/hwmon,)
604 endef
605
606 define KernelPackage/hwmon-adcxx/description
607 Kernel module for the National Semiconductor
608 ADC<bb><c>S<sss> chip family, where
609 * bb is the resolution in number of bits (8, 10, 12)
610 * c is the number of channels (1, 2, 4, 8)
611 * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
612 kSPS and 101 for 1 MSPS)
613
614 Examples : ADC081S101, ADC124S501, ...
615 endef
616
617 $(eval $(call KernelPackage,hwmon-adcxx))
618
619