OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 2 Rev 3
1 # 1 #
2 # Copyright (C) 2006-2014 OpenWrt.org 2 # Copyright (C) 2006-2014 OpenWrt.org
3 # 3 #
4 # This is free software, licensed under the GNU General Public License v2. 4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information. 5 # See /LICENSE for more information.
6 # 6 #
7   7  
8 HWMON_MENU:=Hardware Monitoring Support 8 HWMON_MENU:=Hardware Monitoring Support
9   9  
10 define KernelPackage/hwmon-core 10 define KernelPackage/hwmon-core
11 SUBMENU:=$(HWMON_MENU) 11 SUBMENU:=$(HWMON_MENU)
12 TITLE:=Hardware monitoring support 12 TITLE:=Hardware monitoring support
13 KCONFIG:= \ 13 KCONFIG:= \
14 CONFIG_HWMON \ 14 CONFIG_HWMON \
15 CONFIG_HWMON_DEBUG_CHIP=n 15 CONFIG_HWMON_DEBUG_CHIP=n
16 FILES:= \ 16 FILES:= \
17 $(LINUX_DIR)/drivers/hwmon/hwmon.ko 17 $(LINUX_DIR)/drivers/hwmon/hwmon.ko
18 endef 18 endef
19   19  
20 define KernelPackage/hwmon-core/description 20 define KernelPackage/hwmon-core/description
21 Kernel modules for hardware monitoring 21 Kernel modules for hardware monitoring
22 endef 22 endef
23   23  
24 $(eval $(call KernelPackage,hwmon-core)) 24 $(eval $(call KernelPackage,hwmon-core))
25   25  
26   26  
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
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 \
50 CONFIG_SENSORS_ADT7410 36 CONFIG_SENSORS_ADT7410
51 FILES:= \ 37 FILES:= \
52 $(LINUX_DIR)/drivers/hwmon/adt7x10.ko \ 38 $(LINUX_DIR)/drivers/hwmon/adt7x10.ko \
53 $(LINUX_DIR)/drivers/hwmon/adt7410.ko 39 $(LINUX_DIR)/drivers/hwmon/adt7410.ko
54 AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410) 40 AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410)
55 $(call AddDepends/hwmon,+kmod-i2c-core) 41 $(call AddDepends/hwmon,+kmod-i2c-core)
56 endef 42 endef
57   43  
58 define KernelPackage/hwmon-adt7410/description 44 define KernelPackage/hwmon-adt7410/description
59 Kernel module for ADT7410/7420 I2C thermal monitor chip 45 Kernel module for ADT7410/7420 I2C thermal monitor chip
60 endef 46 endef
61   47  
62 $(eval $(call KernelPackage,hwmon-adt7410)) 48 $(eval $(call KernelPackage,hwmon-adt7410))
63   49  
64   50  
65 define KernelPackage/hwmon-adt7475 51 define KernelPackage/hwmon-adt7475
66 TITLE:=ADT7473/7475/7476/7490 monitoring support 52 TITLE:=ADT7473/7475/7476/7490 monitoring support
67 KCONFIG:=CONFIG_SENSORS_ADT7475 53 KCONFIG:=CONFIG_SENSORS_ADT7475
68 FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko 54 FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko
69 AUTOLOAD:=$(call AutoProbe,adt7475) 55 AUTOLOAD:=$(call AutoProbe,adt7475)
70 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) 56 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
71 endef 57 endef
72   58  
73 define KernelPackage/hwmon-adt7475/description 59 define KernelPackage/hwmon-adt7475/description
74 Kernel module for ADT7473/7475/7476/7490 thermal monitor chip 60 Kernel module for ADT7473/7475/7476/7490 thermal monitor chip
75 endef 61 endef
76   62  
77 $(eval $(call KernelPackage,hwmon-adt7475)) 63 $(eval $(call KernelPackage,hwmon-adt7475))
78   64  
79   65  
80 define KernelPackage/hwmon-gpiofan 66 define KernelPackage/hwmon-gpiofan
81 TITLE:=Generic GPIO FAN support 67 TITLE:=Generic GPIO FAN support
82 KCONFIG:=CONFIG_SENSORS_GPIO_FAN 68 KCONFIG:=CONFIG_SENSORS_GPIO_FAN
83 FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko 69 FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
84 AUTOLOAD:=$(call AutoLoad,60,gpio-fan) 70 AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
85 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal) 71 $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
86 endef 72 endef
87   73  
88 define KernelPackage/hwmon-gpiofan/description 74 define KernelPackage/hwmon-gpiofan/description
89 Kernel module for GPIO controlled FANs 75 Kernel module for GPIO controlled FANs
90 endef 76 endef
91   77  
92 $(eval $(call KernelPackage,hwmon-gpiofan)) 78 $(eval $(call KernelPackage,hwmon-gpiofan))
93   79  
94   80  
95 define KernelPackage/hwmon-ina209 81 define KernelPackage/hwmon-ina209
96 TITLE:=INA209 monitoring support 82 TITLE:=INA209 monitoring support
97 KCONFIG:=CONFIG_SENSORS_INA209 83 KCONFIG:=CONFIG_SENSORS_INA209
98 FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko 84 FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko
99 AUTOLOAD:=$(call AutoProbe,ina209) 85 AUTOLOAD:=$(call AutoProbe,ina209)
100 $(call AddDepends/hwmon,+kmod-i2c-core) 86 $(call AddDepends/hwmon,+kmod-i2c-core)
101 endef 87 endef
102   88  
103 define KernelPackage/hwmon-ina209/description 89 define KernelPackage/hwmon-ina209/description
104 Kernel module for ina209 dc power monitor chips 90 Kernel module for ina209 dc power monitor chips
105 endef 91 endef
106   92  
107 $(eval $(call KernelPackage,hwmon-ina209)) 93 $(eval $(call KernelPackage,hwmon-ina209))
108   94  
109   95  
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
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
120 endef 106 endef
121   107  
122 $(eval $(call KernelPackage,hwmon-ina2xx)) 108 $(eval $(call KernelPackage,hwmon-ina2xx))
123   109  
124   110  
125 define KernelPackage/hwmon-it87 111 define KernelPackage/hwmon-it87
126 TITLE:=IT87 monitoring support 112 TITLE:=IT87 monitoring support
127 KCONFIG:=CONFIG_SENSORS_IT87 113 KCONFIG:=CONFIG_SENSORS_IT87
128 FILES:=$(LINUX_DIR)/drivers/hwmon/it87.ko 114 FILES:=$(LINUX_DIR)/drivers/hwmon/it87.ko
129 AUTOLOAD:=$(call AutoProbe,it87) 115 AUTOLOAD:=$(call AutoProbe,it87)
130 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid +PACKAGE_kmod-thermal:kmod-thermal) 116 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid +PACKAGE_kmod-thermal:kmod-thermal)
131 endef 117 endef
132   118  
133 define KernelPackage/hwmon-it87/description 119 define KernelPackage/hwmon-it87/description
134 Kernel module for it87 thermal and voltage monitor chip 120 Kernel module for it87 thermal and voltage monitor chip
135 endef 121 endef
136   122  
137 $(eval $(call KernelPackage,hwmon-it87)) 123 $(eval $(call KernelPackage,hwmon-it87))
138   124  
139   125  
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
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
150 endef 136 endef
151   137  
152 $(eval $(call KernelPackage,hwmon-lm63)) 138 $(eval $(call KernelPackage,hwmon-lm63))
153   139  
154   140  
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
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
165 endef 151 endef
166   152  
167 $(eval $(call KernelPackage,hwmon-lm75)) 153 $(eval $(call KernelPackage,hwmon-lm75))
168   154  
169   155  
170 define KernelPackage/hwmon-lm77 156 define KernelPackage/hwmon-lm77
171 TITLE:=LM77 monitoring support 157 TITLE:=LM77 monitoring support
172 KCONFIG:=CONFIG_SENSORS_LM77 158 KCONFIG:=CONFIG_SENSORS_LM77
173 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko 159 FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
174 AUTOLOAD:=$(call AutoProbe,lm77) 160 AUTOLOAD:=$(call AutoProbe,lm77)
175 $(call AddDepends/hwmon,+kmod-i2c-core) 161 $(call AddDepends/hwmon,+kmod-i2c-core)
176 endef 162 endef
177   163  
178 define KernelPackage/hwmon-lm77/description 164 define KernelPackage/hwmon-lm77/description
179 Kernel module for LM77 thermal monitor chip 165 Kernel module for LM77 thermal monitor chip
180 endef 166 endef
181   167  
182 $(eval $(call KernelPackage,hwmon-lm77)) 168 $(eval $(call KernelPackage,hwmon-lm77))
183   169  
184   170  
185 define KernelPackage/hwmon-lm85 171 define KernelPackage/hwmon-lm85
186 TITLE:=LM85 monitoring support 172 TITLE:=LM85 monitoring support
187 KCONFIG:=CONFIG_SENSORS_LM85 173 KCONFIG:=CONFIG_SENSORS_LM85
188 FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko 174 FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
189 AUTOLOAD:=$(call AutoProbe,lm85) 175 AUTOLOAD:=$(call AutoProbe,lm85)
190 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) 176 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
191 endef 177 endef
192   178  
193 define KernelPackage/hwmon-lm85/description 179 define KernelPackage/hwmon-lm85/description
194 Kernel module for LM85 thermal monitor chip 180 Kernel module for LM85 thermal monitor chip
195 endef 181 endef
196   182  
197 $(eval $(call KernelPackage,hwmon-lm85)) 183 $(eval $(call KernelPackage,hwmon-lm85))
198   184  
199   185  
200 define KernelPackage/hwmon-lm90 186 define KernelPackage/hwmon-lm90
201 TITLE:=LM90 monitoring support 187 TITLE:=LM90 monitoring support
202 KCONFIG:=CONFIG_SENSORS_LM90 188 KCONFIG:=CONFIG_SENSORS_LM90
203 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko 189 FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
204 AUTOLOAD:=$(call AutoProbe,lm90) 190 AUTOLOAD:=$(call AutoProbe,lm90)
205 $(call AddDepends/hwmon,+kmod-i2c-core) 191 $(call AddDepends/hwmon,+kmod-i2c-core)
206 endef 192 endef
207   193  
208 define KernelPackage/hwmon-lm90/description 194 define KernelPackage/hwmon-lm90/description
209 Kernel module for LM90 thermal monitor chip 195 Kernel module for LM90 thermal monitor chip
210 endef 196 endef
211   197  
212 $(eval $(call KernelPackage,hwmon-lm90)) 198 $(eval $(call KernelPackage,hwmon-lm90))
213   199  
214   200  
215 define KernelPackage/hwmon-lm92 201 define KernelPackage/hwmon-lm92
216 TITLE:=LM92 monitoring support 202 TITLE:=LM92 monitoring support
217 KCONFIG:=CONFIG_SENSORS_LM92 203 KCONFIG:=CONFIG_SENSORS_LM92
218 FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko 204 FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
219 AUTOLOAD:=$(call AutoProbe,lm92) 205 AUTOLOAD:=$(call AutoProbe,lm92)
220 $(call AddDepends/hwmon,+kmod-i2c-core) 206 $(call AddDepends/hwmon,+kmod-i2c-core)
221 endef 207 endef
222   208  
223 define KernelPackage/hwmon-lm92/description 209 define KernelPackage/hwmon-lm92/description
224 Kernel module for LM92 thermal monitor chip 210 Kernel module for LM92 thermal monitor chip
225 endef 211 endef
226   212  
227 $(eval $(call KernelPackage,hwmon-lm92)) 213 $(eval $(call KernelPackage,hwmon-lm92))
228   214  
229   215  
230 define KernelPackage/hwmon-lm95241 216 define KernelPackage/hwmon-lm95241
231 TITLE:=LM95241 monitoring support 217 TITLE:=LM95241 monitoring support
232 KCONFIG:=CONFIG_SENSORS_LM95241 218 KCONFIG:=CONFIG_SENSORS_LM95241
233 FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko 219 FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
234 AUTOLOAD:=$(call AutoProbe,lm95241) 220 AUTOLOAD:=$(call AutoProbe,lm95241)
235 $(call AddDepends/hwmon,+kmod-i2c-core) 221 $(call AddDepends/hwmon,+kmod-i2c-core)
236 endef 222 endef
237   223  
238 define KernelPackage/hwmon-lm95241/description 224 define KernelPackage/hwmon-lm95241/description
239 Kernel module for LM95241 thermal monitor chip 225 Kernel module for LM95241 thermal monitor chip
240 endef 226 endef
241   227  
242 $(eval $(call KernelPackage,hwmon-lm95241)) 228 $(eval $(call KernelPackage,hwmon-lm95241))
243   229  
244   230  
245 define KernelPackage/hwmon-ltc4151 231 define KernelPackage/hwmon-ltc4151
246 TITLE:=LTC4151 monitoring support 232 TITLE:=LTC4151 monitoring support
247 KCONFIG:=CONFIG_SENSORS_LTC4151 233 KCONFIG:=CONFIG_SENSORS_LTC4151
248 FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko 234 FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
249 AUTOLOAD:=$(call AutoProbe,ltc4151) 235 AUTOLOAD:=$(call AutoProbe,ltc4151)
250 $(call AddDepends/hwmon,+kmod-i2c-core) 236 $(call AddDepends/hwmon,+kmod-i2c-core)
251 endef 237 endef
252   238  
253 define KernelPackage/hwmon-ltc4151/description 239 define KernelPackage/hwmon-ltc4151/description
254 Kernel module for Linear Technology LTC4151 current and voltage monitor chip 240 Kernel module for Linear Technology LTC4151 current and voltage monitor chip
255 endef 241 endef
256   242  
257 $(eval $(call KernelPackage,hwmon-ltc4151)) 243 $(eval $(call KernelPackage,hwmon-ltc4151))
258   244  
259   245  
260 define KernelPackage/hwmon-nct6775 246 define KernelPackage/hwmon-nct6775
261 TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support 247 TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
262 KCONFIG:=CONFIG_SENSORS_NCT6775 248 KCONFIG:=CONFIG_SENSORS_NCT6775
263 FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko 249 FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko
264 AUTOLOAD:=$(call AutoProbe,nct6775) 250 AUTOLOAD:=$(call AutoProbe,nct6775)
265 $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid) 251 $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid)
266 endef 252 endef
267   253  
268 define KernelPackage/hwmon-nct6775/description 254 define KernelPackage/hwmon-nct6775/description
269 Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip 255 Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
270 endef 256 endef
271   257  
272 $(eval $(call KernelPackage,hwmon-nct6775)) 258 $(eval $(call KernelPackage,hwmon-nct6775))
273   259  
274   260  
275 define KernelPackage/hwmon-pc87360 261 define KernelPackage/hwmon-pc87360
276 TITLE:=PC87360 monitoring support 262 TITLE:=PC87360 monitoring support
277 KCONFIG:=CONFIG_SENSORS_PC87360 263 KCONFIG:=CONFIG_SENSORS_PC87360
278 FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko 264 FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
279 AUTOLOAD:=$(call AutoProbe,pc87360) 265 AUTOLOAD:=$(call AutoProbe,pc87360)
280 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid) 266 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
281 endef 267 endef
282   268  
283 define KernelPackage/hwmon-pc87360/description 269 define KernelPackage/hwmon-pc87360/description
284 Kernel modules for PC87360 chips 270 Kernel modules for PC87360 chips
285 endef 271 endef
286   272  
287 $(eval $(call KernelPackage,hwmon-pc87360)) 273 $(eval $(call KernelPackage,hwmon-pc87360))
288   274  
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)) -  
318   -  
319   275  
320 define KernelPackage/hwmon-pwmfan 276 define KernelPackage/hwmon-pwmfan
321 TITLE:=Generic PWM FAN support 277 TITLE:=Generic PWM FAN support
322 KCONFIG:=CONFIG_SENSORS_PWM_FAN 278 KCONFIG:=CONFIG_SENSORS_PWM_FAN
323 FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko 279 FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
324 AUTOLOAD:=$(call AutoLoad,60,pwm-fan) 280 AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
325 $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal) 281 $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
326 endef 282 endef
327   283  
328 define KernelPackage/hwmon-pwmfan/description 284 define KernelPackage/hwmon-pwmfan/description
329 Kernel module for PWM controlled FANs 285 Kernel module for PWM controlled FANs
330 endef 286 endef
331   287  
332 $(eval $(call KernelPackage,hwmon-pwmfan)) 288 $(eval $(call KernelPackage,hwmon-pwmfan))
333   289  
334   290  
335 define KernelPackage/hwmon-sch5627 291 define KernelPackage/hwmon-sch5627
336 TITLE:=SMSC SCH5627 monitoring support 292 TITLE:=SMSC SCH5627 monitoring support
337 KCONFIG:=CONFIG_SENSORS_SCH5627 293 KCONFIG:=CONFIG_SENSORS_SCH5627
338 FILES:= \ 294 FILES:= \
339 $(LINUX_DIR)/drivers/hwmon/sch5627.ko \ 295 $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
340 $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko 296 $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
341 AUTOLOAD:=$(call AutoProbe,sch5627) 297 AUTOLOAD:=$(call AutoProbe,sch5627)
342 $(call AddDepends/hwmon,+kmod-i2c-core) 298 $(call AddDepends/hwmon,+kmod-i2c-core)
343 endef 299 endef
344   300  
345 define KernelPackage/hwmon-sch5627/description 301 define KernelPackage/hwmon-sch5627/description
346 SMSC SCH5627 Super I/O chips include complete hardware monitoring 302 SMSC SCH5627 Super I/O chips include complete hardware monitoring
347 endef 303 endef
348   304  
349 $(eval $(call KernelPackage,hwmon-sch5627)) 305 $(eval $(call KernelPackage,hwmon-sch5627))
350   306  
351   307  
352 define KernelPackage/hwmon-sht21 308 define KernelPackage/hwmon-sht21
353 TITLE:=Sensiron SHT21 and compat. monitoring support 309 TITLE:=Sensiron SHT21 and compat. monitoring support
354 KCONFIG:=CONFIG_SENSORS_SHT21 310 KCONFIG:=CONFIG_SENSORS_SHT21
355 FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko 311 FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
356 AUTOLOAD:=$(call AutoProbe,sht21) 312 AUTOLOAD:=$(call AutoProbe,sht21)
357 $(call AddDepends/hwmon,+kmod-i2c-core) 313 $(call AddDepends/hwmon,+kmod-i2c-core)
358 endef 314 endef
359   315  
360 define KernelPackage/hwmon-sht21/description 316 define KernelPackage/hwmon-sht21/description
361 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip 317 Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
362 endef 318 endef
363   319  
364 $(eval $(call KernelPackage,hwmon-sht21)) 320 $(eval $(call KernelPackage,hwmon-sht21))
365   321  
366   322  
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
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
377 endef 333 endef
378   334  
379 $(eval $(call KernelPackage,hwmon-tmp102)) 335 $(eval $(call KernelPackage,hwmon-tmp102))
380   336  
381   337  
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
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
392 endef 348 endef
393   349  
394 $(eval $(call KernelPackage,hwmon-tmp103)) 350 $(eval $(call KernelPackage,hwmon-tmp103))
395   351  
396   352  
397 define KernelPackage/hwmon-tmp421 353 define KernelPackage/hwmon-tmp421
398 TITLE:=TI TMP421 and compatible monitoring support 354 TITLE:=TI TMP421 and compatible monitoring support
399 KCONFIG:=CONFIG_SENSORS_TMP421 355 KCONFIG:=CONFIG_SENSORS_TMP421
400 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko 356 FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
401 AUTOLOAD:=$(call AutoLoad,60,tmp421) 357 AUTOLOAD:=$(call AutoLoad,60,tmp421)
402 $(call AddDepends/hwmon,+kmod-i2c-core) 358 $(call AddDepends/hwmon,+kmod-i2c-core)
403 endef 359 endef
404   360  
405 define KernelPackage/hwmon-tmp421/description 361 define KernelPackage/hwmon-tmp421/description
406 Kernel module for the Texas Instruments TMP421 and compatible chips. 362 Kernel module for the Texas Instruments TMP421 and compatible chips.
407 endef 363 endef
408   364  
409 $(eval $(call KernelPackage,hwmon-tmp421)) 365 $(eval $(call KernelPackage,hwmon-tmp421))
410   366  
411   367  
412 define KernelPackage/hwmon-vid 368 define KernelPackage/hwmon-vid
413 TITLE:=VID/VRM/VRD voltage conversion module. 369 TITLE:=VID/VRM/VRD voltage conversion module.
414 KCONFIG:=CONFIG_HWMON_VID 370 KCONFIG:=CONFIG_HWMON_VID
415 FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko 371 FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
416 AUTOLOAD:=$(call AutoLoad,41,hwmon-vid) 372 AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
417 $(call AddDepends/hwmon,) 373 $(call AddDepends/hwmon,)
418 endef 374 endef
419   375  
420 define KernelPackage/hwmon-vid/description 376 define KernelPackage/hwmon-vid/description
421 VID/VRM/VRD voltage conversion module for hardware monitoring 377 VID/VRM/VRD voltage conversion module for hardware monitoring
422 endef 378 endef
423   379  
424 $(eval $(call KernelPackage,hwmon-vid)) 380 $(eval $(call KernelPackage,hwmon-vid))
425   381  
426   382  
427 define KernelPackage/hwmon-w83627ehf 383 define KernelPackage/hwmon-w83627ehf
428 TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support 384 TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
429 KCONFIG:=CONFIG_SENSORS_W83627EHF 385 KCONFIG:=CONFIG_SENSORS_W83627EHF
430 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko 386 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
431 AUTOLOAD:=$(call AutoProbe,w83627ehf) 387 AUTOLOAD:=$(call AutoProbe,w83627ehf)
432 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid) 388 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
433 endef 389 endef
434   390  
435 define KernelPackage/hwmon-w83627ehf/description 391 define KernelPackage/hwmon-w83627ehf/description
436 Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip 392 Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
437 Support for NCT6775F and NCT6776F has been removed from this driver in favour of 393 Support for NCT6775F and NCT6776F has been removed from this driver in favour of
438 using the nct6775 driver to handle those chips. 394 using the nct6775 driver to handle those chips.
439 endef 395 endef
440   396  
441 $(eval $(call KernelPackage,hwmon-w83627ehf)) 397 $(eval $(call KernelPackage,hwmon-w83627ehf))
442   398  
443   399  
444 define KernelPackage/hwmon-w83627hf 400 define KernelPackage/hwmon-w83627hf
445 TITLE:=Winbond W83627HF monitoring support 401 TITLE:=Winbond W83627HF monitoring support
446 KCONFIG:=CONFIG_SENSORS_W83627HF 402 KCONFIG:=CONFIG_SENSORS_W83627HF
447 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko 403 FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
448 AUTOLOAD:=$(call AutoLoad,50,w83627hf) 404 AUTOLOAD:=$(call AutoLoad,50,w83627hf)
449 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid) 405 $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
450 endef 406 endef
451   407  
452 define KernelPackage/hwmon-w83627hf/description 408 define KernelPackage/hwmon-w83627hf/description
453 Kernel module for the Winbond W83627HF chips. 409 Kernel module for the Winbond W83627HF chips.
454 endef 410 endef
455   411  
456 $(eval $(call KernelPackage,hwmon-w83627hf)) 412 $(eval $(call KernelPackage,hwmon-w83627hf))
457   413  
458   414  
459 define KernelPackage/hwmon-w83793 415 define KernelPackage/hwmon-w83793
460 TITLE:=Winbond W83793G/R monitoring support 416 TITLE:=Winbond W83793G/R monitoring support
461 KCONFIG:=CONFIG_SENSORS_W83793 417 KCONFIG:=CONFIG_SENSORS_W83793
462 FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko 418 FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
463 AUTOLOAD:=$(call AutoProbe,w83793) 419 AUTOLOAD:=$(call AutoProbe,w83793)
464 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) 420 $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
465 endef 421 endef
466   422  
467 define KernelPackage/hwmon-w83793/description 423 define KernelPackage/hwmon-w83793/description
468 Kernel module for the Winbond W83793G and W83793R chips. 424 Kernel module for the Winbond W83793G and W83793R chips.
469 endef 425 endef
470   426  
471 $(eval $(call KernelPackage,hwmon-w83793)) 427 $(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   -  
493 $(eval $(call KernelPackage,hwmon-adcxx)) -  
494   428  
495   429  
496   430