diff mbox series

[linux,dev-6.5,3/4] ARM: dts: aspeed: Bonnell: Add fan controller properties

Message ID 20231006172735.420566-4-eajames@linux.ibm.com
State New
Headers show
Series ARM: dts: aspeed: p10bmc: Add fan controller properties | expand

Commit Message

Eddie James Oct. 6, 2023, 5:27 p.m. UTC
From: Eddie James <eajames@us.ibm.com>

Bonnell uses the same dual rotor fans as Rainier 2U.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 .../arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Ninad Palsule Oct. 6, 2023, 6:34 p.m. UTC | #1
On 10/6/23 12:27, Eddie James wrote:
> From: Eddie James <eajames@us.ibm.com>
>
> Bonnell uses the same dual rotor fans as Rainier 2U.
>
> Signed-off-by: Eddie James <eajames@linux.ibm.com>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>   .../arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts | 14 ++++++++++++++
>   1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts
> index cad1b9aac97b..29d68d7e876f 100644
> --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts
> @@ -280,12 +280,26 @@ fan0: fan@0 {
>   			compatible = "pmbus-fan";
>   			reg = <0>;
>   			tach-pulses = <2>;
> +			maxim,fan-rotor-input = "tach";
> +			maxim,fan-pwm-freq = <25000>;
> +			maxim,fan-dual-tach;
> +			maxim,fan-no-watchdog;
> +			maxim,fan-no-fault-ramp;
> +			maxim,fan-ramp = <2>;
> +			maxim,fan-fault-pin-mon;
>   		};
>
>   		fan1: fan@1 {
>   			compatible = "pmbus-fan";
>   			reg = <1>;
>   			tach-pulses = <2>;
> +			maxim,fan-rotor-input = "tach";
> +			maxim,fan-pwm-freq = <25000>;
> +			maxim,fan-dual-tach;
> +			maxim,fan-no-watchdog;
> +			maxim,fan-no-fault-ramp;
> +			maxim,fan-ramp = <2>;
> +			maxim,fan-fault-pin-mon;
>   		};
>   	};
Reviewed-by: Ninad Palsule <ninad@linux.ibm.com>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts
index cad1b9aac97b..29d68d7e876f 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-bonnell.dts
@@ -280,12 +280,26 @@  fan0: fan@0 {
 			compatible = "pmbus-fan";
 			reg = <0>;
 			tach-pulses = <2>;
+			maxim,fan-rotor-input = "tach";
+			maxim,fan-pwm-freq = <25000>;
+			maxim,fan-dual-tach;
+			maxim,fan-no-watchdog;
+			maxim,fan-no-fault-ramp;
+			maxim,fan-ramp = <2>;
+			maxim,fan-fault-pin-mon;
 		};
 
 		fan1: fan@1 {
 			compatible = "pmbus-fan";
 			reg = <1>;
 			tach-pulses = <2>;
+			maxim,fan-rotor-input = "tach";
+			maxim,fan-pwm-freq = <25000>;
+			maxim,fan-dual-tach;
+			maxim,fan-no-watchdog;
+			maxim,fan-no-fault-ramp;
+			maxim,fan-ramp = <2>;
+			maxim,fan-fault-pin-mon;
 		};
 	};