Skip to contentSkip to conversation

riscv: dts: microchip: fix fabric i2c reg size

PATCH In review Conor Dooley 1 participant 2 messages Sep 20, 2022 – Oct 7, 2022

Subsystems (3)
lore
Share & tools
lore

Conor Dooley

author maintainer
#0 lore raw

PATCH 1/1 riscv: dts: microchip: fix fabric i2c reg size

The size of the reg should've been changed when the address was changed, but obviously I forgot to do so.

Fixes 7f3be227e818 ("riscv: dts: microchip: icicle: re-jig fabric peripheral addresses")
---
 arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi +1 -1
index c196bbfc0c24..917ed4c7b18f 100644
@@ -17,7 +17,7 @@ core_pwm0: pwm@40000000 {
 
 	i2c2: i2c@40000200 {
 		compatible = "microchip,corei2c-rtl-v7";
-		reg = <0x0 0x40000200 0x0 0x1000>;
+		reg = <0x0 0x40000200 0x0 0x100>;
 		#address-cells = <1>;
 		#size-cells = <0>;
 		clocks = <&ccc_nw CLK_CCC_PLL0_OUT3>;
Signature · 1 line
2.37.3
author maintainer
#1 lore raw
Quoted 4 lines · Conor Dooley

The size of the reg should've been changed when the address was changed, but obviously I forgot to do so.

Fixes 7f3be227e818 ("riscv: dts: microchip: icicle: re-jig fabric peripheral addresses")

Forgot about this patch... Changed the fixes tag since I had to rebase the branch it was based on, and applied:
https://git.kernel.org/conor/c/c210b91818e81068ca2573c20684644b8e110a07

Figured it was better to apply despite being in the merge window rather than submit a PR for a dt that I know is not right.

Quoted 27 lines
---
 arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi +1 -1
index c196bbfc0c24..917ed4c7b18f 100644
@@ -17,7 +17,7 @@ core_pwm0: pwm@40000000 {
 
 	i2c2: i2c@40000200 {
 		compatible = "microchip,corei2c-rtl-v7";
-		reg = <0x0 0x40000200 0x0 0x1000>;
+		reg = <0x0 0x40000200 0x0 0x100>;
 		#address-cells = <1>;
 		#size-cells = <0>;
 		clocks = <&ccc_nw CLK_CCC_PLL0_OUT3>;
Signature · 7 lines
2.37.3


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv