mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-18 12:51:40 +00:00
Helios4 - cleanup fan control setup
This commit is contained in:
parent
494d6b0376
commit
e453a43107
5 changed files with 5 additions and 17 deletions
|
@ -22,12 +22,12 @@ family_tweaks_s()
|
|||
cp -R $SRC/packages/bsp/helios4/90-helios4-hwmon.rules $SDCARD/etc/udev/rules.d/
|
||||
case $BRANCH in
|
||||
default)
|
||||
cp -R $SRC/packages/bsp/helios4/fancontrol_pwm-fan-LK4.4.conf $SDCARD/etc/fancontrol
|
||||
cp -R $SRC/packages/bsp/helios4/fancontrol_pwm-fan-mvebu-default.conf $SDCARD/etc/fancontrol
|
||||
;;
|
||||
|
||||
next)
|
||||
cp -R $SRC/packages/bsp/helios4/fancontrol_pwm-fan.conf $SDCARD/etc/fancontrol
|
||||
patch $SDCARD/usr/sbin/fancontrol < $SRC/packages/bsp/helios4/fancontrol.patch
|
||||
cp -R $SRC/packages/bsp/helios4/fancontrol_pwm-fan-mvebu-next.conf $SDCARD/etc/fancontrol
|
||||
#patch $SDCARD/usr/sbin/fancontrol < $SRC/packages/bsp/helios4/fancontrol.patch
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
# Helios4 GPIO Fan Control Configuration
|
||||
# This is a temporary configuration while relying on gpio-fan driver.
|
||||
# Only low or full speed is supported.
|
||||
# Temp source : lm75 sensor
|
||||
INTERVAL=10
|
||||
DEVPATH=hwmon0=devices/platform/j10-pwm hwmon1=devices/platform/j17-pwm hwmon2=devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/0-004c
|
||||
DEVNAME=hwmon0=gpio_fan hwmon1=gpio_fan hwmon2=lm75
|
||||
FCTEMPS=hwmon0/pwm1=hwmon2/temp1_input hwmon1/pwm1=hwmon2/temp1_input
|
||||
MINTEMP=hwmon0/pwm1=45 hwmon1/pwm1=45
|
||||
MAXTEMP=hwmon0/pwm1=65 hwmon1/pwm1=65
|
||||
MINSTART=hwmon0/pwm1=1 hwmon1/pwm1=1
|
||||
MINSTOP=hwmon0/pwm1=0 hwmon1/pwm1=0
|
|
@ -125,12 +125,12 @@ index 0000000..19a0256
|
|||
+
|
||||
+ fan1: j10-pwm {
|
||||
+ compatible = "pwm-fan";
|
||||
+ pwms = <&gpio1 9 3800>;
|
||||
+ pwms = <&gpio1 9 40000>; /* Target freq:25 kHz */
|
||||
+ };
|
||||
+
|
||||
+ fan2: j17-pwm {
|
||||
+ compatible = "pwm-fan";
|
||||
+ pwms = <&gpio1 23 3800>;
|
||||
+ pwms = <&gpio1 23 40000>; /* Target freq:25 kHz */
|
||||
+ };
|
||||
+
|
||||
+ usb2_phy: usb2-phy {
|
||||
|
|
Loading…
Add table
Reference in a new issue