lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <e9ec735684b3ab8393bfa87c692ba030e669795c.1649443080.git.hns@goldelico.com>
Date:   Fri,  8 Apr 2022 20:37:54 +0200
From:   "H. Nikolaus Schaller" <hns@...delico.com>
To:     Krzysztof Kozlowski <krzk@...nel.org>,
        Rob Herring <robh+dt@...nel.org>,
        Paul Cercueil <paul@...pouillou.net>,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc:     linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
        linux-mips@...r.kernel.org, letux-kernel@...nphoenux.org,
        "H. Nikolaus Schaller" <hns@...delico.com>
Subject: [PATCH 11/18] MIPS: DTS: jz4780: fix i2c dmas as reported by dtbscheck

arch/mips/boot/dts/ingenic/ci20.dtb: i2c@...50000: 'dma-names' is a required property
	From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@...51000: 'dmas' is a required property
	From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@...51000: 'dma-names' is a required property
	From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@...52000: 'dmas' is a required property
	From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@...52000: 'dma-names' is a required property
	From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@...53000: 'dmas' is a required property
	From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@...53000: 'dma-names' is a required property
	From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@...54000: 'dmas' is a required property
	From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@...54000: 'dma-names' is a required property
	From schema: Documentation/devicetree/bindings/i2c/ingenic,i2c.yaml

Signed-off-by: H. Nikolaus Schaller <hns@...delico.com>
---
 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@...50000 {
 		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@...51000 {
 		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@...52000 {
 		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@...53000 {
 		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@...54000 {
 		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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ