Skip to content

riscv: sophgo: cv18xx: dts rework, part 1

Inochi Amaoto linux-devicetree linux-riscv lkml sophgo 1 version Applied

Status from this message: Applied to for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4riscv: dts: sophgo: Move all soc specific device into soc dtsi filearch/riscv/boot/dts/sophgo/cv1800b.dtsi arch/riscv/boot/dts/sophgo/cv1812h.dtsi arch/riscv/boot/dts/sophgo/cv18xx.dtsi +1 more+78 -582 replies
2/4riscv: dts: sophgo: Move riscv cpu definition to a separate filearch/riscv/boot/dts/sophgo/cv1800b.dtsi arch/riscv/boot/dts/sophgo/cv180x-cpus.dtsi arch/riscv/boot/dts/sophgo/cv1812h.dtsi +2 more+39 -290 replies
3/4riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsiarch/riscv/boot/dts/sophgo/cv1800b.dtsi arch/riscv/boot/dts/sophgo/cv180x.dtsi arch/riscv/boot/dts/sophgo/cv1812h.dtsi +1 more+3 -31 reply
4/4riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt numberarch/riscv/boot/dts/sophgo/cv1800b.dtsi arch/riscv/boot/dts/sophgo/cv180x.dtsi arch/riscv/boot/dts/sophgo/cv1812h.dtsi +2 more+29 -230 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchAlexander SverdlinYixun Lan
1/4R-b R-b
2/4
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] riscv: sophgo: cv18xx: dts rework, part 1

It is a hard time to maintain cv18xx/sg200x device tree file, as it uses something that dts override, shared peripheral header and something hard to migrate arm64 arch. So it is time to rework the device tree file and reduce potential problems.

The part 1 change mainly focus on the format of the current dts file, and try to make them easy to understand and adpat for the arm64 arch.

Inochi Amaoto (4):
riscv: dts: sophgo: Move all soc specific device into soc dtsi file
riscv: dts: sophgo: Move riscv cpu definition to a separate file
riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi
riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt
number

 arch/riscv/boot/dts/sophgo/cv1800b.dtsi       | 43 ++++++---
 arch/riscv/boot/dts/sophgo/cv180x-cpus.dtsi   | 36 +++++++
 .../dts/sophgo/{cv18xx.dtsi => cv180x.dtsi}   | 95 +++++--------------
 arch/riscv/boot/dts/sophgo/cv1812h.dtsi       | 43 ++++++---
 arch/riscv/boot/dts/sophgo/cv181x.dtsi        |  2 +-
 arch/riscv/boot/dts/sophgo/sg2002.dtsi        | 43 ++++++---
 6 files changed, 149 insertions(+), 113 deletions(-)
 create mode 100644 arch/riscv/boot/dts/sophgo/cv180x-cpus.dtsi
 rename arch/riscv/boot/dts/sophgo/{cv18xx.dtsi => cv180x.dtsi} (75%)

--
2.49.0