]> git.baikalelectronics.ru Git - kernel.git/commit
clk: samsung: exynos5420/5250: Add IDs to the CPU parent clk definitions
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 26 Aug 2020 17:15:28 +0000 (19:15 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 17 Sep 2020 10:05:16 +0000 (12:05 +0200)
commit36600e57bd78cba25c1b4ef0bdc56bb71b8817aa
treeb2c22533073a2766b3d9447bed4e83eda1e2d298
parent1a544d9e13d09b04c2af771573050448a09ba2bc
clk: samsung: exynos5420/5250: Add IDs to the CPU parent clk definitions

Use non-zero clock IDs in definitions of the CPU parent clocks
for exynos5420, exynos5250 SoCs. This will allow us to reference
the parent clocks directly in the driver by cached struct clk_hw
pointers, rather than doing clk lookup by name.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://lore.kernel.org/r/20200826171529.23618-2-s.nawrocki@samsung.com
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-exynos5250.c
drivers/clk/samsung/clk-exynos5420.c