public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v6 0/2] add initial Milk-V Duo S board support
@ 2024-04-21  5:57 michael.opdenacker
  2024-04-21  5:57 ` [PATCH v6 1/2] dt-bindings: riscv: add Milk-V Duo S board compatibles michael.opdenacker
  2024-04-21  5:57 ` [PATCH v6 2/2] riscv: dts: sophgo: add initial Milk-V Duo S board support michael.opdenacker
  0 siblings, 2 replies; 8+ messages in thread
From: michael.opdenacker @ 2024-04-21  5:57 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou, Chen Wang,
	Inochi Amaoto
  Cc: Michael Opdenacker, linux-riscv

From: Michael Opdenacker <michael.opdenacker@bootlin.com>

This adds an initial device tree for the Milk-V Duo S board.
Last tested on linux-next 20240419

Patch produced against the "for-next" branch of the sophgo "linux" tree:
https://github.com/sophgo/linux.git

- Changes in V6
  - Change board compatible from "milkv,duos" to "milkv,duo-s"
  - Rename sg2000-milkv-duos.dts to cv1812h-milkv-duo-s.dts
  - Remove redundant line from board DTS:
    device_type = "memory";
    It was already set in cv1812h.dtsi

- 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/cv1812h-milkv-duo-s.dts   | 33 +++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 100644 arch/riscv/boot/dts/sophgo/cv1812h-milkv-duo-s.dts

-- 
2.34.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-04-22  7:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-21  5:57 [PATCH v6 0/2] add initial Milk-V Duo S board support michael.opdenacker
2024-04-21  5:57 ` [PATCH v6 1/2] dt-bindings: riscv: add Milk-V Duo S board compatibles michael.opdenacker
2024-04-21 14:12   ` Krzysztof Kozlowski
2024-04-21 18:55     ` Michael Opdenacker
2024-04-22  4:24       ` Krzysztof Kozlowski
2024-04-22  6:23         ` Michael Opdenacker
2024-04-22  7:49           ` Cristian Ciocaltea
2024-04-21  5:57 ` [PATCH v6 2/2] riscv: dts: sophgo: add initial Milk-V Duo S board support michael.opdenacker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox