On 5/17/24 20:14, Jiaxun Yang wrote:
In upstream devicetree, clk_boston is a child of syscon node
and there is no "regmap" property for clk_boston node.

Try to check parent device first to look for syscon.

Signed-off-by: Jiaxun Yang <[email protected]>
---
v2: Move syscon_get_regmap to probe
v3: Move syscon detection code to probe to ensure
     parent is probbed before syscon_get_regmap.
---
  drivers/clk/clk_boston.c | 19 ++++++++++++-------
  1 file changed, 12 insertions(+), 7 deletions(-)


Reviewed-by: Daniel Schwierzeck <[email protected]>

Reply via email to