U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Hiago De Franco <hfranco@baylibre.com>
To: Zhuxu Ran <zhuxu_ran@zohomail.com>
Cc: u-boot@lists.u-boot-project.org, Chao Wei <chao.wei@sophgo.com>,
	 Chen Wang <unicorn_wang@outlook.com>, Yao Zi <me@ziyao.cc>,
	Lukasz Majewski <lukma@denx.de>,  Tom Rini <trini@konsulko.com>,
	Peng Fan <peng.fan@nxp.com>,
	 Jaehoon Chung <jh80.chung@samsung.com>,
	Stefan Roese <stefan.roese@mailbox.org>,
	Sumit Garg <sumit.garg@kernel.org>,
	Inochi Amaoto <inochiama@gmail.com>,
	 Conor Dooley <conor.dooley@microchip.com>,
	Chen-Yu Yeh <chenyou910331@gmail.com>,
	 Chen Wang <chen.wang@linux.dev>,
	Kongyang Liu <seashell11234455@gmail.com>,
	 Tim Ouyang <tim609@andestech.com>,
	Leo Liang <leo.liang@sifive.com>,
	 Thomas Bonnefille <thomas.bonnefille@bootlin.com>,
	Guodong Xu <guodong@riscstar.com>,
	 Quentin Schulz <quentin.schulz@cherry.de>,
	Johan Jonker <jbx6244@gmail.com>,
	 Casey Connolly <casey.connolly@linaro.org>,
	Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>,
	 Alexander Koch <akoch@initse.com>,
	Andreas Schwab <schwab@suse.de>,
	 Junhui Liu <junhui.liu@pigmoral.tech>,
	Marek Vasut <marex@nabladev.com>,
	 Sumit Garg <sumit.garg@oss.qualcomm.com>,
	Peter Robinson <pbrobinson@gmail.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Andrei Lalaev <andrey.lalaev@gmail.com>
Subject: Re: [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards
Date: Tue, 29 Sep 2026 09:40:44 -0300	[thread overview]
Message-ID: <aruxYgDv7K2voR35@hiagonb> (raw)
In-Reply-To: <20260927-milkv-duo-upstream-dts-v5-0-7f64983e59e1@zohomail.com>

On Sun, Sep 27, 2026 at 08:08:55PM +0800, Zhuxu Ran wrote:
> Milk-V Duo, Milk-V Duo 256M, and LicheeRV Nano currently use local
> devicetrees under arch/riscv/dts. Equivalent descriptions are available
> upstream, but Milk-V Duo 256M support has not yet reached U-Boot's
> dts/upstream tree.
> 
> Import the upstream changes required for Milk-V Duo 256M and enable
> CONFIG_OF_UPSTREAM for all three boards. Add the clock and SDHCI
> compatible strings needed by the upstream devicetrees.
> 
> U-Boot-specific overrides retain Ethernet and SPI NOR support on Milk-V
> Duo, and Ethernet support on Milk-V Duo 256M with its optional IO board.
> Enable the MDIO mux support required by the Duo 256M Ethernet topology.
> 
> With all local users converted, remove the local CV18xx devicetrees and
> the legacy "sophgo,cv1800-clk" clock compatible string.
> 
> Tested on Milk-V Duo, Milk-V Duo 256M, and LicheeRV Nano. Build-tested
> for all three boards with the riscv64-linux-gnu cross compiler.
> 
> Signed-off-by: Zhuxu Ran <zhuxu_ran@zohomail.com>

Thanks for the patches! For the whole series:

Reviewed-by: Hiago De Franco <hfranco@baylibre.com>

> ---
> Changes in v5:
> - Move the RTC and system-reset changes to a separate series
> - Enable the MDIO mux drivers required by the Milk-V Duo 256M upstream
>   Ethernet description
> - Link to v4: https://patch.msgid.link/20260922-milkv-duo-upstream-dts-v4-0-d45b74dfad36@zohomail.com
> 
> Changes in v4:
> - Import the upstream Milk-V Duo 256M devicetree changes
> - Switch Milk-V Duo 256M to CONFIG_OF_UPSTREAM
> - Add CV1800 RTC support and bind system reset through the RTC node
> - Preserve Milk-V Duo 256M Ethernet support through a U-Boot override
> - Link to v3: https://patch.msgid.link/20260806-milkv-duo-upstream-dts-v3-0-917cf70a2337@zohomail.com
> 
> Changes in v3:
> - Restore the CV1800B SPIF node in the Milk-V Duo U-Boot override
> - Link to v2: https://patch.msgid.link/20260727-milkv-duo-upstream-dts-v2-0-51486b4549c7@zohomail.com
> 
> Changes in v2:
> - Expand the upstream devicetree conversion to LicheeRV Nano
> - Add SG2002 clock and MMC compatible strings
> - Enable hardware system reset on LicheeRV Nano
> - Remove the legacy clock compatible string after converting all users
> - Move the Milk-V Duo Ethernet description above the gmac0 node
> - Link to v1: https://patch.msgid.link/20260706-milkv-duo-upstream-dts-v1-0-8d010ddda7ca@zohomail.com
> 
> ---
> Chen-Yu Yeh (3):
>       dt-bindings: soc: sophgo: add Milk-V Duo 256M board
>       riscv: dts: sophgo: cv180x: Add PWR_GPIO controller
>       riscv: dts: sophgo: Add Milk-V Duo 256M board support
> 
> Zhuxu Ran (7):
>       clk: sophgo: cv1800b: Add SoC-specific compatible strings
>       mmc: cv1800b: Add SG2002 compatible string
>       riscv: milkv_duo: Use upstream devicetree
>       riscv: licheerv_nano: Use upstream devicetree
>       riscv: milkv_duo_256m: Use upstream devicetree
>       riscv: dts: sophgo: Drop local CV18xx devicetrees
>       clk: sophgo: cv1800b: Drop legacy compatible string
> 
>  arch/riscv/dts/Makefile                            |   3 -
>  arch/riscv/dts/cv1800b-milkv-duo-u-boot.dtsi       |  35 ++++
>  arch/riscv/dts/cv1800b-milkv-duo.dts               |  64 ------
>  arch/riscv/dts/cv1800b.dtsi                        |  22 --
>  arch/riscv/dts/cv18xx.dtsi                         | 232 ---------------------
>  arch/riscv/dts/sg2002-licheerv-nano-b.dts          |  45 ----
>  arch/riscv/dts/sg2002-milkv-duo256m-u-boot.dtsi    |  16 ++
>  arch/riscv/dts/sg2002-milkv-duo256m.dts            |  46 ----
>  arch/riscv/dts/sg2002.dtsi                         |  34 ---
>  board/sophgo/milkv_duo/MAINTAINERS                 |   3 +-
>  board/sophgo/milkv_duo_256m/MAINTAINERS            |   1 +
>  configs/milkv_duo_256m_defconfig                   |   6 +-
>  configs/milkv_duo_defconfig                        |   3 +-
>  configs/sipeed_licheerv_nano_defconfig             |   3 +-
>  doc/board/sophgo/milkv_duo_256m.rst                |   2 +-
>  drivers/clk/sophgo/clk-cv1800b.c                   |   3 +-
>  drivers/mmc/cv1800b_sdhci.c                        |   1 +
>  dts/upstream/Bindings/soc/sophgo/sophgo.yaml       |   4 +
>  dts/upstream/src/riscv/sophgo/cv180x.dtsi          |  18 ++
>  .../src/riscv/sophgo/sg2002-milkv-duo256m.dts      | 121 +++++++++++
>  20 files changed, 210 insertions(+), 452 deletions(-)
> ---
> base-commit: a06e89ab05eaa2b8344d521319399333cd760ae5
> change-id: 20260702-milkv-duo-upstream-dts-b54aed41fc61
> 
> Best regards,
> --  
> Zhuxu Ran <zhuxu_ran@zohomail.com>
> 

Regards,
-- 
Hiago

      parent reply	other threads:[~2026-09-29 12:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-27 12:08 [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Zhuxu Ran
2026-09-27 11:45 ` [PATCH v5 07/10] riscv: licheerv_nano: Use upstream devicetree Zhuxu Ran
2026-09-27 11:45 ` [PATCH v5 08/10] riscv: milkv_duo_256m: " Zhuxu Ran
2026-09-27 11:45 ` [PATCH v5 09/10] riscv: dts: sophgo: Drop local CV18xx devicetrees Zhuxu Ran
2026-09-27 11:46 ` [PATCH v5 10/10] clk: sophgo: cv1800b: Drop legacy compatible string Zhuxu Ran
2026-09-27 12:08 ` [PATCH v5 01/10] clk: sophgo: cv1800b: Add SoC-specific compatible strings Zhuxu Ran
2026-09-27 12:08 ` [PATCH v5 02/10] mmc: cv1800b: Add SG2002 compatible string Zhuxu Ran
2026-09-27 12:08 ` [PATCH v5 03/10] dt-bindings: soc: sophgo: add Milk-V Duo 256M board Zhuxu Ran
2026-09-27 12:08 ` [PATCH v5 04/10] riscv: dts: sophgo: cv180x: Add PWR_GPIO controller Zhuxu Ran
2026-09-27 12:09 ` [PATCH v5 05/10] riscv: dts: sophgo: Add Milk-V Duo 256M board support Zhuxu Ran
2026-09-27 12:09 ` [PATCH v5 06/10] riscv: milkv_duo: Use upstream devicetree Zhuxu Ran
2026-09-28 22:47 ` [PATCH v5 00/10] riscv: sophgo: Use upstream devicetrees for CV18xx boards Yao Zi
2026-09-29 12:40 ` Hiago De Franco [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aruxYgDv7K2voR35@hiagonb \
    --to=hfranco@baylibre.com \
    --cc=akoch@initse.com \
    --cc=andrey.lalaev@gmail.com \
    --cc=casey.connolly@linaro.org \
    --cc=chao.wei@sophgo.com \
    --cc=chen.wang@linux.dev \
    --cc=chenyou910331@gmail.com \
    --cc=conor.dooley@microchip.com \
    --cc=guodong@riscstar.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=inochiama@gmail.com \
    --cc=jbx6244@gmail.com \
    --cc=jh80.chung@samsung.com \
    --cc=junhui.liu@pigmoral.tech \
    --cc=leo.liang@sifive.com \
    --cc=lukma@denx.de \
    --cc=marex@nabladev.com \
    --cc=me@ziyao.cc \
    --cc=pbrobinson@gmail.com \
    --cc=peng.fan@nxp.com \
    --cc=quentin.schulz@cherry.de \
    --cc=schwab@suse.de \
    --cc=seashell11234455@gmail.com \
    --cc=stefan.roese@mailbox.org \
    --cc=sumit.garg@kernel.org \
    --cc=sumit.garg@oss.qualcomm.com \
    --cc=thomas.bonnefille@bootlin.com \
    --cc=tim609@andestech.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=unicorn_wang@outlook.com \
    --cc=varadarajan.narayanan@oss.qualcomm.com \
    --cc=zhuxu_ran@zohomail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox