linux-stable/drivers/clk/st
Alain Volmat 810251b0d3 clk: st: clkgen-mux: search reg within node or parent
In order to avoid having duplicated addresses within the DT,
only have one unit-address per clockgen and each driver within
the clockgen should look at the parent node (overall clockgen)
to figure out the reg property.  Such behavior is already in
place in other STi platform clock drivers such as clk-flexgen
and clkgen-pll.  Keep backward compatibility by first looking
at reg within the node before looking into the parent node.

Signed-off-by: Alain Volmat <avolmat@me.com>
Link: https://lore.kernel.org/r/20211218211157.188214-3-avolmat@me.com
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2022-01-05 17:21:28 -08:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
clk-flexgen.c clk: st: flexgen: embed soc clock outputs within compatible data 2021-06-27 19:53:39 -07:00
clkgen-fsyn.c clk: st: clkgen-fsyn: search reg within node or parent 2022-01-05 17:21:28 -08:00
clkgen-mux.c clk: st: clkgen-mux: search reg within node or parent 2022-01-05 17:21:28 -08:00
clkgen-pll.c clk: st: clkgen-pll: embed soc clock outputs within compatible data 2021-06-27 19:53:39 -07:00
clkgen.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00