diff options
author | Rajan Vaja <rajan.vaja@xilinx.com> | 2022-10-11 09:20:37 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-10-19 16:34:37 +0300 |
commit | 1e400cb9cff2157f89ca95aba4589f95253425ba (patch) | |
tree | 15054fb78bbeb094e2b947e51e361ce6a5ffdd3c /drivers/firmware/xilinx | |
parent | 21764a49d32e041e9d118a7b38c14e3e02fae129 (diff) | |
download | linux-1e400cb9cff2157f89ca95aba4589f95253425ba.tar.xz |
firmware: xilinx: Add qspi firmware interface
Add support for QSPI ioctl functions and enums.
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Link: https://lore.kernel.org/r/20221011062040.12116-5-amit.kumar-mahapatra@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/firmware/xilinx')
-rw-r--r-- | drivers/firmware/xilinx/zynqmp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c index ff5cabe70a2b..6bc6b6c84241 100644 --- a/drivers/firmware/xilinx/zynqmp.c +++ b/drivers/firmware/xilinx/zynqmp.c @@ -843,6 +843,13 @@ int zynqmp_pm_read_pggs(u32 index, u32 *value) } EXPORT_SYMBOL_GPL(zynqmp_pm_read_pggs); +int zynqmp_pm_set_tapdelay_bypass(u32 index, u32 value) +{ + return zynqmp_pm_invoke_fn(PM_IOCTL, 0, IOCTL_SET_TAPDELAY_BYPASS, + index, value, NULL); +} +EXPORT_SYMBOL_GPL(zynqmp_pm_set_tapdelay_bypass); + /** * zynqmp_pm_set_boot_health_status() - PM API for setting healthy boot status * @value: Status value to be written |