Add RESET_SPACEMIT_K1 option in config
Signed-off-by: Huan Zhou
---
arch/riscv/cpu/k1/Kconfig | 1 +
configs/bananapi-f3_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/riscv/cpu/k1/Kconfig b/arch/riscv/cpu/k1/Kconfig
index
d9cd8dce96426bb4cbe9ff38385a4c66116fe341
Add dt-binding for reset driver.
Signed-off-by: Huan Zhou
---
include/dt-bindings/reset/spacemit-k1-reset.h | 118 ++
1 file changed, 118 insertions(+)
diff --git a/include/dt-bindings/reset/spacemit-k1-reset.h
b/include/dt-bindings/reset/spacemit-k1-reset.h
new file
...@per1cycle.org/
Signed-off-by: Huan Zhou
---
Huan Zhou (4):
riscv: dt-binding: k1: Add reset driver binding definition.
riscv: reset: k1: Add reset driver
riscv: dts: k1: add reset controller node in device tree
Add reset config options for k1
arch/riscv/cpu/k1/Kconfig
Add reset-controller in k1 device tree.
Signed-off-by: Huan Zhou
---
arch/riscv/dts/k1.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/riscv/dts/k1.dtsi b/arch/riscv/dts/k1.dtsi
index
514be453dbaf6713cdf4ad5a5d653488297ebb83
Add spacemit reset driver.
Signed-off-by: Huan Zhou
---
drivers/reset/Kconfig | 7 +
drivers/reset/Makefile| 1 +
drivers/reset/reset-spacemit-k1.c | 548 ++
3 files changed, 556 insertions(+)
diff --git a/drivers/reset/Kconfig b
On Thu, Mar 06, 2025 at 12:45:14PM +0800, Leo Liang wrote:
> Hi Huan,
>
> Please run scripts/checkpatch.pl against your patchset
ok
> and respin a v2 after all the warnings & errors are attended to.
>
> Thanks,
> Leo
>
> On Tue, Mar 04, 2025 at 03:03:28PM
Add RESET_SPACEMIT_K1 option in config
---
arch/riscv/cpu/k1/Kconfig | 1 +
configs/bananapi-f3_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/riscv/cpu/k1/Kconfig b/arch/riscv/cpu/k1/Kconfig
index
d9cd8dce96426bb4cbe9ff38385a4c66116fe341..14201df80f2c0bf304225ef6d8dc8e7
et-spacemit-k1.c
new file mode 100644
index
..a7de2a2a943a70ce28b5787bb0eb06b485739841
--- /dev/null
+++ b/drivers/reset/reset-spacemit-k1.c
@@ -0,0 +1,438 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2022 Spacemit Inc.
+ * Copyrigh
Add reset-controller in k1 device tree.
---
arch/riscv/dts/k1.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/riscv/dts/k1.dtsi b/arch/riscv/dts/k1.dtsi
index
514be453dbaf6713cdf4ad5a5d653488297ebb83..b3e3f81d4dfa6e64dd4a00625280e43b014a6915
100644
--- a/arch/riscv
..3835b3264a6b4cb3affa0d04690e158f2e385ea2
--- /dev/null
+++ b/include/dt-bindings/reset/spacemit-k1-reset.h
@@ -0,0 +1,118 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2022 Spacemit Inc.
+ * Copyright (C) 2025 Huan Zhou
+ */
+
+#ifndef
Add device tree bindings and basic reset controller driver for the
BananaPi F3 board.This initial implementation supports the core reset
functionality.
Signed-off-by: Huan Zhou
---
Huan Zhou (4):
riscv: dt-binding: k1: Add reset driver binding definition.
riscv: reset: k1: Add reset
Implement functionality to probe and calculate the DRAM size
during the boot phase for the RISC-V spacemit K1 platform.
Tested-by: Marcel Ziswiler # BPI-F3 16G
Signed-off-by: Huan Zhou
---
This patch introduce improvement for get dram size on spacemit k1 platform,
retrieving the dram size
Implement functionality to probe and calculate the DRAM size
during the boot phase for the RISC-V spacemit K1 platform.
Tested-by: Marcel Ziswiler # BPI-F3 16G
Signed-off-by: Huan Zhou
---
This patch introduce improvement for get dram size on spacemit k1 platform,
retrieving the dram size
On Tue, Jan 14, 2025 at 04:01:25PM +0800, Huan Zhou wrote:
> Implement functionality to probe and calculate the DRAM size during the boot
> phase for the RISC-V spacemit K1 platform.
> The `map_format_size` function extracts the memory density from a given
> value, while `ddr
initializes the global RAM base and size based on the
detected DRAM density, ensuring proper memory configuration at boot.
Tested-by: Marcel Ziswiler # BPI-F3 16G
Signed-off-by: Huan Zhou
---
This patch introduce improvement for get dram size on spacemit k1 platform,
retrieving the dram size
On Tue, Jan 14, 2025 at 07:12:27AM +, Yixun Lan wrote:
> Hi Huan
>
> On 13:13 Tue 14 Jan , Huan Zhou wrote:
> > sry for the delay, i was setting my homelab these day.
> >
> > On Tue, Jan 14, 2025 at 01:10:42PM +0800, Huan Zhou wrote:
> > >
> &
sry for the delay, i was setting my homelab these day.
On Tue, Jan 14, 2025 at 01:10:42PM +0800, Huan Zhou wrote:
>
>
these content is from the cover letter and imo should be ignore during patch
step.
> ---
> This patch introduce improvement for get dram size on bananapi BPI-F3,
map_format_size() function.
- Add test log in the cover letter..
- Link to v1:
https://lore.kernel.org/r/20250108-get-dram-size-v1-1-4bae32ecf...@per1cycle.org
Signed-off-by: Huan Zhou
Tested-by: Marcel Ziswiler # BPI-F3 16G
---
arch/riscv/cpu/k1/dram.c | 40
On Wed, Jan 08, 2025 at 03:37:37PM +0300, Dan Carpenter wrote:
> On Wed, Jan 08, 2025 at 12:21:18PM +0100, Heinrich Schuchardt wrote:
> > Am 8. Januar 2025 12:11:05 MEZ schrieb Yixun Lan :
> > >Hi Huan:
> > >
> > >On 16
On Wed, Jan 08, 2025 at 12:21:18PM +0100, Heinrich Schuchardt wrote:
> Am 8. Januar 2025 12:11:05 MEZ schrieb Yixun Lan :
> >Hi Huan:
> >
> >On 16:49 Wed 08 Jan , Huan Zhou wrote:
> >>
> >>
> >..
> >> ---
> >remove above "-
On Wed, Jan 08, 2025 at 07:11:05PM +0800, Yixun Lan wrote:
> Hi Huan:
>
> On 16:49 Wed 08 Jan , Huan Zhou wrote:
> >
> >
> ..
> > ---
> remove above "---"? otherwise following commit message will be
> dropped during patch application..
On Wed, Jan 08, 2025 at 07:11:05PM +0800, Yixun Lan wrote:
> Hi Huan:
>
> On 16:49 Wed 08 Jan , Huan Zhou wrote:
> >
> >
> ..
> > ---
> remove above "---"? otherwise following commit message will be
> dropped during patch application..
>
---
This patch introduce improvement for get dram size on bananapi BPI-F3,
retrieving the dram size dynamically.
Have tested on bananapi BPIF3 4G and jupiter 8G.
Signed-off-by: Huan Zhou
---
arch/riscv/cpu/k1/dram.c | 40 ++--
1 file changed, 38 insertions
From: Kongyang Liu
Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
Tested-by: Marcel Ziswiler
Reviewed-by: Yixun Lan
---
doc/board/index.rst| 1 +
doc/board/spacemit/bananapi-f3.rst
o.org/
[1]
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
Reviewed-by: Leo Yu-Chi Liang
Reviewed-by: Yixun Lan
Tested-by: Marcel Ziswiler
---
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/k1/Kconfig | 18 ++
arch/riscv/cpu/k1/Makefile | 6 +
rds,
--
Huan Zhou
On Sat, Dec 14, 2024 at 10:31:40PM +0100, Heinrich Schuchardt wrote:
> Am 14. Dezember 2024 08:30:22 MEZ schrieb Huan Zhou :
> >From: Kongyang Liu
> >
> >Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
> >
> >Signed-off-by: Kon
From: Kongyang Liu
Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
Tested-by: Marcel Ziswiler
Reviewed-by: Yixun Lan
---
doc/board/index.rst| 1 +
doc/board/spacemit/bananapi-f3.rst
o.org/
[1]
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
Reviewed-by: Leo Yu-Chi Liang
Reviewed-by: Yixun Lan
Tested-by: Marcel Ziswiler
---
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/k1/Kconfig | 18 ++
arch/riscv/cpu/k1/Makefile | 6 +
ory init
- Use default prompt
- links to v1
https://lore.kernel.org/u-boot/20240714150828.736-1-seashell11234...@gmail.com/
Signed-off-by: Huan Zhou
Signed-off-by: Kongyang Liu
---
Kongyang Liu (2):
riscv: spacemit: bananapi_f3: initial support added
doc: spacemit: bananapi_f3: docum
On Sat, Dec 14, 2024 at 03:19:58PM +0800, Yixun Lan wrote:
> Hi Huan:
>
> On 14:44 Sat 14 Dec , Huan Zhou wrote:
> > Banana Pi F3 board is a industrial grade RISC-V development board, it
> > design with SpacemiT K1 8 core RISC-V chip, CPU integrates 2.0 TOPs AI
> >
This version of patch does need addition review or test, only small comment
change and
another doc update.
On Sat, Dec 14, 2024 at 02:44:59PM +0800, Huan Zhou wrote:
> Banana Pi F3 board is a industrial grade RISC-V development board, it
> design with SpacemiT K1 8 core RISC-V chi
From: Kongyang Liu
Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
---
doc/board/index.rst| 1 +
doc/board/spacemit/bananapi-f3.rst | 106 +
doc/board/spa
o.org/
[1]
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
Reviewed-by: Leo Yu-Chi Liang
---
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/k1/Kconfig | 18 ++
arch/riscv/cpu/k1/Makefile | 6 +
arch/riscv/cpu/k1/cpu.c| 9 +
0-1-seashell11234...@gmail.com/
Changes in v2:
- Change license to GPL-2.0-or-later
- Add memory node for dts
- Add ft_board_setup function for kernel memory init
- Use default prompt
- links to v1
https://lore.kernel.org/u-boot/20240714150828.736-1-seashell11234...@gmail.com/
Signed-off-by: Huan Z
On Wed, Dec 11, 2024 at 09:35:12AM +0100, Marcel Ziswiler wrote:
> Hi Huan
>
> On Sun, 2024-12-08 at 14:51 +0800, Huan Zhou wrote:
> > On Wed, Dec 04, 2024 at 09:52:09AM +0100, Marcel Ziswiler wrote:
> > > Hi Yixun Lan
> > >
> > > On Wed, 2024-12-04 a
x27;s review tag in v2
> and Marcel's tested tag in v4
>
> P.S: You can rely on maintainer to collect tags of the last version
> if no real changes but only tags added..
thx for reminding.
>
> On 10:00 Mon 09 Dec , Huan Zhou wrote:
> > Banana Pi F3 board is a indu
Hi
On Tue, Dec 10, 2024 at 10:30:28AM +0800, Yixun Lan wrote:
> Hi Huan:
>
> On 10:00 Mon 09 Dec , Huan Zhou wrote:
> > From: Kongyang Liu
> >
> > Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
> >
> > Signed-off-by
t; https://patches.linaro.org/project/linux-serial/patch/20240730-k1-01-basic-dt-v5-8-98263aae8...@gentoo.org/
> suggest style: Link: https://.. [1]
got it.
> >
> > Signed-off-by: Kongyang Liu
> > Signed-off-by: Huan Zhou
> > ---
> ..
> > di
ned-off-by: Huan Zhou
Signed-off-by: Kongyang Liu
---
Kongyang Liu (2):
riscv: spacemit: bananapi_f3: initial support added
doc: spacemit: bananapi_f3: document Banana Pi F3 board
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/k1/Kconfig | 18 ++
arch/ri
From: Kongyang Liu
Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
---
doc/board/index.rst| 1 +
doc/board/spacemit/bananapi-f3.rst | 86 ++
doc/board/spa
o.org/
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
---
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/k1/Kconfig | 18 ++
arch/riscv/cpu/k1/Makefile | 6 +
arch/riscv/cpu/k1/cpu.c| 9 +
arch/riscv/cpu/k1/dram.c
On Wed, Dec 04, 2024 at 09:52:09AM +0100, Marcel Ziswiler wrote:
> Hi Yixun Lan
>
> On Wed, 2024-12-04 at 08:58 +0800, Yixun Lan wrote:
> > Hi Marcel, Huan
> >
> > On 18:52 Tue 03 Dec , Marcel Ziswiler wrote:
> > > Hi Huan Zhou
> > >
> > &
From: Kongyang Liu
Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
---
doc/board/index.rst| 1 +
doc/board/spacemit/bananapi-f3.rst | 86 ++
doc/board/spa
o.org/
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
---
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/k1/Kconfig | 18 ++
arch/riscv/cpu/k1/Makefile | 6 +
arch/riscv/cpu/k1/cpu.c| 9 +
arch/riscv/cpu/k1/dram.c
://lore.kernel.org/u-boot/20240714150828.736-1-seashell11234...@gmail.com/
Signed-off-by: Huan Zhou
Signed-off-by: Kongyang Liu
---
Kongyang Liu (2):
riscv: spacemit: bananapi_f3: initial support added
doc: spacemit: bananapi_f3: document Banana Pi F3 board
arch/riscv/Kconfig
On Thu, Nov 14, 2024 at 09:24:32PM +0800, Yixun Lan wrote:
> Hi Huan:
>
> On 01:21 Thu 14 Nov , Huan Zhou wrote:
> > Banana Pi F3 board is a industrial grade RISC-V development board, it
> > design with SpacemiT K1 8 core RISC-V chip, CPU integrates 2.0 TOPs AI
> >
On Thu, Nov 14, 2024 at 11:11:21AM +0100, Heinrich Schuchardt wrote:
> On 11/14/24 08:21, Huan Zhou wrote:
> > From: Kongyang Liu
> >
> > Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
> >
> > Signed-off-by: Kongyang Liu
> >
From: Kongyang Liu
Add document for Banana Pi F3 board which based on SpacemiT's K1 SoC.
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
---
doc/board/index.rst| 1 +
doc/board/spacemit/bananapi-f3.rst | 78 ++
doc/board/spa
-2.0-or-later
- Clear redifinition warning while building in UART_IIR_ID
- Change underscore to dash in bananapi*f3
- Update maintainer
- Use default prompt
- link to v2
https://lore.kernel.org/u-boot/20240718043329.1500-1-seashell11234...@gmail.com/
Signed-off-by: Huan Zhou
Signed-off-by
o.org/
Signed-off-by: Kongyang Liu
Signed-off-by: Huan Zhou
---
arch/riscv/Kconfig | 5 +
arch/riscv/cpu/k1/Kconfig | 18 ++
arch/riscv/cpu/k1/Makefile | 6 +
arch/riscv/cpu/k1/cpu.c| 9 +
arch/riscv/cpu/k1/dram.c
51 matches
Mail list logo