Thread (7 messages) 7 messages, 4 authors, 2021-11-21

Re: [PATCH v2 2/2] clk: samsung: exynos850: Implement CMU_APM domain

From: Sam Protsenko <semen.protsenko@linaro.org>
Date: 2021-11-20 16:54:42
Also in: linux-arm-kernel, linux-clk, linux-samsung-soc, lkml

On Sat, 20 Nov 2021 at 14:26, Sylwester Nawrocki [off-list ref] wrote:
On 23.10.2021 00:45, Sam Protsenko wrote:
quoted
CMU_APM clock domain provides clocks for APM IP-core (Active Power
Management). According to Exynos850 TRM, CMU_APM generates I3C, Mailbox,
Speedy, Timer, WDT, RTC and PMU clocks for BLK_ALIVE.

This patch adds next clocks:
   - bus clocks in CMU_TOP needed for CMU_APM
   - all internal CMU_APM clocks
   - leaf clocks for I3C, Speedy and RTC IP-cores
   - bus clocks for CMU_CMGP and CMU_CHUB

CMU_APM doesn't belong to Power Domains, but platform driver is used for
its registration to keep its bus clock always running. Otherwise rtc-s3c
driver disables that clock and system freezes.

Signed-off-by: Sam Protsenko<semen.protsenko@linaro.org>
Reviewed-by: Krzysztof Kozlowski<redacted>
---
Changes in v2:
   - Reworked clock IDs to be contiguous (don't break ABI)
   - Added R-b tag by Krzysztof Kozlowski

  drivers/clk/samsung/clk-exynos850.c   | 142 +++++++++++++++++++++++++-
quoted
  include/dt-bindings/clock/exynos850.h |  29 +++++-
Looks good, could you just resend with the DT binding header changes moved
to the first patch?
Thanks, will do.
Regards,
Sylwester
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help