2021-05-26 09:46:45

by Vignesh Raghavendra

[permalink] [raw]
Subject: [PATCH] ARM: dts: omap2/3: Drop dmas property from I2C node

DMA was never supported by i2c-omap driver and the bindings were never
documented. Therefore drop the entries in preparation to moving
bindings to YAML schema.

Signed-off-by: Vignesh Raghavendra <[email protected]>
---
arch/arm/boot/dts/dm816x.dtsi | 4 ----
arch/arm/boot/dts/omap2.dtsi | 4 ----
arch/arm/boot/dts/omap3.dtsi | 6 ------
3 files changed, 14 deletions(-)

diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi
index 3551a64963f8..2d3d6906b3fb 100644
--- a/arch/arm/boot/dts/dm816x.dtsi
+++ b/arch/arm/boot/dts/dm816x.dtsi
@@ -314,8 +314,6 @@ i2c1: i2c@48028000 {
#address-cells = <1>;
#size-cells = <0>;
interrupts = <70>;
- dmas = <&edma 58 0 &edma 59 0>;
- dma-names = "tx", "rx";
};

i2c2: i2c@4802a000 {
@@ -325,8 +323,6 @@ i2c2: i2c@4802a000 {
#address-cells = <1>;
#size-cells = <0>;
interrupts = <71>;
- dmas = <&edma 60 0 &edma 61 0>;
- dma-names = "tx", "rx";
};

intc: interrupt-controller@48200000 {
diff --git a/arch/arm/boot/dts/omap2.dtsi b/arch/arm/boot/dts/omap2.dtsi
index f9c2a9938898..5750ca1233cc 100644
--- a/arch/arm/boot/dts/omap2.dtsi
+++ b/arch/arm/boot/dts/omap2.dtsi
@@ -120,8 +120,6 @@ i2c1: i2c@48070000 {
#address-cells = <1>;
#size-cells = <0>;
interrupts = <56>;
- dmas = <&sdma 27 &sdma 28>;
- dma-names = "tx", "rx";
};

i2c2: i2c@48072000 {
@@ -131,8 +129,6 @@ i2c2: i2c@48072000 {
#address-cells = <1>;
#size-cells = <0>;
interrupts = <57>;
- dmas = <&sdma 29 &sdma 30>;
- dma-names = "tx", "rx";
};

mcspi1: spi@48098000 {
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index c5b9da0d7e6c..eeee6c95a42e 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -403,8 +403,6 @@ i2c1: i2c@48070000 {
compatible = "ti,omap3-i2c";
reg = <0x48070000 0x80>;
interrupts = <56>;
- dmas = <&sdma 27 &sdma 28>;
- dma-names = "tx", "rx";
#address-cells = <1>;
#size-cells = <0>;
ti,hwmods = "i2c1";
@@ -414,8 +412,6 @@ i2c2: i2c@48072000 {
compatible = "ti,omap3-i2c";
reg = <0x48072000 0x80>;
interrupts = <57>;
- dmas = <&sdma 29 &sdma 30>;
- dma-names = "tx", "rx";
#address-cells = <1>;
#size-cells = <0>;
ti,hwmods = "i2c2";
@@ -425,8 +421,6 @@ i2c3: i2c@48060000 {
compatible = "ti,omap3-i2c";
reg = <0x48060000 0x80>;
interrupts = <61>;
- dmas = <&sdma 25 &sdma 26>;
- dma-names = "tx", "rx";
#address-cells = <1>;
#size-cells = <0>;
ti,hwmods = "i2c3";
--
2.31.1


2021-05-26 10:11:18

by Grygorii Strashko

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: omap2/3: Drop dmas property from I2C node



On 26/05/2021 12:44, Vignesh Raghavendra wrote:
> DMA was never supported by i2c-omap driver and the bindings were never
> documented. Therefore drop the entries in preparation to moving
> bindings to YAML schema.
>
> Signed-off-by: Vignesh Raghavendra <[email protected]>
> ---
> arch/arm/boot/dts/dm816x.dtsi | 4 ----
> arch/arm/boot/dts/omap2.dtsi | 4 ----
> arch/arm/boot/dts/omap3.dtsi | 6 ------
> 3 files changed, 14 deletions(-)

Thank you.
Reviewed-by: Grygorii Strashko <[email protected]>

--
Best regards,
grygorii

2021-06-11 07:20:50

by Tony Lindgren

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: omap2/3: Drop dmas property from I2C node

* Grygorii Strashko <[email protected]> [210526 10:08]:
>
>
> On 26/05/2021 12:44, Vignesh Raghavendra wrote:
> > DMA was never supported by i2c-omap driver and the bindings were never
> > documented. Therefore drop the entries in preparation to moving
> > bindings to YAML schema.
> >
> > Signed-off-by: Vignesh Raghavendra <[email protected]>
> > ---
> > arch/arm/boot/dts/dm816x.dtsi | 4 ----
> > arch/arm/boot/dts/omap2.dtsi | 4 ----
> > arch/arm/boot/dts/omap3.dtsi | 6 ------
> > 3 files changed, 14 deletions(-)
>
> Thank you.
> Reviewed-by: Grygorii Strashko <[email protected]>

Applying into omap-for-v5.14/dt thanks.

Regards,

Tony