diff options
author | Olof Johansson <olof@lixom.net> | 2020-01-21 15:05:13 -0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2020-01-21 15:05:15 -0800 |
commit | 88b4750151a2739761bb1af7fedeae1ff5d9aed9 (patch) | |
tree | de372d0195b78e9ef276cdb97c28ff1a8aa5d443 /include/linux | |
parent | 684415d0de3009cdc78dc0e8ab1b2bdcd919d834 (diff) | |
parent | ffdbae28d9d1af70b7d63ffd7827e9795cd8d0df (diff) | |
download | linux-stable-88b4750151a2739761bb1af7fedeae1ff5d9aed9.tar.gz linux-stable-88b4750151a2739761bb1af7fedeae1ff5d9aed9.tar.bz2 linux-stable-88b4750151a2739761bb1af7fedeae1ff5d9aed9.zip |
Merge tag 'zynqmp-soc-for-v5.6' of https://github.com/Xilinx/linux-xlnx into arm/drivers
arm64: soc: ZynqMP SoC changes for v5.6
- Extend firmware interface for feature checking
- Use mailbox for communication with firmware for power management
* tag 'zynqmp-soc-for-v5.6' of https://github.com/Xilinx/linux-xlnx:
drivers: soc: xilinx: Use mailbox IPI callback
dt-bindings: power: reset: xilinx: Add bindings for ipi mailbox
drivers: firmware: xilinx: Add support for feature check
Link: https://lore.kernel.org/r/f6fb26f8-b00d-a3e8-bf7d-c7ff2a8483b1@monstr.eu
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/firmware/xlnx-zynqmp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index e41ad9e37136..e72eccf69721 100644 --- a/include/linux/firmware/xlnx-zynqmp.h +++ b/include/linux/firmware/xlnx-zynqmp.h @@ -48,6 +48,10 @@ #define ZYNQMP_PM_CAPABILITY_WAKEUP 0x4U #define ZYNQMP_PM_CAPABILITY_UNUSABLE 0x8U +/* Feature check status */ +#define PM_FEATURE_INVALID -1 +#define PM_FEATURE_UNCHECKED 0 + /* * Firmware FPGA Manager flags * XILINX_ZYNQMP_PM_FPGA_FULL: FPGA full reconfiguration @@ -78,11 +82,14 @@ enum pm_api_id { PM_CLOCK_GETRATE, PM_CLOCK_SETPARENT, PM_CLOCK_GETPARENT, + PM_FEATURE_CHECK = 63, + PM_API_MAX, }; /* PMU-FW return status codes */ enum pm_ret_status { XST_PM_SUCCESS = 0, + XST_PM_NO_FEATURE = 19, XST_PM_INTERNAL = 2000, XST_PM_CONFLICT, XST_PM_NO_ACCESS, |