2022-03-02 18:24:05

by Tudor Ambarus

[permalink] [raw]
Subject: [PATCH] ARM: dts: at91: sama7g5: Remove unused properties in i2c nodes

The "atmel,use-dma-rx", "atmel,use-dma-rx" dt properties are not used by
the i2c-at91 driver, nor they are defined in the bindings file, thus remove
them.

Cc: [email protected]
Fixes: 7540629e2fc7 ("ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek")
Signed-off-by: Tudor Ambarus <[email protected]>
---
arch/arm/boot/dts/sama7g5.dtsi | 6 ------
1 file changed, 6 deletions(-)

diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index 1dc0631e9fd4..e626f6bd920a 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -591,8 +591,6 @@ i2c1: i2c@600 {
dmas = <&dma0 AT91_XDMAC_DT_PERID(7)>,
<&dma0 AT91_XDMAC_DT_PERID(8)>;
dma-names = "rx", "tx";
- atmel,use-dma-rx;
- atmel,use-dma-tx;
status = "disabled";
};
};
@@ -778,8 +776,6 @@ i2c8: i2c@600 {
dmas = <&dma0 AT91_XDMAC_DT_PERID(21)>,
<&dma0 AT91_XDMAC_DT_PERID(22)>;
dma-names = "rx", "tx";
- atmel,use-dma-rx;
- atmel,use-dma-tx;
status = "disabled";
};
};
@@ -804,8 +800,6 @@ i2c9: i2c@600 {
dmas = <&dma0 AT91_XDMAC_DT_PERID(23)>,
<&dma0 AT91_XDMAC_DT_PERID(24)>;
dma-names = "rx", "tx";
- atmel,use-dma-rx;
- atmel,use-dma-tx;
status = "disabled";
};
};
--
2.25.1


2022-03-04 19:05:17

by Nicolas Ferre

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: at91: sama7g5: Remove unused properties in i2c nodes

On 02/03/2022 at 17:18, Tudor Ambarus wrote:
> The "atmel,use-dma-rx", "atmel,use-dma-rx" dt properties are not used by
> the i2c-at91 driver, nor they are defined in the bindings file, thus remove
> them.
>
> Cc: [email protected]
> Fixes: 7540629e2fc7 ("ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek")
> Signed-off-by: Tudor Ambarus <[email protected]>

Acked-by: Nicolas Ferre <[email protected]>

Added in at91-dt for 5.18 as a 2nd batch of DT patches.
Thanks, best regards,
Nicolas

> ---
> arch/arm/boot/dts/sama7g5.dtsi | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
> index 1dc0631e9fd4..e626f6bd920a 100644
> --- a/arch/arm/boot/dts/sama7g5.dtsi
> +++ b/arch/arm/boot/dts/sama7g5.dtsi
> @@ -591,8 +591,6 @@ i2c1: i2c@600 {
> dmas = <&dma0 AT91_XDMAC_DT_PERID(7)>,
> <&dma0 AT91_XDMAC_DT_PERID(8)>;
> dma-names = "rx", "tx";
> - atmel,use-dma-rx;
> - atmel,use-dma-tx;
> status = "disabled";
> };
> };
> @@ -778,8 +776,6 @@ i2c8: i2c@600 {
> dmas = <&dma0 AT91_XDMAC_DT_PERID(21)>,
> <&dma0 AT91_XDMAC_DT_PERID(22)>;
> dma-names = "rx", "tx";
> - atmel,use-dma-rx;
> - atmel,use-dma-tx;
> status = "disabled";
> };
> };
> @@ -804,8 +800,6 @@ i2c9: i2c@600 {
> dmas = <&dma0 AT91_XDMAC_DT_PERID(23)>,
> <&dma0 AT91_XDMAC_DT_PERID(24)>;
> dma-names = "rx", "tx";
> - atmel,use-dma-rx;
> - atmel,use-dma-tx;
> status = "disabled";
> };
> };


--
Nicolas Ferre