[PATCH] riscv: dts: sophgo: fix mdio node name for CV180X

Inochi Amaoto posted 1 patch 2 months, 3 weeks ago
arch/riscv/boot/dts/sophgo/cv180x.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] riscv: dts: sophgo: fix mdio node name for CV180X
Posted by Inochi Amaoto 2 months, 3 weeks ago
As the mdio multipledxer is marked as mdio device, the check complains
the mdio bus number exceed the maximum.

Change the node name to mdio-mux to remove the following warnings:
mdio@3009800 (mdio-mux-mmioreg): mdio@80:reg:0:0: 128 is greater than
the maximum of 31

Fixes: b7945143bc33 ("riscv: dts: sophgo: Add mdio multiplexer device for cv18xx")
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202507140738.XRjv3G8i-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202507121830.POx2KDVi-lkp@intel.com/
---
 arch/riscv/boot/dts/sophgo/cv180x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/boot/dts/sophgo/cv180x.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
index 5f094c6085cb..27056ef70ce4 100644
--- a/arch/riscv/boot/dts/sophgo/cv180x.dtsi
+++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
@@ -57,7 +57,7 @@ rst: reset-controller@3003000 {
 			#reset-cells = <1>;
 		};

-		mdio: mdio@3009800 {
+		mdio: mdio-mux@3009800 {
 			compatible = "mdio-mux-mmioreg", "mdio-mux";
 			reg = <0x3009800 0x4>;
 			#address-cells = <1>;
--
2.50.1
Re: [PATCH] riscv: dts: sophgo: fix mdio node name for CV180X
Posted by Inochi Amaoto 2 months, 3 weeks ago
On Wed, 16 Jul 2025 06:13:48 +0800, Inochi Amaoto wrote:
> As the mdio multipledxer is marked as mdio device, the check complains
> the mdio bus number exceed the maximum.
> 
> Change the node name to mdio-mux to remove the following warnings:
> mdio@3009800 (mdio-mux-mmioreg): mdio@80:reg:0:0: 128 is greater than
> the maximum of 31
> 
> [...]

Applied to for-next, thanks!

[1/1] riscv: dts: sophgo: fix mdio node name for CV180X
      https://github.com/sophgo/linux/commit/8727665368cd4af112146b650ec0ebac038b5cf5

Thanks,
Inochi
Re: [PATCH] riscv: dts: sophgo: fix mdio node name for CV180X
Posted by Alexander Sverdlin 2 months, 3 weeks ago
On Wed, 2025-07-16 at 06:13 +0800, Inochi Amaoto wrote:
> As the mdio multipledxer is marked as mdio device, the check complains
> the mdio bus number exceed the maximum.
> 
> Change the node name to mdio-mux to remove the following warnings:
> mdio@3009800 (mdio-mux-mmioreg): mdio@80:reg:0:0: 128 is greater than
> the maximum of 31
> 
> Fixes: b7945143bc33 ("riscv: dts: sophgo: Add mdio multiplexer device for cv18xx")
> Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202507140738.XRjv3G8i-lkp@intel.com/
> Closes: https://lore.kernel.org/oe-kbuild-all/202507121830.POx2KDVi-lkp@intel.com/

Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>

> ---
>  arch/riscv/boot/dts/sophgo/cv180x.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/riscv/boot/dts/sophgo/cv180x.dtsi b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> index 5f094c6085cb..27056ef70ce4 100644
> --- a/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> +++ b/arch/riscv/boot/dts/sophgo/cv180x.dtsi
> @@ -57,7 +57,7 @@ rst: reset-controller@3003000 {
>  			#reset-cells = <1>;
>  		};
> 
> -		mdio: mdio@3009800 {
> +		mdio: mdio-mux@3009800 {
>  			compatible = "mdio-mux-mmioreg", "mdio-mux";
>  			reg = <0x3009800 0x4>;
>  			#address-cells = <1>;

-- 
Alexander Sverdlin.