[PATCH v9 2/6] soc: spacemit: create a header for clock/reset registers
Haylen Chu
heylenay at 4d2.org
Mon May 12 22:02:12 PDT 2025
On Mon, May 12, 2025 at 01:32:07PM -0500, Alex Elder wrote:
> Move the definitions of register offsets and fields used by the SpacemiT
> K1 SoC CCUs into a separate header file, so that they can be shared by
> the reset driver that will be found under drivers/reset.
>
> Signed-off-by: Alex Elder <elder at riscstar.com>
> ---
> drivers/clk/spacemit/ccu-k1.c | 111 +----------------------------
> include/soc/spacemit/k1-syscon.h | 118 +++++++++++++++++++++++++++++++
> 2 files changed, 119 insertions(+), 110 deletions(-)
> create mode 100644 include/soc/spacemit/k1-syscon.h
Reviewed-by: Haylen Chu <heylenay at 4d2.org>
More information about the linux-riscv
mailing list