Skip to contentSkip to conversation

staging: mt7621-dts: change palmbus address to lower case

PATCH New Sergio Paracuellos 1 participant 2 messages Oct 19, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 staging: mt7621-dts: change palmbus address to lower case

Hexadecimal addresses in device tree must be defined using lower case. Change missing one in 'gbpc1.dts' file.

---
 drivers/staging/mt7621-dts/gbpc1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/mt7621-dts/gbpc1.dts +1 -1
index b65d71686814..36e1e507f241 100644
@@ -18,7 +18,7 @@ chosen {
 		bootargs = "console=ttyS0,57600";
 	};
 
-	palmbus: palmbus@1E000000 {
+	palmbus: palmbus@1e000000 {
 		i2c@900 {
 			status = "okay";
 		};
Signature · 1 line
2.33.0
#1 lore raw

PATCH 2/2 staging: mt7621-dts: make use of 'IRQ_TYPE_LEVEL_HIGH' instead of magic numbers

Nodes 'gdma' and 'hsdma' are using magic number '4' in interrupts property. Use 'IRQ_TYPE_LEVEL_HIGH' instead to align with the rest of the nodes in the file.

---
 drivers/staging/mt7621-dts/mt7621.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/mt7621-dts/mt7621.dtsi +2 -2
index ea9cbc6b92cf..82b64d4aab2e 100644
@@ -149,7 +149,7 @@ gdma: gdma@2800 {
 			reset-names = "dma";
 
 			interrupt-parent = <&gic>;
-			interrupts = <0 13 4>;
+			interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>;
 
 			#dma-cells = <1>;
 			#dma-channels = <16>;
@@ -168,7 +168,7 @@ hsdma: hsdma@7000 {
 			reset-names = "hsdma";
 
 			interrupt-parent = <&gic>;
-			interrupts = <0 11 4>;
+			interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
 
 			#dma-cells = <1>;
 			#dma-channels = <1>;
Signature · 1 line
2.33.0