mbox series

[0/2] clk: st: update to avoid DT warnings

Message ID 20211202072850.194314-1-avolmat@me.com (mailing list archive)
Headers show
Series clk: st: update to avoid DT warnings | expand

Message

Alain Volmat Dec. 2, 2021, 7:28 a.m. UTC
The serie contains 2 updates within clkgen-fsyn and clkgen-mux
in order to allow those drivers to pick up the reg property
within their parent node instead of their own node.  Such
behavior is already in place for the other st clk drivers and
to allow to not have several time the same reg value within
the device tree.
Those changes are also done in order to avoid DT warning seen
when compiling with W=1 and indicating unique-unit-address issues.

Alain Volmat (2):
  clk: st: clkgen-fsyn: search reg within node or parent
  clk: st: clkgen-mux: search reg within node or parent

 drivers/clk/st/clkgen-fsyn.c | 11 +++++++++--
 drivers/clk/st/clkgen-mux.c  | 11 +++++++++--
 2 files changed, 18 insertions(+), 4 deletions(-)