[PATCH v11 04/11] clk: realtek: Introduce a common probe()

Brian Masney bmasney at redhat.com
Thu Jul 30 09:33:19 PDT 2026


On Tue, Jul 28, 2026 at 10:27:59PM +0800, Yu-Chun Lin wrote:
> From: Cheng-Yu Lee <cylee12 at realtek.com>
> 
> Add rtk_clk_probe() to set up the shared regmap, register clock hardware,
> and add the clock provider.
> 
> Additionally, if the "#reset-cells" property is present in the device tree,
> it creates and registers an auxiliary device using the provided aux_name.
> This allows the dedicated reset driver to bind to this device, enabling
> both clock and reset drivers to share the same regmap.
> 
> Signed-off-by: Cheng-Yu Lee <cylee12 at realtek.com>
> Co-developed-by: Yu-Chun Lin <eleanor.lin at realtek.com>
> Signed-off-by: Yu-Chun Lin <eleanor.lin at realtek.com>

Reviewed-by: Brian Masney <bmasney at redhat.com>




More information about the linux-arm-kernel mailing list