diff mbox series

[linux,dev-6.5,4/4] ARM: dts: aspeed: Rainier 4U: Delete fan dual-tach properties

Message ID 20231006172735.420566-5-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
The fans in the 4U chassis do not have dual tachometers, so remove those
properties in the device tree.

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

Comments

Ninad Palsule Oct. 6, 2023, 6:39 p.m. UTC | #1
On 10/6/23 12:27, Eddie James wrote:
> The fans in the 4U chassis do not have dual tachometers, so remove those
> properties in the device tree.
>
> Signed-off-by: Eddie James <eajames@linux.ibm.com>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>   .../dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts  | 24 +++++++++++++++++++
>   1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts
> index 342546a3c0f5..24283cc3d486 100644
> --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts
> @@ -19,3 +19,27 @@ power-supply@6b {
>   		reg = <0x6b>;
>   	};
>   };
> +
> +&fan0 {
> +	/delete-property/ maxim,fan-dual-tach;
> +};
> +
> +&fan1 {
> +	/delete-property/ maxim,fan-dual-tach;
> +};
> +
> +&fan2 {
> +	/delete-property/ maxim,fan-dual-tach;
> +};
> +
> +&fan3 {
> +	/delete-property/ maxim,fan-dual-tach;
> +};
> +
> +&fan4 {
> +	/delete-property/ maxim,fan-dual-tach;
> +};
> +
> +&fan5 {
> +	/delete-property/ maxim,fan-dual-tach;
> +};
Reviewed-by: Ninad Palsule <ninad@linux.ibm.com>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts
index 342546a3c0f5..24283cc3d486 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-rainier-4u.dts
@@ -19,3 +19,27 @@  power-supply@6b {
 		reg = <0x6b>;
 	};
 };
+
+&fan0 {
+	/delete-property/ maxim,fan-dual-tach;
+};
+
+&fan1 {
+	/delete-property/ maxim,fan-dual-tach;
+};
+
+&fan2 {
+	/delete-property/ maxim,fan-dual-tach;
+};
+
+&fan3 {
+	/delete-property/ maxim,fan-dual-tach;
+};
+
+&fan4 {
+	/delete-property/ maxim,fan-dual-tach;
+};
+
+&fan5 {
+	/delete-property/ maxim,fan-dual-tach;
+};