diff mbox series

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

Message ID e9ec735684b3ab8393bfa87c692ba030e669795c.1649443080.git.hns@goldelico.com (mailing list archive)
State New
Headers show
Series MIPS: DTS: fix some findings by "make ci20_defconfig dt_binding_check dtbs_check" | expand

Commit Message

H. Nikolaus Schaller April 8, 2022, 6:37 p.m. UTC
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@goldelico.com>
---
 arch/mips/boot/dts/ingenic/jz4780.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
diff mbox series

Patch

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";
 	};