Jonas Karlman  
		
	
	
		6737771600 
		
	 
	
	
	rockchip: rk3588: Add support for sdmmc clocks in SPL  
		
			... 
			Booting from sdmmc on RK3588 currently works because of a workaround in
the device tree, clocks are reordered so that the driver use ciu-sample
instead of ciu, and the BootRom initializes sdmmc clocks before SPL is
loaded into DRAM.
The sdmmc clocks are normally controlled by TF-A using SCMI. However,
there is a need to control these clocks in SPL, before TF-A has started.
This adds a rk3588_scru driver to control the sdmmc clocks in SPL before
TF-A has started, using scru regs. It also adds a small glue driver to
bind the scmi clock node to the rk3588_scru driver in SPL.
Fixes: 7a474df74023 ("clk: rockchip: Add rk3588 clk support")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com> 
		
	 
 
		2023-04-21 15:16:01 +08:00 
	 
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2022-12-22 10:31:48 -05:00 
		 
	
		
			
			
			
			
			
			2022-06-23 08:24:49 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2022-11-24 16:26:01 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2022-12-05 16:06:07 -05:00 
		 
	
		
			
			
			
			
			
			2020-07-29 10:13:41 -04:00 
		 
	
		
			
			
			
			
			
			2022-12-05 16:06:07 -05:00 
		 
	
		
			
			
			
			
			
			2023-01-20 12:27:24 -05:00 
		 
	
		
			
			
			
			
			
			2020-05-18 21:19:23 -04:00 
		 
	
		
			
			
			
			
			
			2019-01-25 12:12:57 -05:00 
		 
	
		
			
			
			
			
			
			2022-01-19 18:11:34 +01:00 
		 
	
		
			
			
			
			
			
			2022-09-18 20:42:56 +02:00 
		 
	
		
			
			
			
			
			
			2023-01-31 19:44:23 +01:00 
		 
	
		
			
			
			
			
			
			2023-03-30 13:51:33 +02:00 
		 
	
		
			
			
			
			
			
			2023-03-29 22:27:38 +02:00 
		 
	
		
			
			
			
			
			
			2023-03-29 22:27:38 +02:00 
		 
	
		
			
			
			
			
			
			2022-04-12 21:08:23 +02:00 
		 
	
		
			
			
			
			
			
			2022-12-05 16:07:13 -05:00 
		 
	
		
			
			
			
			
			
			2022-12-23 10:14:51 -05:00 
		 
	
		
			
			
			
			
			
			2020-08-03 22:19:54 -04:00 
		 
	
		
			
			
			
			
			
			2023-01-10 15:25:48 +01:00 
		 
	
		
			
			
			
			
			
			2019-07-11 10:58:03 +02:00 
		 
	
		
			
			
			
			
			
			2021-09-30 09:08:16 -04:00 
		 
	
		
			
			
			
			
			
			2022-11-10 10:08:55 -05:00 
		 
	
		
			
			
			
			
			
			2022-11-10 10:08:55 -05:00 
		 
	
		
			
			
			
			
			
			2022-11-10 10:08:55 -05:00 
		 
	
		
			
			
			
			
			
			2022-05-20 09:03:01 +02:00 
		 
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
			
			
			
			
			
			2022-10-31 11:01:31 -04:00 
		 
	
		
			
			
			
			
			
			2022-06-22 21:30:05 -04:00 
		 
	
		
			
			
			
			
			
			2023-01-27 12:51:26 -05:00 
		 
	
		
			
			
			
			
			
			2020-08-25 08:01:16 +02:00 
		 
	
		
			
			
			
			
			
			2020-08-25 08:01:16 +02:00 
		 
	
		
			
			
			
			
			
			2022-02-21 08:35:40 -05:00 
		 
	
		
			
			
			
			
			
			2022-06-06 12:09:00 -04:00 
		 
	
		
			
			
			
			
			
			2022-06-06 12:09:00 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-07-07 17:11:58 -04:00 
		 
	
		
			
			
			
			
			
			2019-11-17 17:23:24 +08:00 
		 
	
		
			
			
			
			
			
			2019-05-08 17:34:12 +08:00 
		 
	
		
			
			
			
			
			
			2019-05-08 17:34:12 +08:00 
		 
	
		
			
			
			
			
			
			2022-04-18 11:25:13 +08:00 
		 
	
		
			
			
			
			
			
			2019-05-08 17:34:12 +08:00 
		 
	
		
			
			
			
			
			
			2019-05-08 17:34:12 +08:00 
		 
	
		
			
			
			
			
			
			2019-05-08 17:34:12 +08:00 
		 
	
		
			
			
			
			
			
			2020-05-18 14:54:24 -04:00 
		 
	
		
			
			
			
			
			
			2019-05-08 17:34:12 +08:00 
		 
	
		
			
			
			
			
			
			2019-05-08 17:34:12 +08:00 
		 
	
		
			
			
			
			
			
			2019-05-08 17:34:12 +08:00 
		 
	
		
			
			
			
			
			
			2021-06-18 14:36:24 +08:00 
		 
	
		
			
			
			
			
			
			2023-02-28 18:07:28 +08:00 
		 
	
		
			
			
			
			
			
			2023-04-21 15:16:01 +08:00 
		 
	
		
			
			
			
			
			
			2019-05-08 17:34:12 +08:00 
		 
	
		
			
			
			
			
			
			2023-01-16 18:01:11 +08:00 
		 
	
		
			
			
			
			
			
			2020-12-09 10:57:50 +01:00 
		 
	
		
			
			
			
			
			
			2021-11-10 17:03:36 +01:00 
		 
	
		
			
			
			
			
			
			2021-11-10 17:03:36 +01:00 
		 
	
		
			
			
			
			
			
			2022-09-26 17:21:02 +02:00 
		 
	
		
			
			
			
			
			
			2021-11-10 17:03:36 +01:00 
		 
	
		
			
			
			
			
			
			2022-12-05 16:06:08 -05:00 
		 
	
		
			
			
			
			
			
			2023-04-12 00:17:22 +01:00 
		 
	
		
			
			
			
			
			
			2023-04-07 19:47:52 +02:00 
		 
	
		
			
			
			
			
			
			2022-01-19 18:11:34 +01:00 
		 
	
		
			
			
			
			
			
			2023-04-07 19:52:54 +02:00 
		 
	
		
			
			
			
			
			
			2019-06-05 09:16:33 -07:00 
		 
	
		
			
			
			
			
			
			2022-01-19 18:11:34 +01:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2019-06-05 09:16:33 -07:00 
		 
	
		
			
			
			
			
			
			2022-12-05 16:07:12 -05:00 
		 
	
		
			
			
			
			
			
			2022-06-16 15:22:55 -04:00 
		 
	
		
			
			
			
			
			
			2022-12-23 10:15:13 -05:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2023-03-30 00:45:39 +02:00 
		 
	
		
			
			
			
			
			
			2022-07-08 17:57:33 -04:00 
		 
	
		
			
			
			
			
			
			2022-12-23 10:14:50 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-23 09:16:07 -04:00 
		 
	
		
			
			
			
			
			
			2021-01-18 15:14:15 -05:00 
		 
	
		
			
			
			
			
			
			2020-05-18 21:19:23 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-09-10 21:19:33 -04:00 
		 
	
		
			
			
			
			
			
			2022-09-02 13:40:42 -04:00 
		 
	
		
			
			
			
			
			
			2018-09-25 21:49:18 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-05-18 21:19:23 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2021-09-24 14:30:46 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2021-03-02 15:53:37 -05:00 
		 
	
		
			
			
			
			
			
			2022-07-07 14:01:09 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2020-05-18 14:54:24 -04:00 
		 
	
		
			
			
			
			
			
			2022-02-23 05:25:17 +01:00 
		 
	
		
			
			
			
			
			
			2022-12-05 16:06:07 -05:00 
		 
	
		
			
			
			
			
			
			2022-04-01 16:56:53 -04:00 
		 
	
		
			
			
			
			
			
			2022-12-22 10:31:48 -05:00 
		 
	
		
			
			
			
			
			
			2021-10-31 08:46:29 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2023-03-29 20:15:42 +02:00 
		 
	
		
			
			
			
			
			
			2021-07-06 14:07:36 -04:00 
		 
	
		
			
			
			
			
			
			2020-01-24 11:19:52 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2022-03-02 13:59:29 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2021-09-21 10:08:24 +03:00 
		 
	
		
			
			
			
			
			
			2022-03-02 13:59:29 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-06 20:57:40 -04:00 
		 
	
		
			
			
			
			
			
			2022-06-06 12:09:00 -04:00 
		 
	
		
			
			
			
			
			
			2022-01-19 18:11:34 +01:00 
		 
	
		
			
			
			
			
			
			2021-02-21 06:08:00 +01:00 
		 
	
		
			
			
			
			
			
			2020-05-18 21:19:23 -04:00 
		 
	
		
			
			
			
			
			
			2020-12-13 16:51:09 -07:00 
		 
	
		
			
			
			
			
			
			2020-05-18 14:54:24 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2022-09-13 09:04:22 +02:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2023-01-31 15:46:39 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2021-05-24 14:21:30 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2021-05-24 14:21:30 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2022-06-28 17:04:37 -04:00 
		 
	
		
			
			
			
			
			
			2021-09-24 07:49:16 -04:00 
		 
	
		
			
			
			
			
			
			2022-03-02 13:59:29 -05:00 
		 
	
		
			
			
			
			
			
			2018-09-10 20:48:16 -04:00 
		 
	
		
			
			
			
			
			
			2022-04-01 16:56:53 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2018-05-07 09:34:12 -04:00 
		 
	
		
			
			
			
			
			
			2021-09-30 08:08:56 -04:00