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