[PATCH] arm64: zynqmp: Fix pwm-fan polarity

From: Saeed Nowshadi saeed.nowshadi@amd.com
In previous version of pwm driver, the polarity of pwm were implemented in reverse. In recent release, that issue in the driver is fixed, therefore, correctly set the polarity in the device tree.
Signed-off-by: Saeed Nowshadi saeed.nowshadi@amd.com Signed-off-by: Michal Simek michal.simek@amd.com ---
arch/arm/dts/zynqmp-sc-revB.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/zynqmp-sc-revB.dts b/arch/arm/dts/zynqmp-sc-revB.dts index 1af3f643567e..c4f70581695d 100644 --- a/arch/arm/dts/zynqmp-sc-revB.dts +++ b/arch/arm/dts/zynqmp-sc-revB.dts @@ -3,7 +3,7 @@ * dts file for Xilinx ZynqMP Generic System Controller * * (C) Copyright 2021 - 2022, Xilinx, Inc. - * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. + * (C) Copyright 2022 - 2024, Advanced Micro Devices, Inc. * * Michal Simek michal.simek@amd.com */ @@ -80,7 +80,7 @@ pwm-fan { compatible = "pwm-fan"; status = "okay"; - pwms = <&ttc0 2 40000 1>; + pwms = <&ttc0 2 40000 0>; }; };

On 10/24/24 12:42, Michal Simek wrote:
From: Saeed Nowshadi saeed.nowshadi@amd.com
In previous version of pwm driver, the polarity of pwm were implemented in reverse. In recent release, that issue in the driver is fixed, therefore, correctly set the polarity in the device tree.
Signed-off-by: Saeed Nowshadi saeed.nowshadi@amd.com Signed-off-by: Michal Simek michal.simek@amd.com
arch/arm/dts/zynqmp-sc-revB.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/zynqmp-sc-revB.dts b/arch/arm/dts/zynqmp-sc-revB.dts index 1af3f643567e..c4f70581695d 100644 --- a/arch/arm/dts/zynqmp-sc-revB.dts +++ b/arch/arm/dts/zynqmp-sc-revB.dts @@ -3,7 +3,7 @@
- dts file for Xilinx ZynqMP Generic System Controller
- (C) Copyright 2021 - 2022, Xilinx, Inc.
- (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
*/
- (C) Copyright 2022 - 2024, Advanced Micro Devices, Inc.
- Michal Simek michal.simek@amd.com
@@ -80,7 +80,7 @@ pwm-fan { compatible = "pwm-fan"; status = "okay";
pwms = <&ttc0 2 40000 1>;
}; };pwms = <&ttc0 2 40000 0>;
Applied. M
participants (1)
-
Michal Simek