[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aCLSFmSXLUQYi6on@ketchup>
Date: Tue, 13 May 2025 05:01:10 +0000
From: Haylen Chu <heylenay@....org>
To: Alex Elder <elder@...cstar.com>, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, mturquette@...libre.com, sboyd@...nel.org,
p.zabel@...gutronix.de, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu, alex@...ti.fr,
dlan@...too.org
Cc: inochiama@...look.com, guodong@...cstar.com, devicetree@...r.kernel.org,
linux-clk@...r.kernel.org, spacemit@...ts.linux.dev,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v9 3/6] clk: spacemit: set up reset auxiliary devices
On Mon, May 12, 2025 at 01:32:08PM -0500, Alex Elder wrote:
> Add a new reset_name field to the spacemit_ccu_data structure. If it is
> non-null, the CCU implements a reset controller, and the name will be
> used in the name for the auxiliary device that implements it.
>
> Define a new type to hold an auxiliary device as well as the regmap
> pointer that will be needed by CCU reset controllers. Set up code to
> initialize and add an auxiliary device for any CCU that implements reset
> functionality.
>
> Make it optional for a CCU to implement a clock controller. This
> doesn't apply to any of the existing CCUs but will for some new ones
> that will be added soon.
>
> Signed-off-by: Alex Elder <elder@...cstar.com>
> ---
> v9: Use ida_alloc() to assign the unique auxiliary device ID
>
> drivers/clk/spacemit/Kconfig | 1 +
> drivers/clk/spacemit/ccu-k1.c | 104 ++++++++++++++++++++++++++++---
> include/soc/spacemit/k1-syscon.h | 12 ++++
> 3 files changed, 107 insertions(+), 10 deletions(-)
Reviewed-by: Haylen Chu <heylenay@....org>
Powered by blists - more mailing lists