diff mbox series

[v3,2/2] arm64: dts: qcom: pm8350c: Drop PWM reg declaration

Message ID 20220827145640.3530878-3-bryan.odonoghue@linaro.org
State Superseded
Headers show
Series arm64: dts: qcom: pwm: Drop PWM reg dependency | expand

Commit Message

Bryan O'Donoghue Aug. 27, 2022, 2:56 p.m. UTC
The PWM is a part of the SPMI PMIC block and maps several different
addresses within the SPMI block. It is not accurate to describe as pwm@reg
as a result.

Fixes: 5be66d2dc887 ("arm64: dts: qcom: pm8350c: Add pwm support")
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
 arch/arm64/boot/dts/qcom/pm8350c.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Krzysztof Kozlowski Aug. 28, 2022, 6:42 a.m. UTC | #1
On 27/08/2022 17:56, Bryan O'Donoghue wrote:
> The PWM is a part of the SPMI PMIC block and maps several different
> addresses within the SPMI block. It is not accurate to describe as pwm@reg
> as a result.
> 
> Fixes: 5be66d2dc887 ("arm64: dts: qcom: pm8350c: Add pwm support")
> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qcom/pm8350c.dtsi
index e0bbb67717fec..f28e71487d5c7 100644
--- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi
@@ -30,9 +30,8 @@  pm8350c_gpios: gpio@8800 {
 			#interrupt-cells = <2>;
 		};
 
-		pm8350c_pwm: pwm@e800 {
+		pm8350c_pwm: pwm {
 			compatible = "qcom,pm8350c-pwm";
-			reg = <0xe800>;
 			#pwm-cells = <2>;
 			status = "disabled";
 		};