arm64: rockchip: rk3568_cru: Rewrite

Rewrite correctly the clocks for cru :
- Export all clocks
- Use names from the TRM
- Respect clock topology

Fixes:  a48301a5e0 ("Add initial clocks support for Rockchip RK3568 SoC.")
This commit is contained in:
Emmanuel Vadot 2023-08-15 10:26:29 +02:00
parent 7b6ae431cf
commit 50a0f1ce28
2 changed files with 1184 additions and 809 deletions

File diff suppressed because it is too large Load diff

View file

@ -51,8 +51,6 @@
#define CRU_CLKSEL_CON(x) ((x) * 0x4 + 0x100)
#define CRU_CLKGATE_CON(x) ((x) * 0x4 + 0x180)
#define PLIST(_name) static const char *_name[]
/* PLL clock */
#define RK_PLL(_id, _name, _pnames, _off, _shift) \
{ \