blob: e6ab5525185e886c582a3d77c0da920176c6a79b [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
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
8HWMON_MENU:=Hardware Monitoring Support
9
10define 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
18endef
19
20define KernelPackage/hwmon-core/description
21 Kernel modules for hardware monitoring
22endef
23
24$(eval $(call KernelPackage,hwmon-core))
25
26
27define AddDepends/hwmon
28 SUBMENU:=$(HWMON_MENU)
29 DEPENDS:=+kmod-hwmon-core $(1)
30endef
31
32define 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 +LINUX_6_6:kmod-regmap-core)
38endef
39
40define KernelPackage/hwmon-ad7418/description
41 Kernel module for Analog Devices AD7416, AD7417 and AD7418 temperature monitor chip
42endef
43
44$(eval $(call KernelPackage,hwmon-ad7418))
45
46define 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_5_15:kmod-regmap-core)
56endef
57
58define KernelPackage/hwmon-adt7410/description
59 Kernel module for ADT7410/7420 I2C thermal monitor chip
60endef
61
62$(eval $(call KernelPackage,hwmon-adt7410))
63
64
65define 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)
71endef
72
73define KernelPackage/hwmon-adt7475/description
74 Kernel module for ADT7473/7475/7476/7490 thermal monitor chip
75endef
76
77$(eval $(call KernelPackage,hwmon-adt7475))
78
79
80define KernelPackage/hwmon-coretemp
81 TITLE:=Intel Core/Core2/Atom temperature sensor
82 KCONFIG:=CONFIG_SENSORS_CORETEMP
83 FILES:=$(LINUX_DIR)/drivers/hwmon/coretemp.ko
84 AUTOLOAD:=$(call AutoProbe,coretemp)
85 $(call AddDepends/hwmon,@TARGET_x86)
86endef
87
88define KernelPackage/hwmon-coretemp/description
89 Kernel module for Intel Core/Core2/Atom temperature monitoring support.
90 Most of the family 6 CPUs are supported.
91 Check Documentation/hwmon/coretemp.rst for details.
92endef
93
94$(eval $(call KernelPackage,hwmon-coretemp))
95
96
97define KernelPackage/hwmon-dme1737
98 TITLE:=SMSC DME1737 and compatible monitoring support
99 KCONFIG:=CONFIG_SENSORS_DME1737
100 FILES:= \
101 $(LINUX_DIR)/drivers/hwmon/dme1737.ko
102 AUTOLOAD:=$(call AutoProbe,dme1737)
103 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
104endef
105
106define KernelPackage/hwmon-dme1737/description
107 SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support
108endef
109
110$(eval $(call KernelPackage,hwmon-dme1737))
111
112
113define KernelPackage/hwmon-drivetemp
114 TITLE:=Hard disk drives with temperature sensor
115 KCONFIG:=CONFIG_SENSORS_DRIVETEMP
116 FILES:=$(LINUX_DIR)/drivers/hwmon/drivetemp.ko
117 AUTOLOAD:=$(call AutoLoad,60,drivetemp)
118 $(call AddDepends/hwmon,+kmod-ata-core +kmod-scsi-core)
119endef
120
121define KernelPackage/hwmon-drivetemp/description
122 Kernel module for Hard disk drives with temperature sensor
123endef
124
125$(eval $(call KernelPackage,hwmon-drivetemp))
126
127
128define KernelPackage/hwmon-gsc
129 TITLE:=Gateworks System Controller support
130 KCONFIG:=CONFIG_MFD_GATEWORKS_GSC \
131 CONFIG_SENSORS_GSC
132 FILES:= \
133 $(LINUX_DIR)/drivers/mfd/gateworks-gsc.ko \
134 $(LINUX_DIR)/drivers/hwmon/gsc-hwmon.ko
135 AUTOLOAD:=$(call AutoLoad,20,gsc-hwmon,1)
136 $(call AddDepends/hwmon,@!LINUX_5_4 +kmod-i2c-core)
137endef
138
139define KernelPackage/hwmon-gsc/description
140 Kernel module for Gateworks System Controller with temperature sensor,
141ADCs, and FAN controller
142endef
143
144$(eval $(call KernelPackage,hwmon-gsc))
145
146
147define KernelPackage/hwmon-gpiofan
148 TITLE:=Generic GPIO FAN support
149 KCONFIG:=CONFIG_SENSORS_GPIO_FAN
150 FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
151 AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
152 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
153endef
154
155define KernelPackage/hwmon-gpiofan/description
156 Kernel module for GPIO controlled FANs
157endef
158
159$(eval $(call KernelPackage,hwmon-gpiofan))
160
161
162define KernelPackage/hwmon-f71882fg
163 TITLE:=F71882FG compatible monitoring support
164 KCONFIG:=CONFIG_SENSORS_F71882FG
165 FILES:=$(LINUX_DIR)/drivers/hwmon/f71882fg.ko
166 AUTOLOAD:=$(call AutoProbe,f71882fg)
167 $(call AddDepends/hwmon,@TARGET_x86)
168endef
169
170define KernelPackage/hwmon-f71882fg/description
171 Kernel module for hardware monitoring via many Fintek Super-IO chips.
172endef
173
174$(eval $(call KernelPackage,hwmon-f71882fg))
175
176
177define KernelPackage/hwmon-g762
178 TITLE:=G762/G763 fan speed PWM controller support
179 KCONFIG:=CONFIG_SENSORS_G762
180 FILES:=$(LINUX_DIR)/drivers/hwmon/g762.ko
181 AUTOLOAD:=$(call AutoProbe,g762)
182 $(call AddDepends/hwmon,+kmod-i2c-core)
183endef
184
185define KernelPackage/hwmon-g762/description
186 Kernel module for Global Mixed-mode Technology Inc G762 and G763 fan speed PWM controller chips.
187endef
188
189$(eval $(call KernelPackage,hwmon-g762))
190
191
192define KernelPackage/hwmon-ina209
193 TITLE:=INA209 monitoring support
194 KCONFIG:=CONFIG_SENSORS_INA209
195 FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko
196 AUTOLOAD:=$(call AutoProbe,ina209)
197 $(call AddDepends/hwmon,+kmod-i2c-core)
198endef
199
200define KernelPackage/hwmon-ina209/description
201 Kernel module for ina209 dc power monitor chips
202endef
203
204$(eval $(call KernelPackage,hwmon-ina209))
205
206
207define KernelPackage/hwmon-ina2xx
208 TITLE:=INA2XX monitoring support
209 KCONFIG:=CONFIG_SENSORS_INA2XX
210 FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
211 AUTOLOAD:=$(call AutoProbe,ina2xx)
212 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
213endef
214
215define KernelPackage/hwmon-ina2xx/description
216 Kernel module for ina2xx dc current monitor chips
217endef
218
219$(eval $(call KernelPackage,hwmon-ina2xx))
220
221
222define KernelPackage/hwmon-it87
223 TITLE:=IT87 monitoring support
224 KCONFIG:=CONFIG_SENSORS_IT87
225 FILES:=$(LINUX_DIR)/drivers/hwmon/it87.ko
226 AUTOLOAD:=$(call AutoProbe,it87)
227 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid +PACKAGE_kmod-thermal:kmod-thermal)
228endef
229
230define KernelPackage/hwmon-it87/description
231 Kernel module for it87 thermal and voltage monitor chip
232endef
233
234$(eval $(call KernelPackage,hwmon-it87))
235
236
237define KernelPackage/hwmon-jc42
238 TITLE:=Jedec JC42.4 compliant temperature sensors support
239 KCONFIG:=CONFIG_SENSORS_JC42
240 FILES:=$(LINUX_DIR)/drivers/hwmon/jc42.ko
241 AUTOLOAD:=$(call AutoProbe,jc42)
242 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
243endef
244
245define KernelPackage/hwmon-jc42/description
246 Kernel module for Jedec JC42.4 compliant temperature sensors
247endef
248
249$(eval $(call KernelPackage,hwmon-jc42))
250
251
252define KernelPackage/hwmon-lm63
253 TITLE:=LM63/64 monitoring support
254 KCONFIG:=CONFIG_SENSORS_LM63
255 FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
256 AUTOLOAD:=$(call AutoProbe,lm63)
257 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
258endef
259
260define KernelPackage/hwmon-lm63/description
261 Kernel module for lm63 and lm64 thermal monitor chip
262endef
263
264$(eval $(call KernelPackage,hwmon-lm63))
265
266
267define KernelPackage/hwmon-lm70
268 TITLE:=LM70 monitoring support
269 KCONFIG:=CONFIG_SENSORS_LM70 \
270 CONFIG_SPI=y \
271 CONFIG_SPI_MASTER=y
272 FILES:=$(LINUX_DIR)/drivers/hwmon/lm70.ko
273 AUTOLOAD:=$(call AutoProbe,lm70)
274 $(call AddDepends/hwmon)
275endef
276
277define KernelPackage/hwmon-lm70/description
278 Kernel module for lm70 and compatible thermal monitor chip
279endef
280
281$(eval $(call KernelPackage,hwmon-lm70))
282
283
284define KernelPackage/hwmon-lm75
285 TITLE:=LM75 monitoring support
286 KCONFIG:=CONFIG_SENSORS_LM75
287 FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
288 AUTOLOAD:=$(call AutoProbe,lm75)
289 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
290endef
291
292define KernelPackage/hwmon-lm75/description
293 Kernel module for lm75 thermal monitor chip
294endef
295
296$(eval $(call KernelPackage,hwmon-lm75))
297
298
299define KernelPackage/hwmon-lm77
300 TITLE:=LM77 monitoring support
301 KCONFIG:=CONFIG_SENSORS_LM77
302 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
303 AUTOLOAD:=$(call AutoProbe,lm77)
304 $(call AddDepends/hwmon,+kmod-i2c-core)
305endef
306
307define KernelPackage/hwmon-lm77/description
308 Kernel module for LM77 thermal monitor chip
309endef
310
311$(eval $(call KernelPackage,hwmon-lm77))
312
313
314define KernelPackage/hwmon-lm85
315 TITLE:=LM85 monitoring support
316 KCONFIG:=CONFIG_SENSORS_LM85
317 FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
318 AUTOLOAD:=$(call AutoProbe,lm85)
319 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
320endef
321
322define KernelPackage/hwmon-lm85/description
323 Kernel module for LM85 thermal monitor chip
324endef
325
326$(eval $(call KernelPackage,hwmon-lm85))
327
328
329define KernelPackage/hwmon-lm90
330 TITLE:=LM90 monitoring support
331 KCONFIG:=CONFIG_SENSORS_LM90
332 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
333 AUTOLOAD:=$(call AutoProbe,lm90)
334 $(call AddDepends/hwmon,+kmod-i2c-core)
335endef
336
337define KernelPackage/hwmon-lm90/description
338 Kernel module for LM90 thermal monitor chip
339endef
340
341$(eval $(call KernelPackage,hwmon-lm90))
342
343
344define KernelPackage/hwmon-lm92
345 TITLE:=LM92 monitoring support
346 KCONFIG:=CONFIG_SENSORS_LM92
347 FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
348 AUTOLOAD:=$(call AutoProbe,lm92)
349 $(call AddDepends/hwmon,+kmod-i2c-core)
350endef
351
352define KernelPackage/hwmon-lm92/description
353 Kernel module for LM92 thermal monitor chip
354endef
355
356$(eval $(call KernelPackage,hwmon-lm92))
357
358
359define KernelPackage/hwmon-lm95241
360 TITLE:=LM95241 monitoring support
361 KCONFIG:=CONFIG_SENSORS_LM95241
362 FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
363 AUTOLOAD:=$(call AutoProbe,lm95241)
364 $(call AddDepends/hwmon,+kmod-i2c-core)
365endef
366
367define KernelPackage/hwmon-lm95241/description
368 Kernel module for LM95241 thermal monitor chip
369endef
370
371$(eval $(call KernelPackage,hwmon-lm95241))
372
373
374define KernelPackage/hwmon-ltc4151
375 TITLE:=LTC4151 monitoring support
376 KCONFIG:=CONFIG_SENSORS_LTC4151
377 FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
378 AUTOLOAD:=$(call AutoProbe,ltc4151)
379 $(call AddDepends/hwmon,+kmod-i2c-core)
380endef
381
382define KernelPackage/hwmon-ltc4151/description
383 Kernel module for Linear Technology LTC4151 current and voltage monitor chip
384endef
385
386$(eval $(call KernelPackage,hwmon-ltc4151))
387
388
389define KernelPackage/hwmon-max6642
390 TITLE:=MAX6642 monitoring support
391 KCONFIG:=CONFIG_SENSORS_MAX6642
392 FILES:=$(LINUX_DIR)/drivers/hwmon/max6642.ko
393 AUTOLOAD:=$(call AutoLoad,60,max6642 max6642)
394 $(call AddDepends/hwmon,+kmod-i2c-core)
395endef
396
397define KernelPackage/hwmon-max6642/description
398 Kernel module for Maxim MAX6642 temperature monitor
399endef
400
401$(eval $(call KernelPackage,hwmon-max6642))
402
403
404define KernelPackage/hwmon-max6697
405 TITLE:=MAX6697 monitoring support
406 KCONFIG:=CONFIG_SENSORS_MAX6697
407 FILES:=$(LINUX_DIR)/drivers/hwmon/max6697.ko
408 AUTOLOAD:=$(call AutoProbe,max6697)
409 $(call AddDepends/hwmon,+kmod-i2c-core)
410endef
411
412define KernelPackage/hwmon-max6697/description
413 Kernel module for Maxim MAX6697 temperature monitor
414endef
415
416$(eval $(call KernelPackage,hwmon-max6697))
417
418
419define KernelPackage/hwmon-mcp3021
420 TITLE:=MCP3021/3221 monitoring support
421 KCONFIG:=CONFIG_SENSORS_MCP3021
422 FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko
423 AUTOLOAD:=$(call AutoProbe,mcp3021)
424 $(call AddDepends/hwmon,+kmod-i2c-core)
425endef
426
427define KernelPackage/hwmon-mcp3021/description
428 Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip
429endef
430
431$(eval $(call KernelPackage,hwmon-mcp3021))
432
433
434define KernelPackage/hwmon-nct6775
435 TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
436 KCONFIG:=CONFIG_SENSORS_NCT6775
437 FILES:= \
438 $(LINUX_DIR)/drivers/hwmon/nct6775.ko \
439 $(LINUX_DIR)/drivers/hwmon/nct6775-core.ko
440 AUTOLOAD:=$(call AutoProbe,nct6775)
441 $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid +kmod-regmap-core)
442endef
443
444define KernelPackage/hwmon-nct6775/description
445 Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
446endef
447
448$(eval $(call KernelPackage,hwmon-nct6775))
449
450
451define KernelPackage/hwmon-nct7802
452 TITLE:=NCT7802Y and compatibles monitoring support
453 KCONFIG:=CONFIG_SENSORS_NCT7802
454 FILES:=$(LINUX_DIR)/drivers/hwmon/nct7802.ko
455 AUTOLOAD:=$(call AutoProbe,nct7802)
456 $(call AddDepends/hwmon,+kmod-regmap-i2c)
457endef
458
459define KernelPackage/hwmon-nct7802/description
460 Kernel module for NCT7802Y thermal monitor chip
461endef
462
463$(eval $(call KernelPackage,hwmon-nct7802))
464
465
466define KernelPackage/hwmon-pc87360
467 TITLE:=PC87360 monitoring support
468 KCONFIG:=CONFIG_SENSORS_PC87360
469 FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
470 AUTOLOAD:=$(call AutoProbe,pc87360)
471 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
472endef
473
474define KernelPackage/hwmon-pc87360/description
475 Kernel modules for PC87360 chips
476endef
477
478$(eval $(call KernelPackage,hwmon-pc87360))
479
480
481define KernelPackage/pmbus-core
482 TITLE:=PMBus support
483 KCONFIG:= CONFIG_PMBUS
484 FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
485 $(call AddDepends/hwmon,+kmod-i2c-core)
486endef
487
488define KernelPackage/pmbus-core/description
489 Kernel modules for Power Management Bus
490endef
491
492$(eval $(call KernelPackage,pmbus-core))
493
494
495define KernelPackage/pmbus-zl6100
496 TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
497 KCONFIG:=CONFIG_SENSORS_ZL6100
498 FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
499 AUTOLOAD:=$(call AutoProbe,zl6100)
500 $(call AddDepends/hwmon, +kmod-pmbus-core)
501endef
502
503define KernelPackage/pmbus-zl6100/description
504 Kernel module for Intersil / Zilker Labs ZL6100 and
505compatible digital DC-DC controllers
506endef
507
508$(eval $(call KernelPackage,pmbus-zl6100))
509
510
511define KernelPackage/hwmon-pwmfan
512 TITLE:=Generic PWM FAN support
513 KCONFIG:=CONFIG_SENSORS_PWM_FAN
514 FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
515 AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
516 $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
517endef
518
519define KernelPackage/hwmon-pwmfan/description
520 Kernel module for PWM controlled FANs
521endef
522
523$(eval $(call KernelPackage,hwmon-pwmfan))
524
525
526define KernelPackage/hwmon-sch5627
527 TITLE:=SMSC SCH5627 monitoring support
528 KCONFIG:= \
529 CONFIG_SENSORS_SCH5627 \
530 CONFIG_WATCHDOG_CORE=y
531 FILES:= \
532 $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
533 $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
534 AUTOLOAD:=$(call AutoProbe,sch5627)
535 $(call AddDepends/hwmon,+kmod-i2c-core)
536endef
537
538define KernelPackage/hwmon-sch5627/description
539 SMSC SCH5627 Super I/O chips include complete hardware monitoring
540endef
541
542$(eval $(call KernelPackage,hwmon-sch5627))
543
544
545define KernelPackage/hwmon-sht21
546 TITLE:=Sensiron SHT21 and compat. monitoring support
547 KCONFIG:=CONFIG_SENSORS_SHT21
548 FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
549 AUTOLOAD:=$(call AutoProbe,sht21)
550 $(call AddDepends/hwmon,+kmod-i2c-core)
551endef
552
553define KernelPackage/hwmon-sht21/description
554 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
555endef
556
557$(eval $(call KernelPackage,hwmon-sht21))
558
559
560define KernelPackage/hwmon-sht3x
561 TITLE:=Sensiron SHT3x and compat. monitoring support
562 KCONFIG:=CONFIG_SENSORS_SHT3x
563 FILES:=$(LINUX_DIR)/drivers/hwmon/sht3x.ko
564 AUTOLOAD:=$(call AutoProbe,sht3x)
565 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-lib-crc8)
566endef
567
568define KernelPackage/hwmon-sht3x/description
569 Kernel module for Sensirion SHT3x temperature and humidity sensors chip
570endef
571
572$(eval $(call KernelPackage,hwmon-sht3x))
573
574
575define KernelPackage/hwmon-tc654
576 TITLE:=TC654 monitoring support
577 KCONFIG:=CONFIG_SENSORS_TC654
578 FILES:=$(LINUX_DIR)/drivers/hwmon/tc654.ko
579 AUTOLOAD:=$(call AutoLoad,60,tc654)
580 $(call AddDepends/hwmon,+kmod-i2c-core)
581endef
582
583define KernelPackage/hwmon-tc654/description
584 Kernel module for Microchip TC654/TC655 and compatibles
585endef
586
587$(eval $(call KernelPackage,hwmon-tc654))
588
589
590define KernelPackage/hwmon-tmp102
591 TITLE:=Texas Instruments TMP102 monitoring support
592 KCONFIG:=CONFIG_SENSORS_TMP102
593 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
594 AUTOLOAD:=$(call AutoProbe,tmp102)
595 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
596endef
597
598define KernelPackage/hwmon-tmp102/description
599 Kernel module for Texas Instruments TMP102 temperature sensors chip
600endef
601
602$(eval $(call KernelPackage,hwmon-tmp102))
603
604
605define KernelPackage/hwmon-tmp103
606 TITLE:=Texas Instruments TMP103 monitoring support
607 KCONFIG:=CONFIG_SENSORS_TMP103
608 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
609 AUTOLOAD:=$(call AutoProbe,tmp103)
610 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
611endef
612
613define KernelPackage/hwmon-tmp103/description
614 Kernel module for Texas Instruments TMP103 temperature sensors chip
615endef
616
617$(eval $(call KernelPackage,hwmon-tmp103))
618
619
620define KernelPackage/hwmon-tmp421
621 TITLE:=TI TMP421 and compatible monitoring support
622 KCONFIG:=CONFIG_SENSORS_TMP421
623 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
624 AUTOLOAD:=$(call AutoLoad,60,tmp421)
625 $(call AddDepends/hwmon,+kmod-i2c-core)
626endef
627
628define KernelPackage/hwmon-tmp421/description
629 Kernel module for the Texas Instruments TMP421 and compatible chips.
630endef
631
632$(eval $(call KernelPackage,hwmon-tmp421))
633
634
635define KernelPackage/hwmon-tps23861
636 TITLE:=Texas Instruments TPS23861 PoE PSE
637 KCONFIG:=CONFIG_SENSORS_TPS23861
638 FILES:=$(LINUX_DIR)/drivers/hwmon/tps23861.ko
639 AUTOLOAD:=$(call AutoProbe,tps23861)
640 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
641endef
642
643define KernelPackage/hwmon-tps23861/description
644 Kernel module for the Texas Instruments TPS23861 802.3at PoE PSE chips.
645endef
646
647$(eval $(call KernelPackage,hwmon-tps23861))
648
649define KernelPackage/hwmon-vid
650 TITLE:=VID/VRM/VRD voltage conversion module.
651 KCONFIG:=CONFIG_HWMON_VID
652 FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
653 AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
654 $(call AddDepends/hwmon,)
655endef
656
657define KernelPackage/hwmon-vid/description
658 VID/VRM/VRD voltage conversion module for hardware monitoring
659endef
660
661$(eval $(call KernelPackage,hwmon-vid))
662
663
664define KernelPackage/hwmon-w83627ehf
665 TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
666 KCONFIG:=CONFIG_SENSORS_W83627EHF
667 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
668 AUTOLOAD:=$(call AutoProbe,w83627ehf)
669 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
670endef
671
672define KernelPackage/hwmon-w83627ehf/description
673 Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
674 Support for NCT6775F and NCT6776F has been removed from this driver in favour of
675 using the nct6775 driver to handle those chips.
676endef
677
678$(eval $(call KernelPackage,hwmon-w83627ehf))
679
680
681define KernelPackage/hwmon-w83627hf
682 TITLE:=Winbond W83627HF monitoring support
683 KCONFIG:=CONFIG_SENSORS_W83627HF
684 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
685 AUTOLOAD:=$(call AutoLoad,50,w83627hf)
686 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
687endef
688
689define KernelPackage/hwmon-w83627hf/description
690 Kernel module for the Winbond W83627HF chips.
691endef
692
693$(eval $(call KernelPackage,hwmon-w83627hf))
694
695
696define KernelPackage/hwmon-w83793
697 TITLE:=Winbond W83793G/R monitoring support
698 KCONFIG:=CONFIG_SENSORS_W83793
699 FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
700 AUTOLOAD:=$(call AutoProbe,w83793)
701 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
702endef
703
704define KernelPackage/hwmon-w83793/description
705 Kernel module for the Winbond W83793G and W83793R chips.
706endef
707
708$(eval $(call KernelPackage,hwmon-w83793))
709
710
711define KernelPackage/hwmon-adcxx
712 TITLE:=ADCxx monitoring support
713 KCONFIG:=CONFIG_SENSORS_ADCXX
714 FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
715 AUTOLOAD:=$(call AutoLoad,60,adcxx)
716 $(call AddDepends/hwmon,)
717endef
718
719define KernelPackage/hwmon-adcxx/description
720 Kernel module for the National Semiconductor
721 ADC<bb><c>S<sss> chip family, where
722 * bb is the resolution in number of bits (8, 10, 12)
723 * c is the number of channels (1, 2, 4, 8)
724 * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
725 kSPS and 101 for 1 MSPS)
726
727 Examples : ADC081S101, ADC124S501, ...
728endef
729
730$(eval $(call KernelPackage,hwmon-adcxx))
731
732