forked from luck/tmp_suning_uos_patched
clk: samsung: Add clk ID definitions for the CPU parent clocks
Add clock ID definitions for the CPU parent clocks for SoCs which don't have such definitions yet. This will allow us to reference the parent clocks directly by cached struct clk_hw pointers in the clock provider, rather than doing clk lookup by name. Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200826171529.23618-1-s.nawrocki@samsung.com Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
This commit is contained in:
parent
8b066520ff
commit
f493602db5
|
@ -172,8 +172,10 @@
|
||||||
#define CLK_MOUT_GPLL 1025
|
#define CLK_MOUT_GPLL 1025
|
||||||
#define CLK_MOUT_ACLK200_DISP1_SUB 1026
|
#define CLK_MOUT_ACLK200_DISP1_SUB 1026
|
||||||
#define CLK_MOUT_ACLK300_DISP1_SUB 1027
|
#define CLK_MOUT_ACLK300_DISP1_SUB 1027
|
||||||
|
#define CLK_MOUT_APLL 1028
|
||||||
|
#define CLK_MOUT_MPLL 1029
|
||||||
|
|
||||||
/* must be greater than maximal clock id */
|
/* must be greater than maximal clock id */
|
||||||
#define CLK_NR_CLKS 1028
|
#define CLK_NR_CLKS 1030
|
||||||
|
|
||||||
#endif /* _DT_BINDINGS_CLOCK_EXYNOS_5250_H */
|
#endif /* _DT_BINDINGS_CLOCK_EXYNOS_5250_H */
|
||||||
|
|
|
@ -231,6 +231,11 @@
|
||||||
#define CLK_MOUT_SCLK_SPLL 660
|
#define CLK_MOUT_SCLK_SPLL 660
|
||||||
#define CLK_MOUT_MX_MSPLL_CCORE_PHY 661
|
#define CLK_MOUT_MX_MSPLL_CCORE_PHY 661
|
||||||
#define CLK_MOUT_SW_ACLK_G3D 662
|
#define CLK_MOUT_SW_ACLK_G3D 662
|
||||||
|
#define CLK_MOUT_APLL 663
|
||||||
|
#define CLK_MOUT_MSPLL_CPU 664
|
||||||
|
#define CLK_MOUT_KPLL 665
|
||||||
|
#define CLK_MOUT_MSPLL_KFC 666
|
||||||
|
|
||||||
|
|
||||||
/* divider clocks */
|
/* divider clocks */
|
||||||
#define CLK_DOUT_PIXEL 768
|
#define CLK_DOUT_PIXEL 768
|
||||||
|
|
Loading…
Reference in New Issue
Block a user