kernel/0117-fix-Fix-a-fan-duty-cycle-error.patch

42 lines
1.2 KiB
Diff

From 58fff9f67a6c3c0335d21ca6dd3d5d28ddd477c5 Mon Sep 17 00:00:00 2001
From: yangwei1 <yangwei1@eswincomputing.com>
Date: Wed, 24 Jul 2024 16:21:05 +0800
Subject: [PATCH 117/222] fix:Fix a fan duty cycle error
Changelogs:
fix the control fan duty clcle is opposite
Signed-off-by: yangwei1 <yangwei1@eswincomputing.com>
---
arch/riscv/boot/dts/eswin/eic7700-evb-a2.dts | 1 -
arch/riscv/boot/dts/eswin/hifive-premier-550.dts | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/boot/dts/eswin/eic7700-evb-a2.dts b/arch/riscv/boot/dts/eswin/eic7700-evb-a2.dts
index dada3492fe11..27b8bd045775 100644
--- a/arch/riscv/boot/dts/eswin/eic7700-evb-a2.dts
+++ b/arch/riscv/boot/dts/eswin/eic7700-evb-a2.dts
@@ -683,7 +683,6 @@ &d0_mbox7 {
&fan_control {
status = "okay";
- eswin,pwm_inverted;
};
&d0_i2c0 {
diff --git a/arch/riscv/boot/dts/eswin/hifive-premier-550.dts b/arch/riscv/boot/dts/eswin/hifive-premier-550.dts
index 31a1b673b89c..1a9ded7f2c32 100644
--- a/arch/riscv/boot/dts/eswin/hifive-premier-550.dts
+++ b/arch/riscv/boot/dts/eswin/hifive-premier-550.dts
@@ -582,6 +582,7 @@ &d0_mbox7 {
&fan_control {
status = "okay";
+ eswin,pwm_inverted;
};
&d0_i2c0 {
--
2.47.0