mirror of https://github.com/torvalds/linux.git
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>
This commit is contained in:
parent
3a86608788
commit
88b6a93af4
|
|
@ -485,6 +485,12 @@
|
||||||
|
|
||||||
#define CLK_NR_CLKS (PCLK_CORE_PVTM + 1)
|
#define CLK_NR_CLKS (PCLK_CORE_PVTM + 1)
|
||||||
|
|
||||||
|
/* scmi-clocks indices */
|
||||||
|
|
||||||
|
#define SCMI_CLK_CPU 0
|
||||||
|
#define SCMI_CLK_GPU 1
|
||||||
|
#define SCMI_CLK_NPU 2
|
||||||
|
|
||||||
/* pmu soft-reset indices */
|
/* pmu soft-reset indices */
|
||||||
/* pmucru_softrst_con0 */
|
/* pmucru_softrst_con0 */
|
||||||
#define SRST_P_PDPMU_NIU 0
|
#define SRST_P_PDPMU_NIU 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue