[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e45b7cef58f910e05a77d3309b9230d3.sboyd@kernel.org>
Date: Tue, 27 Aug 2024 12:11:57 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Peng Fan (OSS) <peng.fan@....nxp.com>, cristian.marussi@....com, linux-clk@...r.kernel.org, mturquette@...libre.com, sudeep.holla@....com
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, arm-scmi@...r.kernel.org, d-gole@...com, Peng Fan <peng.fan@....com>
Subject: Re: [PATCH V3] clk: scmi: add is_prepared hook
Quoting Peng Fan (OSS) (2024-08-06 07:56:01)
> From: Peng Fan <peng.fan@....com>
>
> Some clocks maybe default enabled by hardware. For clocks that don't
> have users, that will be left in hardware default state, because prepare
> count and enable count is zero,if there is no is_prepared hook to get
> the hardware state. So add is_prepared hook to detect the hardware
> state. Then when disabling the unused clocks, they can be simply
> turned OFF to save power during kernel boot.
>
> Reviewed-by: Dhruva Gole <d-gole@...com>
> Signed-off-by: Peng Fan <peng.fan@....com>
> ---
Applied to clk-next
Powered by blists - more mailing lists