diff options
author | Michal Simek <michal.simek@xilinx.com> | 2022-03-29 13:13:56 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2022-04-05 15:09:47 +0200 |
commit | 6f735e41785d5a8373b3cbad8f582966c9d1001f (patch) | |
tree | d1dcf006be1788e45298f6fc69cde093da2837d2 | |
parent | cf5ed341e44bdde29d380362f9d1b8fbd95b04fd (diff) | |
download | u-boot-6f735e41785d5a8373b3cbad8f582966c9d1001f.zip u-boot-6f735e41785d5a8373b3cbad8f582966c9d1001f.tar.gz u-boot-6f735e41785d5a8373b3cbad8f582966c9d1001f.tar.bz2 |
clk: zynqmp: Add support for for DP audio/video clocks
Add support for getting rate for DP audio and video clocks.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/8792efe1fd9715f7c8a2e1e24f0454fb5b25d833.1648552434.git.michal.simek@xilinx.com
-rw-r--r-- | drivers/clk/clk_zynqmp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zynqmp.c index 9038fb8..45c679a 100644 --- a/drivers/clk/clk_zynqmp.c +++ b/drivers/clk/clk_zynqmp.c @@ -238,6 +238,12 @@ static u32 zynqmp_clk_get_register(enum zynqmp_clk id) return CRF_APB_DBG_TRACE_CTRL; case dbg_tstmp: return CRF_APB_DBG_TSTMP_CTRL; + case dp_video_ref: + return CRF_APB_DP_VIDEO_REF_CTRL; + case dp_audio_ref: + return CRF_APB_DP_AUDIO_REF_CTRL; + case dp_stc_ref: + return CRF_APB_DP_STC_REF_CTRL; case gpu_ref ... gpu_pp1_ref: return CRF_APB_GPU_REF_CTRL; case ddr_ref: @@ -673,6 +679,7 @@ static ulong zynqmp_clk_get_rate(struct clk *clk) case dll_ref: return zynqmp_clk_get_dll_rate(priv); case gem_tsu_ref: + case dp_video_ref ... dp_stc_ref: case pl0 ... pl3: case gem0_ref ... gem3_ref: case gem0_tx ... gem3_tx: |