Skip to content

Commit 88b6a93

Browse files
committed
dt-bindings: clock: rk3568: Add SCMI clock ids
The Trusted Firmware on RK3568 exposes 3 clocks via the SCMI clock interface. Add descriptive IDs for them. The clock ids are used in both the older vendor-binary TF-A, as well as the recently merged upstream SCMI clock implementation. Link: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/31265 Reviewed-by: Diederik de Haas <diederik@cknow-tech.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20251103234926.416137-2-heiko@sntech.de Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 3a86608 commit 88b6a93

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

include/dt-bindings/clock/rk3568-cru.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,12 @@
485485

486486
#define CLK_NR_CLKS (PCLK_CORE_PVTM + 1)
487487

488+
/* scmi-clocks indices */
489+
490+
#define SCMI_CLK_CPU 0
491+
#define SCMI_CLK_GPU 1
492+
#define SCMI_CLK_NPU 2
493+
488494
/* pmu soft-reset indices */
489495
/* pmucru_softrst_con0 */
490496
#define SRST_P_PDPMU_NIU 0

0 commit comments

Comments
 (0)