diff mbox series

riscv: dts: microchip: fix fabric i2c reg size

Message ID 20220920093734.29287-1-conor.dooley@microchip.com (mailing list archive)
State New, archived
Headers show
Series riscv: dts: microchip: fix fabric i2c reg size | expand

Commit Message

Conor Dooley Sept. 20, 2022, 9:37 a.m. UTC
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")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
 arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Conor Dooley Oct. 7, 2022, 1:37 p.m. UTC | #1
On Tue, Sep 20, 2022 at 10:37:35AM +0100, Conor Dooley wrote:
> 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.

> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
> ---
>  arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi
> index c196bbfc0c24..917ed4c7b18f 100644
> --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi
> +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi
> @@ -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>;
> -- 
> 2.37.3
> 
> 
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
>
diff mbox series

Patch

diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi
index c196bbfc0c24..917ed4c7b18f 100644
--- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi
+++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi
@@ -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>;