u-boot/drivers/clk/rockchip
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
..
clk_pll.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
clk_px30.c rockchip: clk: add clocks to px30_clk_enable 2022-04-18 11:25:12 +08:00
clk_rk322x.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_rk3036.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_rk3066.c rockchip: rk3066: add clock driver for rk3066 soc 2022-04-18 11:25:13 +08:00
clk_rk3128.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_rk3188.c treewide: Try to avoid the preprocessor with OF_REAL 2021-09-25 09:46:15 -06:00
clk_rk3288.c treewide: Try to avoid the preprocessor with OF_REAL 2021-09-25 09:46:15 -06:00
clk_rk3308.c treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
clk_rk3328.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_rk3368.c treewide: Try to avoid the preprocessor with OF_REAL 2021-09-25 09:46:15 -06:00
clk_rk3399.c treewide: Try to avoid the preprocessor with OF_REAL 2021-09-25 09:46:15 -06:00
clk_rk3568.c clk: rockchip: rk3568: update clks 2021-10-15 20:57:31 +08:00
clk_rv1108.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Makefile rockchip: rk3066: add clock driver for rk3066 soc 2022-04-18 11:25:13 +08:00