2020-03-19 10:28:45

by Fabrice Gasnier

[permalink] [raw]
Subject: [PATCH] ARM: dts: stm32: fix a typo for DAC io-channel-cells on stm32h743

Fix a typo on STM32H743 DAC, e.g. s/channels/channel

Fixes: 1536dec45e77 ("ARM: dts: stm32: Add DAC support on stm32h743")

Signed-off-by: Fabrice Gasnier <[email protected]>
---
arch/arm/boot/dts/stm32h743.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 05eb02e..9b7fc68 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -180,14 +180,14 @@

dac1: dac@1 {
compatible = "st,stm32-dac";
- #io-channels-cells = <1>;
+ #io-channel-cells = <1>;
reg = <1>;
status = "disabled";
};

dac2: dac@2 {
compatible = "st,stm32-dac";
- #io-channels-cells = <1>;
+ #io-channel-cells = <1>;
reg = <2>;
status = "disabled";
};
--
2.7.4


2020-04-01 07:56:02

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: stm32: fix a typo for DAC io-channel-cells on stm32h743

Hi Fabrice

On 3/19/20 11:26 AM, Fabrice Gasnier wrote:
> Fix a typo on STM32H743 DAC, e.g. s/channels/channel
>
> Fixes: 1536dec45e77 ("ARM: dts: stm32: Add DAC support on stm32h743")
>
> Signed-off-by: Fabrice Gasnier <[email protected]>
> ---
> arch/arm/boot/dts/stm32h743.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
> index 05eb02e..9b7fc68 100644
> --- a/arch/arm/boot/dts/stm32h743.dtsi
> +++ b/arch/arm/boot/dts/stm32h743.dtsi
> @@ -180,14 +180,14 @@
>
> dac1: dac@1 {
> compatible = "st,stm32-dac";
> - #io-channels-cells = <1>;
> + #io-channel-cells = <1>;
> reg = <1>;
> status = "disabled";
> };
>
> dac2: dac@2 {
> compatible = "st,stm32-dac";
> - #io-channels-cells = <1>;
> + #io-channel-cells = <1>;
> reg = <2>;
> status = "disabled";
> };
>
Applied on stm32-next.

Thanks.
Alex