u-boot/arch
Paweł Jarosz 730a402450 rockchip: rk3066: add clock driver for rk3066 soc
Add the clock driver for the rk3066 platform.

Derived from the rk3288 and rk3188 driver it
supports only a bare minimum to bring up the system
to reduce the TPL size for:
  SDRAM clock configuration.
  The boot devices NAND, EMMC, SDMMC, SPI.
  A UART for the debug messages (fixed) at 115200n8.
  A SARADC for the recovery button.
  A TIMER for the delays (fixed).

There's support for two possible frequencies,
the safe 600MHz which will work with default pmic settings and
will be set to get away from the 24MHz default and
the maximum of 1.416Ghz, which boards can set if they
were able to get pmic support for it.

After the clock tree is set during the TPL probe
there's no parent update support.

In OF_REAL mode the drivers ns16550.c and dw-apb-timer.c
obtain the (fixed) clk_get_rate from the clock driver
instead of platdata.

The rk3066 cru node has a number of assigned-clocks properties
that call the .set_rate() function. Add them to the list so that
they return a 0 instead of -ENOENT.

Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com>
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2022-04-18 11:25:13 +08:00
..
arc dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
arm rockchip: rk3066: add clock driver for rk3066 soc 2022-04-18 11:25:13 +08:00
m68k Convert CONFIG_MCFRTC et al to Kconfig 2022-04-01 10:28:46 -04:00
microblaze microblaze: Migrate DCACHE/ICACHE to Kconfig 2022-04-08 10:46:22 -04:00
mips event: Convert arch_cpu_init_dm() to use events 2022-03-10 08:28:36 -05:00
nds32 nds32: Migrate CONFIG_DEBUG_LED to Kconfig 2022-04-08 10:46:22 -04:00
nios2 event: Convert arch_cpu_init_dm() to use events 2022-03-10 08:28:36 -05:00
powerpc PPC: Enable Job ring driver model. 2022-04-12 11:20:30 +02:00
riscv riscv: alloc space exhausted 2022-04-06 10:58:13 +08:00
sandbox Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-net 2022-04-15 08:10:32 -04:00
sh Split CONFIG_CC_OPTIMIZE_FOR_SIZE into two configs 2022-03-25 13:35:50 -04:00
x86 Remove duplication of table_compute_checksum function 2022-04-14 15:39:15 -04:00
xtensa Convert CONFIG_BOARD_POSTCLK_INIT to Kconfig 2022-03-03 16:51:19 -05:00
.gitignore
Kconfig Merge branch 'next' 2022-04-04 10:48:44 -04:00
u-boot-elf.lds