OSDN Git Service

clk: qcom: a53pll/mux: Use unique clock name
authorShawn Guo <shawn.guo@linaro.org>
Sun, 4 Jul 2021 02:40:30 +0000 (10:40 +0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 6 Aug 2021 01:52:11 +0000 (18:52 -0700)
commit05cc560c8cb4c2fe39022c1f397125470b28705c
treef11523301b0d05af26ccf35199b1791817227ed0
parent0dfe9bf91f9f2993ae73c603571a85e3c6e6fc24
clk: qcom: a53pll/mux: Use unique clock name

Different from MSM8916 which has only one a53pll/mux clock, MSM8939 gets
three for Cluster0 (little cores), Cluster1 (big cores) and CCI (Cache
Coherent Interconnect).  That said, a53pll/mux clock needs to be named
uniquely.  Append @unit-address of device node to the clock name, so
that a53pll/mux will be named like below on MSM8939.

  a53pll@b016000
  a53pll@b116000
  a53pll@b1d0000

  a53mux@b1d1000
  a53mux@b011000
  a53mux@b111000

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20210704024032.11559-3-shawn.guo@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/a53-pll.c
drivers/clk/qcom/apcs-msm8916.c