]> git.baikalelectronics.ru Git - arm-tf.git/commit
zynqmp: pm: Return the buffered PLL mode through IOCTL PLL get mode API
authorJolly Shah <jollys@xilinx.com>
Wed, 2 Jan 2019 20:49:21 +0000 (12:49 -0800)
committerJolly Shah <jollys@xilinx.com>
Fri, 4 Jan 2019 19:43:16 +0000 (11:43 -0800)
commita5ae5a72fa71ceb4e14d23dc478d451ae7cfe834
tree32436c9989efe8c405b64f2f9b734454639d1e9a
parent8975f317e7608c832192b71531901602dc625484
zynqmp: pm: Return the buffered PLL mode through IOCTL PLL get mode API

When linux calls pm_ioctl_get_pll_frac_mode() it doesn't expect the actual
mode to be read from hardware, but the value that it is intending to
program. Therefore, we return the buffered value to linux.

Signed-off-by: Mirela Simonovic <mirela.simonovic@aggios.com>
Acked-by: Will Wong <WILLW@xilinx.com>
Signed-off-by: Jolly Shah <jollys@xilinx.com>
plat/xilinx/zynqmp/pm_service/pm_api_clock.c
plat/xilinx/zynqmp/pm_service/pm_api_clock.h
plat/xilinx/zynqmp/pm_service/pm_api_ioctl.c