Skip to contentSkip to conversation

riscv: dts: starfive: Append starfive,jh7110 compatible to VisionFive 2 Lite

PATCH Applied E Shattow 3 participants 6 messages Dec 12, 2025 – Dec 20, 2025

Subsystems (3)
lore
Share & tools
lore

E Shattow

author
#0 lore raw

v2 cover riscv: dts: starfive: Append starfive,jh7110 compatible to VisionFive 2 Lite

Append "starfive,jh7110" compatible to VisionFive 2 Lite and VisionFive 2 Lite eMMC in the least-compatible end of the list.

Appending "starfive,jh7110" reduces the number of compatible strings to check in the OpenSBI platform driver. JH-7110S SoC on these boards is the same as JH-7110 SoC however rated for thermal, voltage, and frequency characteristics for a maximum of 1.25GHz operation.

Link to previous discussion suggesting this change:
https://lore.kernel.org/lkml/[email protected]/

Changes since v1:
- add "starfive,jh7110" to dt-binding
- revise commit message
- split dts patch to patch-per-fix
- add cover letter

E Shattow (3):
dt-bindings: riscv: starfive: Append JH-7110 SoC compatible to
VisionFive 2 Lite board
riscv: dts: starfive: Append JH-7110 SoC compatible to VisionFive 2
Lite board
riscv: dts: starfive: Append JH-7110 SoC compatible to VisionFive 2
Lite eMMC board

 Documentation/devicetree/bindings/riscv/starfive.yaml           | 1 +
 .../dts/starfive/jh7110-starfive-visionfive-2-lite-emmc.dts     | 2 +-
 .../boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dts     | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

base-commit: 187d0801404f415f22c0b31531982c7ea97fa341

Signature · 1 line
2.50.0
author
#1 lore raw

PATCH v2 1/3 dt-bindings: riscv: starfive: Append JH-7110 SoC compatible to VisionFive 2 Lite board

Append "starfive,jh7110" compatible to VisionFive 2 Lite and VisionFive 2 Lite eMMC boards in the least-compatible end of the list.

Appending "starfive,jh7110" reduces the number of compatible strings to check in the OpenSBI platform driver. JH-7110S SoC on these boards is the same as JH-7110 SoC however rated for thermal, voltage, and frequency characteristics for a maximum of 1.25GHz operation.

Link to previous discussion suggesting this change:
https://lore.kernel.org/lkml/[email protected]/

Fixes 7a1e15b248d6 ("dt-bindings: riscv: Add StarFive JH7110S SoC and VisionFive 2 Lite board")
---
 Documentation/devicetree/bindings/riscv/starfive.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/riscv/starfive.yaml +1 -0
index 9253aab21518..8ba0e10b529a 100644
@@ -41,6 +41,7 @@ properties:
               - starfive,visionfive-2-lite
               - starfive,visionfive-2-lite-emmc
           - const: starfive,jh7110s
+          - const: starfive,jh7110
 
 additionalProperties: true
 
Signature · 1 line
2.50.0
author
#3 lore raw

PATCH v2 2/3 riscv: dts: starfive: Append JH-7110 SoC compatible to VisionFive 2 Lite board

In reply to E Shattow

Append "starfive,jh7110" compatible to VisionFive 2 Lite board in the least-compatible end of the list.

Appending "starfive,jh7110" reduces the number of compatible strings to check in the OpenSBI platform driver. JH-7110S SoC on this board is the same as JH-7110 SoC however rated for thermal, voltage, and frequency characteristics for a maximum of 1.25GHz operation.

Link to previous discussion suggesting this change:
https://lore.kernel.org/lkml/[email protected]/

Fixes 900b32fd601b ("riscv: dts: starfive: Add VisionFive 2 Lite board device tree")
---
 .../boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dts +1 -1
index b96eea4fa7d5..b9913991a1b7 100644
@@ -9,7 +9,7 @@
 
 / {
 	model = "StarFive VisionFive 2 Lite";
-	compatible = "starfive,visionfive-2-lite", "starfive,jh7110s";
+	compatible = "starfive,visionfive-2-lite", "starfive,jh7110s", "starfive,jh7110";
 };
 
 &mmc0 {
Signature · 1 line
2.50.0
author
#4 lore raw

PATCH v2 3/3 riscv: dts: starfive: Append JH-7110 SoC compatible to VisionFive 2 Lite eMMC board

In reply to E Shattow

Append "starfive,jh7110" compatible to VisionFive 2 Lite eMMC board in the least-compatible end of the list.

Appending "starfive,jh7110" reduces the number of compatible strings to check in the OpenSBI platform driver. JH-7110S SoC on this board is the same as JH-7110 SoC however rated for thermal, voltage, and frequency characteristics for a maximum of 1.25GHz operation.

Link to previous discussion suggesting this change:
https://lore.kernel.org/lkml/[email protected]/

Fixes ae264ae12442 ("riscv: dts: starfive: Add VisionFive 2 Lite eMMC board device tree")
---
 .../dts/starfive/jh7110-starfive-visionfive-2-lite-emmc.dts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite-emmc.dts +1 -1
index e27a662d4022..7544efa95de4 100644
@@ -9,7 +9,7 @@
 
 / {
 	model = "StarFive VisionFive 2 Lite eMMC";
-	compatible = "starfive,visionfive-2-lite-emmc", "starfive,jh7110s";
+	compatible = "starfive,visionfive-2-lite-emmc", "starfive,jh7110s", "starfive,jh7110";
 };
 
 &mmc0 {
Signature · 1 line
2.50.0
#2 lore raw

Re: [PATCH v2 1/3] dt-bindings: riscv: starfive: Append JH-7110 SoC compatible to VisionFive 2 Lite board

In reply to E Shattow
Quoted 10 lines · E Shattow

Append "starfive,jh7110" compatible to VisionFive 2 Lite and VisionFive 2 Lite eMMC boards in the least-compatible end of the list.

Appending "starfive,jh7110" reduces the number of compatible strings to check in the OpenSBI platform driver. JH-7110S SoC on these boards is the same as JH-7110 SoC however rated for thermal, voltage, and frequency characteristics for a maximum of 1.25GHz operation.

Link to previous discussion suggesting this change:
https://lore.kernel.org/lkml/[email protected]/

Just use Link tag. That's what it is for.

Quoted 2 lines
Fixes 7a1e15b248d6 ("dt-bindings: riscv: Add StarFive JH7110S SoC and VisionFive 2 Lite board")

You would need to describe the bug first. Optimizing your openSBI driver is not a bug, so I don't see what is supposed to be fixed.

Best regards,
Krzysztof

maintainer Applied
#5 lore raw
In reply to E Shattow

From: Conor Dooley <[email protected]>

Quoted 9 lines · E Shattow

Append "starfive,jh7110" compatible to VisionFive 2 Lite and VisionFive 2 Lite eMMC in the least-compatible end of the list.

Appending "starfive,jh7110" reduces the number of compatible strings to check in the OpenSBI platform driver. JH-7110S SoC on these boards is the same as JH-7110 SoC however rated for thermal, voltage, and frequency characteristics for a maximum of 1.25GHz operation.

[...]

Applied to riscv-dt-for-next, thanks! I dropped the Fixes tags in the end, I just didn't feel like they were correct. I made the links into Link tags.

[1/3] dt-bindings: riscv: starfive: Append JH-7110 SoC compatible to VisionFive 2 Lite board

      https://git.kernel.org/conor/c/d2091990c5c1
[2/3] riscv: dts: starfive: Append JH-7110 SoC compatible to VisionFive 2 Lite board
      https://git.kernel.org/conor/c/7c9a5fd6bb19
[3/3] riscv: dts: starfive: Append JH-7110 SoC compatible to VisionFive 2 Lite eMMC board
      https://git.kernel.org/conor/c/4297ddbf1d14

Thanks,
Conor.