rockchip:fix h69k fam

The kernel adds fans to support 4 gears
Usage method:
Fourth gear
echo 4 > /sys/class/thermal/cooling_device0/cur_state;
Number 0 off 1, 2, 3, and 4
This commit is contained in:
DHDAXCW
2023-06-09 16:25:22 +00:00
parent 4b02e048ff
commit 09f1c1a640
2 changed files with 9 additions and 0 deletions

View File

@@ -617,6 +617,7 @@ CONFIG_SCSI_SAS_LIBSAS=y
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SENSORS_ARM_SCMI is not set
CONFIG_SENSORS_ARM_SCPI=y
CONFIG_SENSORS_PWM_FAN=y
CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
CONFIG_SERIAL_8250_DW=y
CONFIG_SERIAL_8250_DWLIB=y

View File

@@ -40,6 +40,12 @@
cooling-levels = <0 100 150 200 255>;
#cooling-cells = <2>;
pwms = <&pwm0 0 50000 0>;
rockchip,temp-trips = <
50000 1
55000 2
60000 3
65000 4
>;
};
keys {
@@ -558,6 +564,8 @@
};
&pwm0 {
gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&pwm0m0_pins>;
status = "okay";
};