kernel: add kmod-hwmon-jc42 support
[openwrt/staging/nbd.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 +LINUX_6_1:kmod-regmap-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-jc42
221 TITLE:=Jedec JC42.4 compliant temperature sensors support
222 KCONFIG:=CONFIG_SENSORS_JC42
223 FILES:=$(LINUX_DIR)/drivers/hwmon/jc42.ko
224 AUTOLOAD:=$(call AutoProbe,jc42)
225 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
226 endef
227
228 define KernelPackage/hwmon-jc42/description
229 Kernel module for Jedec JC42.4 compliant temperature sensors
230 endef
231
232 $(eval $(call KernelPackage,hwmon-jc42))
233
234
235 define KernelPackage/hwmon-lm63
236 TITLE:=LM63/64 monitoring support
237 KCONFIG:=CONFIG_SENSORS_LM63
238 FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
239 AUTOLOAD:=$(call AutoProbe,lm63)
240 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
241 endef
242
243 define KernelPackage/hwmon-lm63/description
244 Kernel module for lm63 and lm64 thermal monitor chip
245 endef
246
247 $(eval $(call KernelPackage,hwmon-lm63))
248
249
250 define KernelPackage/hwmon-lm70
251 TITLE:=LM70 monitoring support
252 KCONFIG:=CONFIG_SENSORS_LM70 \
253 CONFIG_SPI=y \
254 CONFIG_SPI_MASTER=y
255 FILES:=$(LINUX_DIR)/drivers/hwmon/lm70.ko
256 AUTOLOAD:=$(call AutoProbe,lm70)
257 $(call AddDepends/hwmon)
258 endef
259
260 define KernelPackage/hwmon-lm70/description
261 Kernel module for lm70 and compatible thermal monitor chip
262 endef
263
264 $(eval $(call KernelPackage,hwmon-lm70))
265
266
267 define KernelPackage/hwmon-lm75
268 TITLE:=LM75 monitoring support
269 KCONFIG:=CONFIG_SENSORS_LM75
270 FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
271 AUTOLOAD:=$(call AutoProbe,lm75)
272 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
273 endef
274
275 define KernelPackage/hwmon-lm75/description
276 Kernel module for lm75 thermal monitor chip
277 endef
278
279 $(eval $(call KernelPackage,hwmon-lm75))
280
281
282 define KernelPackage/hwmon-lm77
283 TITLE:=LM77 monitoring support
284 KCONFIG:=CONFIG_SENSORS_LM77
285 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
286 AUTOLOAD:=$(call AutoProbe,lm77)
287 $(call AddDepends/hwmon,+kmod-i2c-core)
288 endef
289
290 define KernelPackage/hwmon-lm77/description
291 Kernel module for LM77 thermal monitor chip
292 endef
293
294 $(eval $(call KernelPackage,hwmon-lm77))
295
296
297 define KernelPackage/hwmon-lm85
298 TITLE:=LM85 monitoring support
299 KCONFIG:=CONFIG_SENSORS_LM85
300 FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
301 AUTOLOAD:=$(call AutoProbe,lm85)
302 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
303 endef
304
305 define KernelPackage/hwmon-lm85/description
306 Kernel module for LM85 thermal monitor chip
307 endef
308
309 $(eval $(call KernelPackage,hwmon-lm85))
310
311
312 define KernelPackage/hwmon-lm90
313 TITLE:=LM90 monitoring support
314 KCONFIG:=CONFIG_SENSORS_LM90
315 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
316 AUTOLOAD:=$(call AutoProbe,lm90)
317 $(call AddDepends/hwmon,+kmod-i2c-core)
318 endef
319
320 define KernelPackage/hwmon-lm90/description
321 Kernel module for LM90 thermal monitor chip
322 endef
323
324 $(eval $(call KernelPackage,hwmon-lm90))
325
326
327 define KernelPackage/hwmon-lm92
328 TITLE:=LM92 monitoring support
329 KCONFIG:=CONFIG_SENSORS_LM92
330 FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
331 AUTOLOAD:=$(call AutoProbe,lm92)
332 $(call AddDepends/hwmon,+kmod-i2c-core)
333 endef
334
335 define KernelPackage/hwmon-lm92/description
336 Kernel module for LM92 thermal monitor chip
337 endef
338
339 $(eval $(call KernelPackage,hwmon-lm92))
340
341
342 define KernelPackage/hwmon-lm95241
343 TITLE:=LM95241 monitoring support
344 KCONFIG:=CONFIG_SENSORS_LM95241
345 FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
346 AUTOLOAD:=$(call AutoProbe,lm95241)
347 $(call AddDepends/hwmon,+kmod-i2c-core)
348 endef
349
350 define KernelPackage/hwmon-lm95241/description
351 Kernel module for LM95241 thermal monitor chip
352 endef
353
354 $(eval $(call KernelPackage,hwmon-lm95241))
355
356
357 define KernelPackage/hwmon-ltc4151
358 TITLE:=LTC4151 monitoring support
359 KCONFIG:=CONFIG_SENSORS_LTC4151
360 FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
361 AUTOLOAD:=$(call AutoProbe,ltc4151)
362 $(call AddDepends/hwmon,+kmod-i2c-core)
363 endef
364
365 define KernelPackage/hwmon-ltc4151/description
366 Kernel module for Linear Technology LTC4151 current and voltage monitor chip
367 endef
368
369 $(eval $(call KernelPackage,hwmon-ltc4151))
370
371
372 define KernelPackage/hwmon-max6642
373 TITLE:=MAX6642 monitoring support
374 KCONFIG:=CONFIG_SENSORS_MAX6642
375 FILES:=$(LINUX_DIR)/drivers/hwmon/max6642.ko
376 AUTOLOAD:=$(call AutoLoad,60,max6642 max6642)
377 $(call AddDepends/hwmon,+kmod-i2c-core)
378 endef
379
380 define KernelPackage/hwmon-max6642/description
381 Kernel module for Maxim MAX6642 temperature monitor
382 endef
383
384 $(eval $(call KernelPackage,hwmon-max6642))
385
386
387 define KernelPackage/hwmon-max6697
388 TITLE:=MAX6697 monitoring support
389 KCONFIG:=CONFIG_SENSORS_MAX6697
390 FILES:=$(LINUX_DIR)/drivers/hwmon/max6697.ko
391 AUTOLOAD:=$(call AutoProbe,max6697)
392 $(call AddDepends/hwmon,+kmod-i2c-core)
393 endef
394
395 define KernelPackage/hwmon-max6697/description
396 Kernel module for Maxim MAX6697 temperature monitor
397 endef
398
399 $(eval $(call KernelPackage,hwmon-max6697))
400
401
402 define KernelPackage/hwmon-mcp3021
403 TITLE:=MCP3021/3221 monitoring support
404 KCONFIG:=CONFIG_SENSORS_MCP3021
405 FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko
406 AUTOLOAD:=$(call AutoProbe,mcp3021)
407 $(call AddDepends/hwmon,+kmod-i2c-core)
408 endef
409
410 define KernelPackage/hwmon-mcp3021/description
411 Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip
412 endef
413
414 $(eval $(call KernelPackage,hwmon-mcp3021))
415
416
417 define KernelPackage/hwmon-nct6775
418 TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
419 KCONFIG:=CONFIG_SENSORS_NCT6775
420 FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko
421 AUTOLOAD:=$(call AutoProbe,nct6775)
422 $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid)
423 endef
424
425 define KernelPackage/hwmon-nct6775/description
426 Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
427 endef
428
429 $(eval $(call KernelPackage,hwmon-nct6775))
430
431
432 define KernelPackage/hwmon-nct7802
433 TITLE:=NCT7802Y and compatibles monitoring support
434 KCONFIG:=CONFIG_SENSORS_NCT7802
435 FILES:=$(LINUX_DIR)/drivers/hwmon/nct7802.ko
436 AUTOLOAD:=$(call AutoProbe,nct7802)
437 $(call AddDepends/hwmon,+kmod-regmap-i2c)
438 endef
439
440 define KernelPackage/hwmon-nct7802/description
441 Kernel module for NCT7802Y thermal monitor chip
442 endef
443
444 $(eval $(call KernelPackage,hwmon-nct7802))
445
446
447 define KernelPackage/hwmon-pc87360
448 TITLE:=PC87360 monitoring support
449 KCONFIG:=CONFIG_SENSORS_PC87360
450 FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
451 AUTOLOAD:=$(call AutoProbe,pc87360)
452 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
453 endef
454
455 define KernelPackage/hwmon-pc87360/description
456 Kernel modules for PC87360 chips
457 endef
458
459 $(eval $(call KernelPackage,hwmon-pc87360))
460
461
462 define KernelPackage/pmbus-core
463 TITLE:=PMBus support
464 KCONFIG:= CONFIG_PMBUS
465 FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
466 $(call AddDepends/hwmon,+kmod-i2c-core)
467 endef
468
469 define KernelPackage/pmbus-core/description
470 Kernel modules for Power Management Bus
471 endef
472
473 $(eval $(call KernelPackage,pmbus-core))
474
475
476 define KernelPackage/pmbus-zl6100
477 TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
478 KCONFIG:=CONFIG_SENSORS_ZL6100
479 FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
480 AUTOLOAD:=$(call AutoProbe,zl6100)
481 $(call AddDepends/hwmon, +kmod-pmbus-core)
482 endef
483
484 define KernelPackage/pmbus-zl6100/description
485 Kernel module for Intersil / Zilker Labs ZL6100 and
486 compatible digital DC-DC controllers
487 endef
488
489 $(eval $(call KernelPackage,pmbus-zl6100))
490
491
492 define KernelPackage/hwmon-pwmfan
493 TITLE:=Generic PWM FAN support
494 KCONFIG:=CONFIG_SENSORS_PWM_FAN
495 FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
496 AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
497 $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
498 endef
499
500 define KernelPackage/hwmon-pwmfan/description
501 Kernel module for PWM controlled FANs
502 endef
503
504 $(eval $(call KernelPackage,hwmon-pwmfan))
505
506
507 define KernelPackage/hwmon-sch5627
508 TITLE:=SMSC SCH5627 monitoring support
509 KCONFIG:= \
510 CONFIG_SENSORS_SCH5627 \
511 CONFIG_WATCHDOG_CORE=y
512 FILES:= \
513 $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
514 $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
515 AUTOLOAD:=$(call AutoProbe,sch5627)
516 $(call AddDepends/hwmon,+kmod-i2c-core)
517 endef
518
519 define KernelPackage/hwmon-sch5627/description
520 SMSC SCH5627 Super I/O chips include complete hardware monitoring
521 endef
522
523 $(eval $(call KernelPackage,hwmon-sch5627))
524
525
526 define KernelPackage/hwmon-sht21
527 TITLE:=Sensiron SHT21 and compat. monitoring support
528 KCONFIG:=CONFIG_SENSORS_SHT21
529 FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
530 AUTOLOAD:=$(call AutoProbe,sht21)
531 $(call AddDepends/hwmon,+kmod-i2c-core)
532 endef
533
534 define KernelPackage/hwmon-sht21/description
535 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
536 endef
537
538 $(eval $(call KernelPackage,hwmon-sht21))
539
540
541 define KernelPackage/hwmon-sht3x
542 TITLE:=Sensiron SHT3x and compat. monitoring support
543 KCONFIG:=CONFIG_SENSORS_SHT3x
544 FILES:=$(LINUX_DIR)/drivers/hwmon/sht3x.ko
545 AUTOLOAD:=$(call AutoProbe,sht3x)
546 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-lib-crc8)
547 endef
548
549 define KernelPackage/hwmon-sht3x/description
550 Kernel module for Sensirion SHT3x temperature and humidity sensors chip
551 endef
552
553 $(eval $(call KernelPackage,hwmon-sht3x))
554
555
556 define KernelPackage/hwmon-tmp102
557 TITLE:=Texas Instruments TMP102 monitoring support
558 KCONFIG:=CONFIG_SENSORS_TMP102
559 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
560 AUTOLOAD:=$(call AutoProbe,tmp102)
561 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
562 endef
563
564 define KernelPackage/hwmon-tmp102/description
565 Kernel module for Texas Instruments TMP102 temperature sensors chip
566 endef
567
568 $(eval $(call KernelPackage,hwmon-tmp102))
569
570
571 define KernelPackage/hwmon-tmp103
572 TITLE:=Texas Instruments TMP103 monitoring support
573 KCONFIG:=CONFIG_SENSORS_TMP103
574 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
575 AUTOLOAD:=$(call AutoProbe,tmp103)
576 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
577 endef
578
579 define KernelPackage/hwmon-tmp103/description
580 Kernel module for Texas Instruments TMP103 temperature sensors chip
581 endef
582
583 $(eval $(call KernelPackage,hwmon-tmp103))
584
585
586 define KernelPackage/hwmon-tmp421
587 TITLE:=TI TMP421 and compatible monitoring support
588 KCONFIG:=CONFIG_SENSORS_TMP421
589 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
590 AUTOLOAD:=$(call AutoLoad,60,tmp421)
591 $(call AddDepends/hwmon,+kmod-i2c-core)
592 endef
593
594 define KernelPackage/hwmon-tmp421/description
595 Kernel module for the Texas Instruments TMP421 and compatible chips.
596 endef
597
598 $(eval $(call KernelPackage,hwmon-tmp421))
599
600
601 define KernelPackage/hwmon-tps23861
602 TITLE:=Texas Instruments TPS23861 PoE PSE
603 KCONFIG:=CONFIG_SENSORS_TPS23861
604 FILES:=$(LINUX_DIR)/drivers/hwmon/tps23861.ko
605 AUTOLOAD:=$(call AutoProbe,tps23861)
606 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
607 endef
608
609 define KernelPackage/hwmon-tps23861/description
610 Kernel module for the Texas Instruments TPS23861 802.3at PoE PSE chips.
611 endef
612
613 $(eval $(call KernelPackage,hwmon-tps23861))
614
615 define KernelPackage/hwmon-vid
616 TITLE:=VID/VRM/VRD voltage conversion module.
617 KCONFIG:=CONFIG_HWMON_VID
618 FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
619 AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
620 $(call AddDepends/hwmon,)
621 endef
622
623 define KernelPackage/hwmon-vid/description
624 VID/VRM/VRD voltage conversion module for hardware monitoring
625 endef
626
627 $(eval $(call KernelPackage,hwmon-vid))
628
629
630 define KernelPackage/hwmon-w83627ehf
631 TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
632 KCONFIG:=CONFIG_SENSORS_W83627EHF
633 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
634 AUTOLOAD:=$(call AutoProbe,w83627ehf)
635 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
636 endef
637
638 define KernelPackage/hwmon-w83627ehf/description
639 Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
640 Support for NCT6775F and NCT6776F has been removed from this driver in favour of
641 using the nct6775 driver to handle those chips.
642 endef
643
644 $(eval $(call KernelPackage,hwmon-w83627ehf))
645
646
647 define KernelPackage/hwmon-w83627hf
648 TITLE:=Winbond W83627HF monitoring support
649 KCONFIG:=CONFIG_SENSORS_W83627HF
650 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
651 AUTOLOAD:=$(call AutoLoad,50,w83627hf)
652 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
653 endef
654
655 define KernelPackage/hwmon-w83627hf/description
656 Kernel module for the Winbond W83627HF chips.
657 endef
658
659 $(eval $(call KernelPackage,hwmon-w83627hf))
660
661
662 define KernelPackage/hwmon-w83793
663 TITLE:=Winbond W83793G/R monitoring support
664 KCONFIG:=CONFIG_SENSORS_W83793
665 FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
666 AUTOLOAD:=$(call AutoProbe,w83793)
667 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
668 endef
669
670 define KernelPackage/hwmon-w83793/description
671 Kernel module for the Winbond W83793G and W83793R chips.
672 endef
673
674 $(eval $(call KernelPackage,hwmon-w83793))
675
676
677 define KernelPackage/hwmon-adcxx
678 TITLE:=ADCxx monitoring support
679 KCONFIG:=CONFIG_SENSORS_ADCXX
680 FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
681 AUTOLOAD:=$(call AutoLoad,60,adcxx)
682 $(call AddDepends/hwmon,)
683 endef
684
685 define KernelPackage/hwmon-adcxx/description
686 Kernel module for the National Semiconductor
687 ADC<bb><c>S<sss> chip family, where
688 * bb is the resolution in number of bits (8, 10, 12)
689 * c is the number of channels (1, 2, 4, 8)
690 * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
691 kSPS and 101 for 1 MSPS)
692
693 Examples : ADC081S101, ADC124S501, ...
694 endef
695
696 $(eval $(call KernelPackage,hwmon-adcxx))
697
698