zynqmp: pm: Implement PLL set mode EEMI API
This API will be used to set the PLL mode: reset (unlocked), integer
or fractional (locked). If reset mode is set the PM controller will
bypass the target PLL prior to asserting the reset. If integer or
fractional mode is set the PM controller will program and trigger
locking of the PLL. If success status is returned the PLL is locked
and its bypass is deasserted. If fractional mode is set the fractional
divider (data parameter) has to have a non-zero value prior to issuing
pll set fractional mode. The caller need to ensure that the data
parameter is properly set using pll get/set parameter EEMI API.

Signed-off-by: Mirela Simonovic <mirela.simonovic@aggios.com>
Acked-by: Will Wong <WILLW@xilinx.com>
Signed-off-by: Jolly Shah <jollys@xilinx.com>
1 parent d833f64 commit 5f1a5fee52b9bfb93f588325819cf706cf103d24
@Jolly Shah Jolly Shah authored on 4 Jan 2019
Showing 4 changed files
View
plat/xilinx/zynqmp/pm_service/pm_api_sys.c
View
plat/xilinx/zynqmp/pm_service/pm_api_sys.h
View
plat/xilinx/zynqmp/pm_service/pm_defs.h
View
plat/xilinx/zynqmp/pm_service/pm_svc_main.c