diff options
author | Sai Krishna Potthuri <sai.krishna.potthuri@amd.com> | 2023-07-31 15:20:24 +0530 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-08-07 10:48:03 +0200 |
commit | aa5ed7b3fb3939ca6a3605c6fdc7399bb219ec23 (patch) | |
tree | a25ba8f94286d633a8d7ed78f123f6d349a7f3cc /include/linux/firmware/xlnx-zynqmp.h | |
parent | 03ffa9af3a5ff88f9855b18584d00aca7eb43e6d (diff) | |
download | linux-aa5ed7b3fb3939ca6a3605c6fdc7399bb219ec23.tar.gz linux-aa5ed7b3fb3939ca6a3605c6fdc7399bb219ec23.tar.bz2 linux-aa5ed7b3fb3939ca6a3605c6fdc7399bb219ec23.zip |
firmware: xilinx: Add version check for TRISTATE configuration
Support for configuring TRISTATE parameter is added in ZYNQMP PMUFW(Xilinx
ZynqMP Platform Management Firmware) Configuration Param Set version 2.0.
If the requested configuration is TRISTATE and platform is ZYNQMP then
check the version before requesting Xilinx firmware to set the
configuration.
Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri@amd.com>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20230731095026.3766675-3-sai.krishna.potthuri@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/firmware/xlnx-zynqmp.h')
-rw-r--r-- | include/linux/firmware/xlnx-zynqmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index f0b341c1c847..e8b12ec8b060 100644 --- a/include/linux/firmware/xlnx-zynqmp.h +++ b/include/linux/firmware/xlnx-zynqmp.h @@ -34,6 +34,8 @@ /* PM API versions */ #define PM_API_VERSION_2 2 +#define PM_PINCTRL_PARAM_SET_VERSION 2 + #define ZYNQMP_FAMILY_CODE 0x23 #define VERSAL_FAMILY_CODE 0x26 |