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