[PATCH v3 0/2] Initial support for 100ask CanMV-K230 DshanPi

Jiayu Du posted 2 patches 3 weeks, 3 days ago
.../devicetree/bindings/riscv/canaan.yaml     |  5 ++
arch/riscv/boot/dts/canaan/Makefile           |  1 +
.../boot/dts/canaan/k230-canmv-dshanpi.dts    | 82 +++++++++++++++++++
.../dts/canaan/k230-canmv-module-dshanpi.dtsi | 26 ++++++
4 files changed, 114 insertions(+)
create mode 100644 arch/riscv/boot/dts/canaan/k230-canmv-dshanpi.dts
create mode 100644 arch/riscv/boot/dts/canaan/k230-canmv-module-dshanpi.dtsi
[PATCH v3 0/2] Initial support for 100ask CanMV-K230 DshanPi
Posted by Jiayu Du 3 weeks, 3 days ago
This series adds initial support for the 100ask CanMV-K230 DshanPi
board based on Canaan K230 RISC-V SoC. There is a module on this
development board.

The board and module are documented, the basic board/module devicetrees
are added.

This series is based on the K230 clock series[1] and the patch 3 of the
k230 pinctrl series[2].

Link:  https://lore.kernel.org/all/20251127-b4-k230-clk-v9-0-3aa09e17faf5@zohomail.com/ [1]
Link:  https://lore.kernel.org/all/20240926-k230-pinctrl-v2-3-a9a36fba4b34@163.com/ [2]

Changes in v3:
- Delet the model and compatible of the root node in the dtsi file.
- Use clock-50000000 as the node name.
- Link to v2: https://lore.kernel.org/all/20260104070911.219588-1-jiayu.riscv@isrc.iscas.ac.cn/

Changes in v2:
- Add a minus sign before items.
- Link to v1: https://lore.kernel.org/all/20251229061318.16756-1-jiayu.riscv@isrc.iscas.ac.cn/

Jiayu Du (2):
  dt-bindings: riscv: canaan: add 100ask K230 boards compatible strings
  riscv: dts: canaan: Add initial dshanpi board DT files

 .../devicetree/bindings/riscv/canaan.yaml     |  5 ++
 arch/riscv/boot/dts/canaan/Makefile           |  1 +
 .../boot/dts/canaan/k230-canmv-dshanpi.dts    | 82 +++++++++++++++++++
 .../dts/canaan/k230-canmv-module-dshanpi.dtsi | 26 ++++++
 4 files changed, 114 insertions(+)
 create mode 100644 arch/riscv/boot/dts/canaan/k230-canmv-dshanpi.dts
 create mode 100644 arch/riscv/boot/dts/canaan/k230-canmv-module-dshanpi.dtsi

-- 
2.52.0
Re: [PATCH v3 0/2] Initial support for 100ask CanMV-K230 DshanPi
Posted by Conor Dooley 3 weeks, 3 days ago
On Thu, Jan 15, 2026 at 02:07:59PM +0800, Jiayu Du wrote:
> This series adds initial support for the 100ask CanMV-K230 DshanPi
> board based on Canaan K230 RISC-V SoC. There is a module on this
> development board.
> 
> The board and module are documented, the basic board/module devicetrees
> are added.
> 
> This series is based on the K230 clock series[1] and the patch 3 of the
> k230 pinctrl series[2].
> 
> Link:  https://lore.kernel.org/all/20251127-b4-k230-clk-v9-0-3aa09e17faf5@zohomail.com/ [1]
> Link:  https://lore.kernel.org/all/20240926-k230-pinctrl-v2-3-a9a36fba4b34@163.com/ [2]

Right, I've grabbed patch 3 from [2] and put it on my k230-basic branch.
Do you intend sending a new clock driver series soon? Last time I looked
(about a month ago) you had some changes proposed about critical clocks.
I'd like to try get this stuff merged but obviously it depends on that
clock set. I'll happy send Stephen a PR to smooth things along if the
drivers are ready, but it looks like you need to send another version?

Cheers,
Conor.
> 
> Changes in v3:
> - Delet the model and compatible of the root node in the dtsi file.
> - Use clock-50000000 as the node name.
> - Link to v2: https://lore.kernel.org/all/20260104070911.219588-1-jiayu.riscv@isrc.iscas.ac.cn/
> 
> Changes in v2:
> - Add a minus sign before items.
> - Link to v1: https://lore.kernel.org/all/20251229061318.16756-1-jiayu.riscv@isrc.iscas.ac.cn/
> 
> Jiayu Du (2):
>   dt-bindings: riscv: canaan: add 100ask K230 boards compatible strings
>   riscv: dts: canaan: Add initial dshanpi board DT files
> 
>  .../devicetree/bindings/riscv/canaan.yaml     |  5 ++
>  arch/riscv/boot/dts/canaan/Makefile           |  1 +
>  .../boot/dts/canaan/k230-canmv-dshanpi.dts    | 82 +++++++++++++++++++
>  .../dts/canaan/k230-canmv-module-dshanpi.dtsi | 26 ++++++
>  4 files changed, 114 insertions(+)
>  create mode 100644 arch/riscv/boot/dts/canaan/k230-canmv-dshanpi.dts
>  create mode 100644 arch/riscv/boot/dts/canaan/k230-canmv-module-dshanpi.dtsi
> 
> -- 
> 2.52.0
> 
Re: [PATCH v3 0/2] Initial support for 100ask CanMV-K230 DshanPi
Posted by Jiayu Du 3 weeks, 3 days ago
On Thu, Jan 15, 2026 at 07:23:17PM +0000, Conor Dooley wrote:
> On Thu, Jan 15, 2026 at 02:07:59PM +0800, Jiayu Du wrote:
> > This series adds initial support for the 100ask CanMV-K230 DshanPi
> > board based on Canaan K230 RISC-V SoC. There is a module on this
> > development board.
> > 
> > The board and module are documented, the basic board/module devicetrees
> > are added.
> > 
> > This series is based on the K230 clock series[1] and the patch 3 of the
> > k230 pinctrl series[2].
> > 
> > Link:  https://lore.kernel.org/all/20251127-b4-k230-clk-v9-0-3aa09e17faf5@zohomail.com/ [1]
> > Link:  https://lore.kernel.org/all/20240926-k230-pinctrl-v2-3-a9a36fba4b34@163.com/ [2]
> 
> Right, I've grabbed patch 3 from [2] and put it on my k230-basic branch.
> Do you intend sending a new clock driver series soon? Last time I looked
> (about a month ago) you had some changes proposed about critical clocks.
> I'd like to try get this stuff merged but obviously it depends on that
> clock set. I'll happy send Stephen a PR to smooth things along if the
> drivers are ready, but it looks like you need to send another version?
> 
> Cheers,
> Conor.

I'm not working with Xukai Wang, the developer of the clock series.
I merely discovered the critical clocks during the test and raised
this issue. Regarding the new version of the clock series, you need
to contact Xukai Wang.

I am currently only working on the USB and sd/mmc series of k230.

Best Regards,
Jiayu Du.
> > 
> > Changes in v3:
> > - Delet the model and compatible of the root node in the dtsi file.
> > - Use clock-50000000 as the node name.
> > - Link to v2: https://lore.kernel.org/all/20260104070911.219588-1-jiayu.riscv@isrc.iscas.ac.cn/
> > 
> > Changes in v2:
> > - Add a minus sign before items.
> > - Link to v1: https://lore.kernel.org/all/20251229061318.16756-1-jiayu.riscv@isrc.iscas.ac.cn/
> > 
> > Jiayu Du (2):
> >   dt-bindings: riscv: canaan: add 100ask K230 boards compatible strings
> >   riscv: dts: canaan: Add initial dshanpi board DT files
> > 
> >  .../devicetree/bindings/riscv/canaan.yaml     |  5 ++
> >  arch/riscv/boot/dts/canaan/Makefile           |  1 +
> >  .../boot/dts/canaan/k230-canmv-dshanpi.dts    | 82 +++++++++++++++++++
> >  .../dts/canaan/k230-canmv-module-dshanpi.dtsi | 26 ++++++
> >  4 files changed, 114 insertions(+)
> >  create mode 100644 arch/riscv/boot/dts/canaan/k230-canmv-dshanpi.dts
> >  create mode 100644 arch/riscv/boot/dts/canaan/k230-canmv-module-dshanpi.dtsi
> > 
> > -- 
> > 2.52.0
> >
Re: [PATCH v3 0/2] Initial support for 100ask CanMV-K230 DshanPi
Posted by Conor Dooley 3 weeks, 2 days ago
On Fri, Jan 16, 2026 at 11:09:51AM +0800, Jiayu Du wrote:
> On Thu, Jan 15, 2026 at 07:23:17PM +0000, Conor Dooley wrote:
> > On Thu, Jan 15, 2026 at 02:07:59PM +0800, Jiayu Du wrote:
> > > This series adds initial support for the 100ask CanMV-K230 DshanPi
> > > board based on Canaan K230 RISC-V SoC. There is a module on this
> > > development board.
> > > 
> > > The board and module are documented, the basic board/module devicetrees
> > > are added.
> > > 
> > > This series is based on the K230 clock series[1] and the patch 3 of the
> > > k230 pinctrl series[2].
> > > 
> > > Link:  https://lore.kernel.org/all/20251127-b4-k230-clk-v9-0-3aa09e17faf5@zohomail.com/ [1]
> > > Link:  https://lore.kernel.org/all/20240926-k230-pinctrl-v2-3-a9a36fba4b34@163.com/ [2]
> > 
> > Right, I've grabbed patch 3 from [2] and put it on my k230-basic branch.
> > Do you intend sending a new clock driver series soon? Last time I looked
> > (about a month ago) you had some changes proposed about critical clocks.
> > I'd like to try get this stuff merged but obviously it depends on that
> > clock set. I'll happy send Stephen a PR to smooth things along if the
> > drivers are ready, but it looks like you need to send another version?
> > 
> > Cheers,
> > Conor.
> 
> I'm not working with Xukai Wang, the developer of the clock series.
> I merely discovered the critical clocks during the test and raised
> this issue. Regarding the new version of the clock series, you need
> to contact Xukai Wang.
> 
> I am currently only working on the USB and sd/mmc series of k230.

Ah, my apologies. I clicked the link and when to look at the most recent
activity and your name was on the patch with the fixes to critical clocks,
I guess I never checked to see if you were also the series author. Sorry
about that! Looks like a v10 went out today anyway, so worked out in the
end anyway ;)