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: <00ec9d965cac78b252e14444deed8c93f5116bca.1649443080.git.hns@goldelico.com>
Date:   Fri,  8 Apr 2022 20:37:53 +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 10/18] MIPS: DTS: jz4780: fix uart dmas as reported by dtbscheck

arch/mips/boot/dts/ingenic/ci20.dtb: serial@...30000: 'dmas' is a required property
	From schema: Documentation/devicetree/bindings/serial/ingenic,uart.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: serial@...30000: 'dma-names' is a required property
	From schema: Documentation/devicetree/bindings/serial/ingenic,uart.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: serial@...31000: 'dmas' is a required property
	From schema: Documentation/devicetree/bindings/serial/ingenic,uart.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: serial@...31000: 'dma-names' is a required property
	From schema: Documentation/devicetree/bindings/serial/ingenic,uart.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: serial@...32000: 'dmas' is a required property
	From schema: Documentation/devicetree/bindings/serial/ingenic,uart.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: serial@...32000: 'dma-names' is a required property
	From schema: Documentation/devicetree/bindings/serial/ingenic,uart.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: serial@...33000: 'dmas' is a required property
	From schema: Documentation/devicetree/bindings/serial/ingenic,uart.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: serial@...33000: 'dma-names' is a required property
	From schema: Documentation/devicetree/bindings/serial/ingenic,uart.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: serial@...34000: 'dmas' is a required property
	From schema: Documentation/devicetree/bindings/serial/ingenic,uart.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: serial@...34000: 'dma-names' is a required property
	From schema: Documentation/devicetree/bindings/serial/ingenic,uart.yaml
arch/mips/boot/dts/ingenic/ci20.dtb: i2c@...50000: 'dmas' is a required property

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 dc88f9e813453..73cd05cf26472 100644
--- a/arch/mips/boot/dts/ingenic/jz4780.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi
@@ -283,6 +283,10 @@ uart0: serial@...30000 {
 		clocks = <&ext>, <&cgu JZ4780_CLK_UART0>;
 		clock-names = "baud", "module";
 
+		dmas = <&dma JZ4780_DMA_UART0_RX 0xffffffff>,
+		       <&dma JZ4780_DMA_UART0_TX 0xffffffff>;
+		dma-names = "rx", "tx";
+
 		status = "disabled";
 	};
 
@@ -296,6 +300,10 @@ uart1: serial@...31000 {
 		clocks = <&ext>, <&cgu JZ4780_CLK_UART1>;
 		clock-names = "baud", "module";
 
+		dmas = <&dma JZ4780_DMA_UART1_RX 0xffffffff>,
+		       <&dma JZ4780_DMA_UART1_TX 0xffffffff>;
+		dma-names = "rx", "tx";
+
 		status = "disabled";
 	};
 
@@ -309,6 +317,10 @@ uart2: serial@...32000 {
 		clocks = <&ext>, <&cgu JZ4780_CLK_UART2>;
 		clock-names = "baud", "module";
 
+		dmas = <&dma JZ4780_DMA_UART2_RX 0xffffffff>,
+		       <&dma JZ4780_DMA_UART2_TX 0xffffffff>;
+		dma-names = "rx", "tx";
+
 		status = "disabled";
 	};
 
@@ -322,6 +334,10 @@ uart3: serial@...33000 {
 		clocks = <&ext>, <&cgu JZ4780_CLK_UART3>;
 		clock-names = "baud", "module";
 
+		dmas = <&dma JZ4780_DMA_UART3_RX 0xffffffff>,
+		       <&dma JZ4780_DMA_UART3_TX 0xffffffff>;
+		dma-names = "rx", "tx";
+
 		status = "disabled";
 	};
 
@@ -335,6 +351,10 @@ uart4: serial@...34000 {
 		clocks = <&ext>, <&cgu JZ4780_CLK_UART4>;
 		clock-names = "baud", "module";
 
+		dmas = <&dma JZ4780_DMA_UART4_RX 0xffffffff>,
+		       <&dma JZ4780_DMA_UART4_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