diff mbox series

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

Message ID 20231006172735.420566-3-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
Add the necessary Max chip specific fan properties.

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

Comments

Ninad Palsule Oct. 6, 2023, 6:32 p.m. UTC | #1
On 10/6/23 12:27, Eddie James wrote:
> Add the necessary Max chip specific fan properties.
>
> Signed-off-by: Eddie James <eajames@linux.ibm.com>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>   .../dts/aspeed/aspeed-bmc-ibm-everest.dts     | 28 +++++++++++++++++++
>   1 file changed, 28 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts
> index 1f59ab28d29b..fdb3ccaf0cb5 100644
> --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts
> @@ -2042,24 +2042,52 @@ 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;
>   				};
>
>   				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;
>   				};
>
>   				fan@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@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;
>   				};
>   			};
Reviewed-by: Ninad Palsule <ninad@linux.ibm.com>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts
index 1f59ab28d29b..fdb3ccaf0cb5 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-everest.dts
@@ -2042,24 +2042,52 @@  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;
 				};
 
 				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;
 				};
 
 				fan@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@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;
 				};
 			};