OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 27... | Line 27... | |||
27 | define AddDepends/hwmon |
27 | define AddDepends/hwmon |
|
28 | SUBMENU:=$(HWMON_MENU) |
28 | SUBMENU:=$(HWMON_MENU) |
|
29 | DEPENDS:=kmod-hwmon-core $(1) |
29 | DEPENDS:=kmod-hwmon-core $(1) |
|
30 | endef |
30 | endef |
|
Line 31... | Line -... | |||
31 | |
- | ||
32 | define KernelPackage/hwmon-ads1015 |
- | ||
33 | TITLE:=Texas Instruments ADS1015 |
- | ||
34 | KCONFIG:= CONFIG_SENSORS_ADS1015 |
- | ||
35 | FILES:= $(LINUX_DIR)/drivers/hwmon/ads1015.ko |
- | ||
36 | AUTOLOAD:=$(call AutoLoad,60,ads1015) |
- | ||
37 | $(call AddDepends/hwmon,+kmod-i2c-core) |
- | ||
38 | endef |
- | ||
39 | |
- | ||
40 | define KernelPackage/hwmon-ads1015/description |
- | ||
41 | Kernel module for Texas Instruments ADS1015 Analog-to-Digital converter |
- | ||
42 | endef |
- | ||
43 | |
- | ||
44 | $(eval $(call KernelPackage,hwmon-ads1015)) |
- | ||
45 | |
31 | |
|
46 | define KernelPackage/hwmon-adt7410 |
32 | define KernelPackage/hwmon-adt7410 |
|
47 | TITLE:=ADT7410 monitoring support |
33 | TITLE:=ADT7410 monitoring support |
|
48 | KCONFIG:= \ |
34 | KCONFIG:= \ |
|
49 | CONFIG_SENSORS_ADT7X10 \ |
35 | CONFIG_SENSORS_ADT7X10 \ |
|
Line 110... | Line 96... | |||
110 | define KernelPackage/hwmon-ina2xx |
96 | define KernelPackage/hwmon-ina2xx |
|
111 | TITLE:=INA2XX monitoring support |
97 | TITLE:=INA2XX monitoring support |
|
112 | KCONFIG:=CONFIG_SENSORS_INA2XX |
98 | KCONFIG:=CONFIG_SENSORS_INA2XX |
|
113 | FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko |
99 | FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko |
|
114 | AUTOLOAD:=$(call AutoProbe,ina2xx) |
100 | AUTOLOAD:=$(call AutoProbe,ina2xx) |
|
115 | $(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_3_18:kmod-regmap-i2c) |
101 | $(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_3_18:kmod-regmap) |
|
116 | endef |
102 | endef |
|
Line 117... | Line 103... | |||
117 | |
103 | |
|
118 | define KernelPackage/hwmon-ina2xx/description |
104 | define KernelPackage/hwmon-ina2xx/description |
|
119 | Kernel module for ina2xx dc current monitor chips |
105 | Kernel module for ina2xx dc current monitor chips |
|
Line 140... | Line 126... | |||
140 | define KernelPackage/hwmon-lm63 |
126 | define KernelPackage/hwmon-lm63 |
|
141 | TITLE:=LM63/64 monitoring support |
127 | TITLE:=LM63/64 monitoring support |
|
142 | KCONFIG:=CONFIG_SENSORS_LM63 |
128 | KCONFIG:=CONFIG_SENSORS_LM63 |
|
143 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko |
129 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko |
|
144 | AUTOLOAD:=$(call AutoProbe,lm63) |
130 | AUTOLOAD:=$(call AutoProbe,lm63) |
|
145 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c) |
131 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap) |
|
146 | endef |
132 | endef |
|
Line 147... | Line 133... | |||
147 | |
133 | |
|
148 | define KernelPackage/hwmon-lm63/description |
134 | define KernelPackage/hwmon-lm63/description |
|
149 | Kernel module for lm63 and lm64 thermal monitor chip |
135 | Kernel module for lm63 and lm64 thermal monitor chip |
|
Line 155... | Line 141... | |||
155 | define KernelPackage/hwmon-lm75 |
141 | define KernelPackage/hwmon-lm75 |
|
156 | TITLE:=LM75 monitoring support |
142 | TITLE:=LM75 monitoring support |
|
157 | KCONFIG:=CONFIG_SENSORS_LM75 |
143 | KCONFIG:=CONFIG_SENSORS_LM75 |
|
158 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko |
144 | FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko |
|
159 | AUTOLOAD:=$(call AutoProbe,lm75) |
145 | AUTOLOAD:=$(call AutoProbe,lm75) |
|
160 | $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c) |
146 | $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap) |
|
161 | endef |
147 | endef |
|
Line 162... | Line 148... | |||
162 | |
148 | |
|
163 | define KernelPackage/hwmon-lm75/description |
149 | define KernelPackage/hwmon-lm75/description |
|
164 | Kernel module for lm75 thermal monitor chip |
150 | Kernel module for lm75 thermal monitor chip |
|
Line 285... | Line 271... | |||
285 | endef |
271 | endef |
|
Line 286... | Line 272... | |||
286 | |
272 | |
|
Line 287... | Line -... | |||
287 | $(eval $(call KernelPackage,hwmon-pc87360)) |
- | ||
288 | |
- | ||
289 | |
- | ||
290 | define KernelPackage/pmbus-core |
- | ||
291 | TITLE:=PMBus support |
- | ||
292 | KCONFIG:= CONFIG_PMBUS |
- | ||
293 | FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko |
- | ||
294 | $(call AddDepends/hwmon,+kmod-i2c-core) |
- | ||
295 | endef |
- | ||
296 | |
- | ||
297 | define KernelPackage/pmbus-core/description |
- | ||
298 | Kernel modules for Power Management Bus |
- | ||
299 | endef |
- | ||
300 | |
- | ||
301 | $(eval $(call KernelPackage,pmbus-core)) |
- | ||
302 | |
- | ||
303 | |
- | ||
304 | define KernelPackage/pmbus-zl6100 |
- | ||
305 | TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring |
- | ||
306 | KCONFIG:=CONFIG_SENSORS_ZL6100 |
- | ||
307 | FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko |
- | ||
308 | AUTOLOAD:=$(call AutoProbe,zl6100) |
- | ||
309 | $(call AddDepends/hwmon, +kmod-pmbus-core) |
- | ||
310 | endef |
- | ||
311 | |
- | ||
312 | define KernelPackage/hwmon-sht21/description |
- | ||
313 | Kernel module for Intersil / Zilker Labs ZL6100 and |
- | ||
314 | compatible digital DC-DC controllers |
- | ||
315 | endef |
- | ||
316 | |
- | ||
317 | $(eval $(call KernelPackage,pmbus-zl6100)) |
273 | $(eval $(call KernelPackage,hwmon-pc87360)) |
|
318 | |
274 | |
|
319 | |
275 | |
|
320 | define KernelPackage/hwmon-pwmfan |
276 | define KernelPackage/hwmon-pwmfan |
|
321 | TITLE:=Generic PWM FAN support |
277 | TITLE:=Generic PWM FAN support |
|
Line 367... | Line 323... | |||
367 | define KernelPackage/hwmon-tmp102 |
323 | define KernelPackage/hwmon-tmp102 |
|
368 | TITLE:=Texas Instruments TMP102 monitoring support |
324 | TITLE:=Texas Instruments TMP102 monitoring support |
|
369 | KCONFIG:=CONFIG_SENSORS_TMP102 |
325 | KCONFIG:=CONFIG_SENSORS_TMP102 |
|
370 | FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko |
326 | FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko |
|
371 | AUTOLOAD:=$(call AutoProbe,tmp102) |
327 | AUTOLOAD:=$(call AutoProbe,tmp102) |
|
372 | $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c) |
328 | $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap) |
|
373 | endef |
329 | endef |
|
Line 374... | Line 330... | |||
374 | |
330 | |
|
375 | define KernelPackage/hwmon-tmp102/description |
331 | define KernelPackage/hwmon-tmp102/description |
|
376 | Kernel module for Texas Instruments TMP102 temperature sensors chip |
332 | Kernel module for Texas Instruments TMP102 temperature sensors chip |
|
Line 382... | Line 338... | |||
382 | define KernelPackage/hwmon-tmp103 |
338 | define KernelPackage/hwmon-tmp103 |
|
383 | TITLE:=Texas Instruments TMP103 monitoring support |
339 | TITLE:=Texas Instruments TMP103 monitoring support |
|
384 | KCONFIG:=CONFIG_SENSORS_TMP103 |
340 | KCONFIG:=CONFIG_SENSORS_TMP103 |
|
385 | FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko |
341 | FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko |
|
386 | AUTOLOAD:=$(call AutoProbe,tmp103) |
342 | AUTOLOAD:=$(call AutoProbe,tmp103) |
|
387 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c) |
343 | $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap) |
|
388 | endef |
344 | endef |
|
Line 389... | Line 345... | |||
389 | |
345 | |
|
390 | define KernelPackage/hwmon-tmp103/description |
346 | define KernelPackage/hwmon-tmp103/description |
|
391 | Kernel module for Texas Instruments TMP103 temperature sensors chip |
347 | Kernel module for Texas Instruments TMP103 temperature sensors chip |
|
Line 469... | Line 425... | |||
469 | endef |
425 | endef |
|
Line 470... | Line 426... | |||
470 | |
426 | |
|
Line 471... | Line -... | |||
471 | $(eval $(call KernelPackage,hwmon-w83793)) |
- | ||
472 | |
- | ||
473 | |
- | ||
474 | define KernelPackage/hwmon-adcxx |
- | ||
475 | TITLE:=ADCxx monitoring support |
- | ||
476 | KCONFIG:=CONFIG_SENSORS_ADCXX |
- | ||
477 | FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko |
- | ||
478 | AUTOLOAD:=$(call AutoLoad,60,adcxx) |
- | ||
479 | $(call AddDepends/hwmon,) |
- | ||
480 | endef |
- | ||
481 | |
- | ||
482 | define KernelPackage/hwmon-adcxx/description |
- | ||
483 | Kernel module for the National Semiconductor |
- | ||
484 | ADC<bb><c>S<sss> chip family, where |
- | ||
485 | * bb is the resolution in number of bits (8, 10, 12) |
- | ||
486 | * c is the number of channels (1, 2, 4, 8) |
- | ||
487 | * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500 |
- | ||
488 | kSPS and 101 for 1 MSPS) |
- | ||
489 | |
- | ||
490 | Examples : ADC081S101, ADC124S501, ... |
- | ||
491 | endef |
- | ||
492 | |
- |