plat: qcom: kodiak: move clock definitions to platform header
Move Kodiak-specific GCC clock register offsets out of the generic clock-qcom driver into a platform header.
Introduce clock_group_qcom
plat: qcom: kodiak: move clock definitions to platform header
Move Kodiak-specific GCC clock register offsets out of the generic clock-qcom driver into a platform header.
Introduce clock_group_qcom.h under platform/kodiak to hold the clock register offsets required by the driver and update the build system so the platform include path is visible to the clock driver.
Also move the GCC MMIO mapping from plat-qcom/main.c into the clock driver. This keeps the mapping local to the driver that consumes the registers and avoids exposing platform clock registers globally during platform initialization.
This change is a preparation step to support additional Qualcomm platforms while keeping the common clock driver platform-agnostic.
No functional change intended.
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com> Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
show more ...
|