Commit f8a038c
committed
helios4: workaround fancontrol for mvebu >=6.18 (no J17 timer patch)
J17 PWM on Helios4 depends on the out-of-tree timer-assignment patch, which
is currently .disabled from mvebu-6.18 onwards while it's ported to the
refactored pwm chip API. Without the patch, /dev/fan-j17/pwm1 does not
appear and fancontrol.service aborts on start.
Add a post_family_tweaks_bsp hook in the helios4 board config that comments
out the J17 references in /etc/fancontrol when KERNEL_MAJOR_MINOR >= 6.18
(via linux-version compare), keeping the original line as a commented
reference so the file also serves as documentation of the historical config.
Drop this hook once the patch is ported.1 parent fdb4b5c commit f8a038c
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments