[PATCH linux dev-5.10 09/14] ARM: dts: aspeed: Everest: Add fan controller properties

Matthew Barth msbarth at linux.ibm.com
Thu Aug 12 02:15:58 AEST 2021


On 8/11/21 10:42 AM, Eddie James wrote:
> Add the necessary Max chip specific fan properties.
>
> Signed-off-by: Eddie James <eajames at linux.ibm.com>
Reviewed-by: Matthew Barth <msbarth at linux.ibm.com>
> ---
>  arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 28 ++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
> index 01a0b2b03ddd..83fc29309154 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
> @@ -2510,24 +2510,52 @@ 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;
>  				};
>  
>  				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;
>  				};
>  
>  				fan at 2 {
>  					compatible = "pmbus-fan";
>  					reg = <2>;
>  					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;
>  				};
>  
>  				fan at 3 {
>  					compatible = "pmbus-fan";
>  					reg = <3>;
>  					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;
>  				};
>  			};
>  


More information about the openbmc mailing list