[PATCH 11/18] MIPS: DTS: jz4780: fix i2c dmas as reported by dtbscheck

From: H. Nikolaus Schaller
Date: Fri Apr 08 2022 - 14:39:34 EST


arch/mips/boot/dts/ingenic/ci20.dtb: i2c@10050000: 'dma-names' is a required property
From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@10051000: 'dmas' is a required property
From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@10051000: 'dma-names' is a required property
From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@10052000: 'dmas' is a required property
From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@10052000: 'dma-names' is a required property
From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@10053000: 'dmas' is a required property
From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@10053000: 'dma-names' is a required property
From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@10054000: 'dmas' is a required property
From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@10054000: 'dma-names' is a required property
From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml

Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
---
arch/mips/boot/dts/ingenic/jz4780.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi
index 73cd05cf26472..dcb93d0158856 100644
--- a/arch/mips/boot/dts/ingenic/jz4780.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi
@@ -392,6 +392,10 @@ i2c0: i2c@10050000 {
pinctrl-names = "default";
pinctrl-0 = <&pins_i2c0_data>;

+ dmas = <&dma JZ4780_DMA_SMB0_RX 0xffffffff>,
+ <&dma JZ4780_DMA_SMB0_TX 0xffffffff>;
+ dma-names = "rx", "tx";
+
status = "disabled";
};

@@ -409,6 +413,10 @@ i2c1: i2c@10051000 {
pinctrl-names = "default";
pinctrl-0 = <&pins_i2c1_data>;

+ dmas = <&dma JZ4780_DMA_SMB1_RX 0xffffffff>,
+ <&dma JZ4780_DMA_SMB1_TX 0xffffffff>;
+ dma-names = "rx", "tx";
+
status = "disabled";
};

@@ -426,6 +434,10 @@ i2c2: i2c@10052000 {
pinctrl-names = "default";
pinctrl-0 = <&pins_i2c2_data>;

+ dmas = <&dma JZ4780_DMA_SMB2_RX 0xffffffff>,
+ <&dma JZ4780_DMA_SMB2_TX 0xffffffff>;
+ dma-names = "rx", "tx";
+
status = "disabled";
};

@@ -443,6 +455,10 @@ i2c3: i2c@10053000 {
pinctrl-names = "default";
pinctrl-0 = <&pins_i2c3_data>;

+ dmas = <&dma JZ4780_DMA_SMB3_RX 0xffffffff>,
+ <&dma JZ4780_DMA_SMB3_TX 0xffffffff>;
+ dma-names = "rx", "tx";
+
status = "disabled";
};

@@ -460,6 +476,10 @@ i2c4: i2c@10054000 {
pinctrl-names = "default";
pinctrl-0 = <&pins_i2c4_data>;

+ dmas = <&dma JZ4780_DMA_SMB4_RX 0xffffffff>,
+ <&dma JZ4780_DMA_SMB4_TX 0xffffffff>;
+ dma-names = "rx", "tx";
+
status = "disabled";
};

--
2.33.0