]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: samsung: exynos7885: Add missing MUX clocks from PLLs in CMU_TOP
authorDavid Virag <virag.david003@gmail.com>
Tue, 6 Aug 2024 12:11:48 +0000 (14:11 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 8 Aug 2024 09:42:10 +0000 (11:42 +0200)
commitcc9e3e375f4f2e244695040aa416d16ef6d26ddd
tree3fe348dcae8065389af41b2289669628dd5db808
parent217a5f23c290c349ceaa37a6f2c014ad4c2d5759
clk: samsung: exynos7885: Add missing MUX clocks from PLLs in CMU_TOP

In Exynos7885 (and seemingly all modern Exynos SoCs) all PLLs have a MUX
attached to them controlled by bit 4 in the PLL's CON0 register.

These MUXes can select between OSCCLK or the PLL's output, essentially
making the PLL bypassable.

These weren't modeled in the driver because the vendor provided drivers
didn't model it properly, instead setting them when updating the PMS
values.

Not having them modeled didn't cause any problems in this case, since
these MUXes were set to the PLL's output by default, but this is not the
case everywhere in this SoC.

Signed-off-by: David Virag <virag.david003@gmail.com>
Link: https://lore.kernel.org/r/20240806121157.479212-6-virag.david003@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/clk/samsung/clk-exynos7885.c