]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
xen/arm: zynqmp: Remove direct accesses to PLLs and their resets
authorMirela Simonovic <mirela.simonovic@aggios.com>
Tue, 23 Oct 2018 14:51:23 +0000 (16:51 +0200)
committerStefano Stabellini <sstabellini@xilinx.com>
Wed, 18 Dec 2019 19:16:19 +0000 (11:16 -0800)
Only a limited number of PLLs can be controlled by guests, and that
has to be done using PLL EEMI APIs. Clean-up the direct access options
for PLLs and their resets.

Signed-off-by: Mirela Simonovic <mirela.simonovic@aggios.com>
Reviewed-by: Saeed Nowshadi <saeedn@xilinx.com>
xen/arch/arm/platforms/xilinx-zynqmp-eemi.c

index 5e3fae8858d7dde7eceaceeb3880a6681eb700c9..f5e643edabe20783ec848500c81767fec8fe68f1 100644 (file)
@@ -158,9 +158,6 @@ static const struct pm_access pm_node_access[] = {
 
     /* Only for the hardware domain.  */
     [NODE_AFI] = { .hwdom_access = true },
-    [NODE_APLL] = { .hwdom_access = true },
-    [NODE_DPLL] = { .hwdom_access = true },
-    [NODE_IOPLL] = { .hwdom_access = true },
     [NODE_DDR] = { .hwdom_access = true },
     [NODE_IPI_APU] = { .hwdom_access = true },
     [NODE_PCAP] = { .hwdom_access = true },
@@ -266,11 +263,6 @@ static const struct pm_access pm_reset_access[] = {
     [PM_RESET_IDX(PM_RESET_RPU_DBG0)] = { MM_RPU },
     [PM_RESET_IDX(PM_RESET_DBG_LPD)] = { .hwdom_access = true },
     [PM_RESET_IDX(PM_RESET_DBG_FPD)] = { .hwdom_access = true },
-    [PM_RESET_IDX(PM_RESET_APLL)] = { .hwdom_access = true },
-    [PM_RESET_IDX(PM_RESET_DPLL)] = { .hwdom_access = true },
-    [PM_RESET_IDX(PM_RESET_VPLL)] = { .hwdom_access = true },
-    [PM_RESET_IDX(PM_RESET_IOPLL)] = { .hwdom_access = true },
-    [PM_RESET_IDX(PM_RESET_RPLL)] = { .hwdom_access = true },
     [PM_RESET_IDX(PM_RESET_GPO3_PL_0)] = { .hwdom_access = true },
     [PM_RESET_IDX(PM_RESET_GPO3_PL_1)] = { .hwdom_access = true },
     [PM_RESET_IDX(PM_RESET_GPO3_PL_2)] = { .hwdom_access = true },