[PATCH RFC v3 0/5] ZTE zx297520v3 clock bindings and driver

Philipp Zabel p.zabel at pengutronix.de
Wed Jun 3 01:50:14 PDT 2026


On Fr, 2026-05-29 at 00:52 +0300, Stefan Dösinger wrote:
> Hi,
> 
> I am sending version 3 of my zx297520v3 clock patch. The major change is 
> that I have merged the top and matrix clocks into one device because 
> the interface between them is unclear in the hardware.
> 
> There are still a few open questions though:
> 
> 1) The clk-reset interaction: Both clocks and resets are in the same IO 
> space, sometimes in the same registers. I see a number of clk drivers 
> that register a reset control. I noticed Yu-Chun Lin's RTD1625 clock 
> submission added an aux device and placed the reset code in 
> drivers/reset instead. Is there a preference for either way or any 
> guideline of which way to use in which circumstances?

When there is no interaction required when operating the clk/reset
bits, I prefer the reset driver sitting in drivers/reset as an aux
device, especially when register access can be abstracted via a shared
regmap. Some of the reset drivers under drivers/clk just predate the
aux bus.


regards
Philipp



More information about the linux-arm-kernel mailing list