clk: samsung: gs101: add support for cmu_peric0
authorTudor Ambarus <tudor.ambarus@linaro.org>
Mon, 22 Jan 2024 11:41:13 +0000 (11:41 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 23 Jan 2024 12:46:09 +0000 (13:46 +0100)
commit893f133a040b605b53f4d0a24107cd0886a53bc3
treed0f6f068540d226ce50107b098b6de3450092dd6
parent64e57b7db429dd28de5ba93290870c61c8b52a5c
clk: samsung: gs101: add support for cmu_peric0

CMU_PERIC0 is the clock management unit used for the peric0 block which
is used for USI and I3C. Add support for all cmu_peric0 clocks but
CLK_GOUT_PERIC0_IP (not enough info in the datasheet).

Few clocks are marked as critical because when either of them is
disabled, the system hangs even if their clock parents are enabled.

Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240122114113.2582612-1-tudor.ambarus@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/clk/samsung/clk-gs101.c