clk: ti: Optionally parse IO address from parent clock node
authorTony Lindgren <tony@atomide.com>
Fri, 4 Feb 2022 07:14:44 +0000 (09:14 +0200)
committerStephen Boyd <sboyd@kernel.org>
Fri, 11 Mar 2022 02:55:59 +0000 (18:55 -0800)
commit274d679810dab8a7dd5042826979d6ef014007a5
tree6416854c14a71ddf1dc17314b7e92221ae16626c
parent80864594ff2ad002e2755daf97d46ff0c86faf1f
clk: ti: Optionally parse IO address from parent clock node

If no reg property is specified for a TI clock, let's try to use the
parent clock node IO address. This way we can avoid duplicate devicetree
reg properties that cause warnings for unique_unit_address.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20220204071449.16762-4-tony@atomide.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clk.c