kernel: modules: adapt for kernel 6.1
[openwrt/staging/ldir.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-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-max6642
358 TITLE:=MAX6642 monitoring support
359 KCONFIG:=CONFIG_SENSORS_MAX6642
360 FILES:=$(LINUX_DIR)/drivers/hwmon/max6642.ko
361 AUTOLOAD:=$(call AutoLoad,60,max6642 max6642)
362 $(call AddDepends/hwmon,+kmod-i2c-core)
363 endef
364
365 define KernelPackage/hwmon-max6642/description
366 Kernel module for Maxim MAX6642 temperature monitor
367 endef
368
369 $(eval $(call KernelPackage,hwmon-max6642))
370
371
372 define KernelPackage/hwmon-mcp3021
373 TITLE:=MCP3021/3221 monitoring support
374 KCONFIG:=CONFIG_SENSORS_MCP3021
375 FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko
376 AUTOLOAD:=$(call AutoProbe,mcp3021)
377 $(call AddDepends/hwmon,+kmod-i2c-core)
378 endef
379
380 define KernelPackage/hwmon-mcp3021/description
381 Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip
382 endef
383
384 $(eval $(call KernelPackage,hwmon-mcp3021))
385
386
387 define KernelPackage/hwmon-nct6775
388 TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
389 KCONFIG:=CONFIG_SENSORS_NCT6775
390 FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko
391 AUTOLOAD:=$(call AutoProbe,nct6775)
392 $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid)
393 endef
394
395 define KernelPackage/hwmon-nct6775/description
396 Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
397 endef
398
399 $(eval $(call KernelPackage,hwmon-nct6775))
400
401
402 define KernelPackage/hwmon-nct7802
403 TITLE:=NCT7802Y and compatibles monitoring support
404 KCONFIG:=CONFIG_SENSORS_NCT7802
405 FILES:=$(LINUX_DIR)/drivers/hwmon/nct7802.ko
406 AUTOLOAD:=$(call AutoProbe,nct7802)
407 $(call AddDepends/hwmon,+kmod-regmap-i2c)
408 endef
409
410 define KernelPackage/hwmon-nct7802/description
411 Kernel module for NCT7802Y thermal monitor chip
412 endef
413
414 $(eval $(call KernelPackage,hwmon-nct7802))
415
416
417 define KernelPackage/hwmon-pc87360
418 TITLE:=PC87360 monitoring support
419 KCONFIG:=CONFIG_SENSORS_PC87360
420 FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
421 AUTOLOAD:=$(call AutoProbe,pc87360)
422 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
423 endef
424
425 define KernelPackage/hwmon-pc87360/description
426 Kernel modules for PC87360 chips
427 endef
428
429 $(eval $(call KernelPackage,hwmon-pc87360))
430
431
432 define KernelPackage/pmbus-core
433 TITLE:=PMBus support
434 KCONFIG:= CONFIG_PMBUS
435 FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
436 $(call AddDepends/hwmon,+kmod-i2c-core)
437 endef
438
439 define KernelPackage/pmbus-core/description
440 Kernel modules for Power Management Bus
441 endef
442
443 $(eval $(call KernelPackage,pmbus-core))
444
445
446 define KernelPackage/pmbus-zl6100
447 TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
448 KCONFIG:=CONFIG_SENSORS_ZL6100
449 FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
450 AUTOLOAD:=$(call AutoProbe,zl6100)
451 $(call AddDepends/hwmon, +kmod-pmbus-core)
452 endef
453
454 define KernelPackage/pmbus-zl6100/description
455 Kernel module for Intersil / Zilker Labs ZL6100 and
456 compatible digital DC-DC controllers
457 endef
458
459 $(eval $(call KernelPackage,pmbus-zl6100))
460
461
462 define KernelPackage/hwmon-pwmfan
463 TITLE:=Generic PWM FAN support
464 KCONFIG:=CONFIG_SENSORS_PWM_FAN
465 FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
466 AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
467 $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
468 endef
469
470 define KernelPackage/hwmon-pwmfan/description
471 Kernel module for PWM controlled FANs
472 endef
473
474 $(eval $(call KernelPackage,hwmon-pwmfan))
475
476
477 define KernelPackage/hwmon-sch5627
478 TITLE:=SMSC SCH5627 monitoring support
479 KCONFIG:= \
480 CONFIG_SENSORS_SCH5627 \
481 CONFIG_WATCHDOG_CORE=y
482 FILES:= \
483 $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
484 $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
485 AUTOLOAD:=$(call AutoProbe,sch5627)
486 $(call AddDepends/hwmon,+kmod-i2c-core)
487 endef
488
489 define KernelPackage/hwmon-sch5627/description
490 SMSC SCH5627 Super I/O chips include complete hardware monitoring
491 endef
492
493 $(eval $(call KernelPackage,hwmon-sch5627))
494
495
496 define KernelPackage/hwmon-sht21
497 TITLE:=Sensiron SHT21 and compat. monitoring support
498 KCONFIG:=CONFIG_SENSORS_SHT21
499 FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
500 AUTOLOAD:=$(call AutoProbe,sht21)
501 $(call AddDepends/hwmon,+kmod-i2c-core)
502 endef
503
504 define KernelPackage/hwmon-sht21/description
505 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
506 endef
507
508 $(eval $(call KernelPackage,hwmon-sht21))
509
510
511 define KernelPackage/hwmon-sht3x
512 TITLE:=Sensiron SHT3x and compat. monitoring support
513 KCONFIG:=CONFIG_SENSORS_SHT3x
514 FILES:=$(LINUX_DIR)/drivers/hwmon/sht3x.ko
515 AUTOLOAD:=$(call AutoProbe,sht3x)
516 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-lib-crc8)
517 endef
518
519 define KernelPackage/hwmon-sht3x/description
520 Kernel module for Sensirion SHT3x temperature and humidity sensors chip
521 endef
522
523 $(eval $(call KernelPackage,hwmon-sht3x))
524
525
526 define KernelPackage/hwmon-tmp102
527 TITLE:=Texas Instruments TMP102 monitoring support
528 KCONFIG:=CONFIG_SENSORS_TMP102
529 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
530 AUTOLOAD:=$(call AutoProbe,tmp102)
531 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
532 endef
533
534 define KernelPackage/hwmon-tmp102/description
535 Kernel module for Texas Instruments TMP102 temperature sensors chip
536 endef
537
538 $(eval $(call KernelPackage,hwmon-tmp102))
539
540
541 define KernelPackage/hwmon-tmp103
542 TITLE:=Texas Instruments TMP103 monitoring support
543 KCONFIG:=CONFIG_SENSORS_TMP103
544 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
545 AUTOLOAD:=$(call AutoProbe,tmp103)
546 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
547 endef
548
549 define KernelPackage/hwmon-tmp103/description
550 Kernel module for Texas Instruments TMP103 temperature sensors chip
551 endef
552
553 $(eval $(call KernelPackage,hwmon-tmp103))
554
555
556 define KernelPackage/hwmon-tmp421
557 TITLE:=TI TMP421 and compatible monitoring support
558 KCONFIG:=CONFIG_SENSORS_TMP421
559 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
560 AUTOLOAD:=$(call AutoLoad,60,tmp421)
561 $(call AddDepends/hwmon,+kmod-i2c-core)
562 endef
563
564 define KernelPackage/hwmon-tmp421/description
565 Kernel module for the Texas Instruments TMP421 and compatible chips.
566 endef
567
568 $(eval $(call KernelPackage,hwmon-tmp421))
569
570
571 define KernelPackage/hwmon-tps23861
572 TITLE:=Texas Instruments TPS23861 PoE PSE
573 KCONFIG:=CONFIG_SENSORS_TPS23861
574 FILES:=$(LINUX_DIR)/drivers/hwmon/tps23861.ko
575 AUTOLOAD:=$(call AutoProbe,tps23861)
576 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
577 endef
578
579 define KernelPackage/hwmon-tps23861/description
580 Kernel module for the Texas Instruments TPS23861 802.3at PoE PSE chips.
581 endef
582
583 $(eval $(call KernelPackage,hwmon-tps23861))
584
585 define KernelPackage/hwmon-vid
586 TITLE:=VID/VRM/VRD voltage conversion module.
587 KCONFIG:=CONFIG_HWMON_VID
588 FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
589 AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
590 $(call AddDepends/hwmon,)
591 endef
592
593 define KernelPackage/hwmon-vid/description
594 VID/VRM/VRD voltage conversion module for hardware monitoring
595 endef
596
597 $(eval $(call KernelPackage,hwmon-vid))
598
599
600 define KernelPackage/hwmon-w83627ehf
601 TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
602 KCONFIG:=CONFIG_SENSORS_W83627EHF
603 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
604 AUTOLOAD:=$(call AutoProbe,w83627ehf)
605 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
606 endef
607
608 define KernelPackage/hwmon-w83627ehf/description
609 Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
610 Support for NCT6775F and NCT6776F has been removed from this driver in favour of
611 using the nct6775 driver to handle those chips.
612 endef
613
614 $(eval $(call KernelPackage,hwmon-w83627ehf))
615
616
617 define KernelPackage/hwmon-w83627hf
618 TITLE:=Winbond W83627HF monitoring support
619 KCONFIG:=CONFIG_SENSORS_W83627HF
620 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
621 AUTOLOAD:=$(call AutoLoad,50,w83627hf)
622 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
623 endef
624
625 define KernelPackage/hwmon-w83627hf/description
626 Kernel module for the Winbond W83627HF chips.
627 endef
628
629 $(eval $(call KernelPackage,hwmon-w83627hf))
630
631
632 define KernelPackage/hwmon-w83793
633 TITLE:=Winbond W83793G/R monitoring support
634 KCONFIG:=CONFIG_SENSORS_W83793
635 FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
636 AUTOLOAD:=$(call AutoProbe,w83793)
637 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
638 endef
639
640 define KernelPackage/hwmon-w83793/description
641 Kernel module for the Winbond W83793G and W83793R chips.
642 endef
643
644 $(eval $(call KernelPackage,hwmon-w83793))
645
646
647 define KernelPackage/hwmon-adcxx
648 TITLE:=ADCxx monitoring support
649 KCONFIG:=CONFIG_SENSORS_ADCXX
650 FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
651 AUTOLOAD:=$(call AutoLoad,60,adcxx)
652 $(call AddDepends/hwmon,)
653 endef
654
655 define KernelPackage/hwmon-adcxx/description
656 Kernel module for the National Semiconductor
657 ADC<bb><c>S<sss> chip family, where
658 * bb is the resolution in number of bits (8, 10, 12)
659 * c is the number of channels (1, 2, 4, 8)
660 * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
661 kSPS and 101 for 1 MSPS)
662
663 Examples : ADC081S101, ADC124S501, ...
664 endef
665
666 $(eval $(call KernelPackage,hwmon-adcxx))
667
668