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

Ninad Palsule ninad at linux.ibm.com
Sat Oct 7 05:34:19 AEDT 2023


On 10/6/23 12:27, Eddie James wrote:
> From: Eddie James <eajames at us.ibm.com>
>
> Bonnell uses the same dual rotor fans as Rainier 2U.
>
> Signed-off-by: Eddie James <eajames at linux.ibm.com>
> Signed-off-by: Joel Stanley <joel at 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 at 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 at 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 at linux.ibm.com>


More information about the openbmc mailing list