[PATCH v5 0/2] add initial Milk-V Duo S board support

Rob Herring robh at kernel.org
Thu Apr 18 08:43:12 PDT 2024


On Wed, 17 Apr 2024 08:53:09 +0200, michael.opdenacker at bootlin.com wrote:
> From: Michael Opdenacker <michael.opdenacker at bootlin.com>
> 
> This adds an initial device tree for the Milk-V Duo S board.
> Last tested on linux-next on April 17, 2024.
> 
> - Changes in V5
>   - Fix the commit message describing the board DTS.
>     MMC is not supported yet.
> 
> - Changes in V4
>   - Remove mmc device (&sdhci0) as not working yet with linux-next
>   - Use "sophgo,cv1812h" compatible as on the Huashan Pi board.
>     Should I call the DTS cv1812h-milkv-duos.dts instead
>     of sg2000-milkv-duos.dts?
> 
> - Changes in V3
>   - Fix enum in devicetree/bindings/riscv/sophgo.yaml
> 
> - Changes in V2:
>   - Add a first patch to register the new compatible string
>     for this board.
>   - Use a correct SoC compatible string
>   - Add "disable-wp" (disable write protect) property
>     to enable write access to the external SD card.
> 
> Michael Opdenacker (2):
>   dt-bindings: riscv: add Milk-V Duo S board compatibles
>   riscv: dts: sophgo: add initial Milk-V Duo S board support
> 
>  .../devicetree/bindings/riscv/sophgo.yaml     |  1 +
>  arch/riscv/boot/dts/sophgo/Makefile           |  1 +
>  .../boot/dts/sophgo/sg2000-milkv-duos.dts     | 34 +++++++++++++++++++
>  3 files changed, 36 insertions(+)
>  create mode 100644 arch/riscv/boot/dts/sophgo/sg2000-milkv-duos.dts
> 
> --
> 2.34.1
> 
> 
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y sophgo/sg2000-milkv-duos.dtb' for 20240417065311.3881023-1-michael.opdenacker at bootlin.com:

arch/riscv/boot/dts/sophgo/sg2000-milkv-duos.dtb: /: compatible: 'oneOf' conditional failed, one must be fixed:
	'milkv,duos' is not one of ['sophgo,huashan-pi']
	'milkv,duos' is not one of ['milkv,pioneer']
	'sophgo,cv1800b' was expected
	'sophgo,sg2042' was expected
	from schema $id: http://devicetree.org/schemas/riscv/sophgo.yaml#








More information about the linux-riscv mailing list