clk: sprd: support to get regmap from parent node
authorChunyan Zhang <chunyan.zhang@unisoc.com>
Wed, 4 Mar 2020 07:27:29 +0000 (15:27 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 25 Mar 2020 02:03:57 +0000 (19:03 -0700)
commitf95e8c7923d1b65b892f7052f66f8588b08f65b3
tree8ab63a817d8c262d4b37f7c7d304099bad72d492
parentea8ca3109dd4dc14c4a8813b8c4a6d8d011836c4
clk: sprd: support to get regmap from parent node

Some SC9863a clock nodes would be the child of a syscon node, clocks can
use the regmap of syscon device directly for this kind of cases.

Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Link: https://lkml.kernel.org/r/20200304072730.9193-7-zhang.lyra@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sprd/common.c