clk: renesas: r9a06g032: Probe possible children
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 27 Apr 2022 09:56:50 +0000 (11:56 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 19 May 2022 17:04:51 +0000 (22:34 +0530)
commit2182066d95c33dfb4cb7400952a92cfd12265873
tree0099761ba3bbaa842585689bbfb5688bf87808e4
parent134d9c52fca26d2d199516e915da00f0cc6adc73
clk: renesas: r9a06g032: Probe possible children

The clock controller device on r9a06g032 takes all the memory range that
is described as being a system controller. This range contains many
different (unrelated?) registers besides the ones belonging to the clock
controller, that can necessitate to be accessed from other peripherals.

For instance, the dmamux registers are there. The dmamux "device" will
be described as a child node of the clock/system controller node, which
means we need the top device driver (the clock controller driver in this
case) to populate its children manually. In case of error when
populating the children, we do not fail the probe on purpose to keep the
clk driver up and running.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20220427095653.91804-7-miquel.raynal@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/clk/renesas/r9a06g032-clocks.c