* [PATCH] riscv: dts: microchip: fix fabric i2c reg size
@ 2022-09-20 9:37 Conor Dooley
2022-10-07 13:37 ` Conor Dooley
0 siblings, 1 reply; 2+ messages in thread
From: Conor Dooley @ 2022-09-20 9:37 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Daire McNamara
Cc: Hugh Breslin, devicetree, linux-riscv
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(-)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] riscv: dts: microchip: fix fabric i2c reg size
2022-09-20 9:37 [PATCH] riscv: dts: microchip: fix fabric i2c reg size Conor Dooley
@ 2022-10-07 13:37 ` Conor Dooley
0 siblings, 0 replies; 2+ messages in thread
From: Conor Dooley @ 2022-10-07 13:37 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Daire McNamara
Cc: Hugh Breslin, devicetree, linux-riscv
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
>
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-07 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-20 9:37 [PATCH] riscv: dts: microchip: fix fabric i2c reg size Conor Dooley
2022-10-07 13:37 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).