riscv: dts: starfive: Append starfive,jh7110 compatible to VisionFive 2 Lite
Subsystems (3)
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
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]/
--- Documentation/devicetree/bindings/riscv/starfive.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/riscv/starfive.yaml +1 -0
@@ -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
PATCH v2 2/3 riscv: dts: starfive: Append JH-7110 SoC compatible to VisionFive 2 Lite board
In reply to E ShattowAppend "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]/
--- .../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
@@ -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
PATCH v2 3/3 riscv: dts: starfive: Append JH-7110 SoC compatible to VisionFive 2 Lite eMMC board
In reply to E ShattowAppend "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]/
--- .../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
@@ -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
Re: [PATCH v2 1/3] dt-bindings: riscv: starfive: Append JH-7110 SoC compatible to VisionFive 2 Lite board
In reply to E ShattowQuoted 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
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.