Searched hist:"810251 b0d36af694ece65146112a2bb541f758fb" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/clk/st/ |
H A D | clkgen-mux.c | diff 810251b0d36af694ece65146112a2bb541f758fb Sat Dec 18 22:11:57 CET 2021 Alain Volmat <avolmat@me.com> 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>
|