Re: [PATCH v2 3/6] clk: sunxi-ng: sun6i-rtc: Add feature bit for IOSC calibration
From: Chen-Yu Tsai
Date: Mon Jun 29 2026 - 11:34:45 EST
On Mon, Jun 29, 2026 at 8:42 PM Jerome Brunet <jbrunet@xxxxxxxxxxxx> wrote:
>
> From: Junhui Liu <junhui.liu@xxxxxxxxxxxxx>
>
> The sun6i-rtc CCU driver currently uses a global static variable to
> denote whether calibration is supported, which makes IOSC operations
> tightly coupled to this file.
>
> Convert this into a feature bit to decouple the logic. This allows the
> IOSC clock code to be moved into a shared module for reuse by other SoCs.
>
> Signed-off-by: Junhui Liu <junhui.liu@xxxxxxxxxxxxx>
> Signed-off-by: Jerome Brunet<jbrunet@xxxxxxxxxxxx>
Reviewed-by: Chen-Yu Tsai <wens@xxxxxxxxxx>