commit | 696ab87b395028a0b27d8b643db66c3d88b65865 | [log] [tgz] |
---|---|---|
author | Jonas Karlman <jonas@kwiboo.se> | Wed May 01 16:22:21 2024 +0000 |
committer | Kever Yang <kever.yang@rock-chips.com> | Tue May 07 15:56:09 2024 +0800 |
tree | fd69fbbe589c047c2ba0d3dbb0862c3e90c55657 | |
parent | 1f662833075c257f09e5644f7e867f0736514fd4 [diff] |
clk: rockchip: rk3399: Add SCLK_USB3OTGx_REF support The SCLK_USB3OTGx_REF clocks is used as reference clock for USB3 block. Add simple support to get rate of SCLK_USB3OTGx_REF clocks to fix reference clock period configuration. Also replace use of 24000000 with the OSC_HZ constant. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>