aboutsummaryrefslogtreecommitdiff
path: root/include/zynqmp_firmware.h
diff options
context:
space:
mode:
authorAshok Reddy Soma2023-08-10 23:48:27 -0600
committerMichal Simek2023-09-21 13:20:10 +0200
commitf16347f41c64ec53f598c3444fb19b3442c12bb3 (patch)
tree3ca310fd76016b55bbfef318a7e3c7113c67d166 /include/zynqmp_firmware.h
parentfa12dfa08a7bdc7d67e3758f10461468a663ce2e (diff)
firmware: zynqmp: Add support to check feature
Add firmware API to check if given feature is supported. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com> Link: https://lore.kernel.org/r/20230811054829.13162-2-ashok.reddy.soma@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'include/zynqmp_firmware.h')
-rw-r--r--include/zynqmp_firmware.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zynqmp_firmware.h b/include/zynqmp_firmware.h
index 18a87d27495..73198a6a6ea 100644
--- a/include/zynqmp_firmware.h
+++ b/include/zynqmp_firmware.h
@@ -456,6 +456,7 @@ int zynqmp_pm_set_gem_config(u32 node, enum pm_gem_config_type config,
int zynqmp_pm_is_function_supported(const u32 api_id, const u32 id);
int zynqmp_mmio_read(const u32 address, u32 *value);
int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value);
+int zynqmp_pm_feature(const u32 api_id);
/* Type of Config Object */
#define PM_CONFIG_OBJECT_TYPE_BASE 0x1U
@@ -492,6 +493,8 @@ enum zynqmp_pm_request_ack {
/* PM API versions */
#define PM_API_VERSION_2 2
+#define PM_PINCTRL_PARAM_SET_VERSION 2
+
struct zynqmp_ipi_msg {
size_t len;
u32 *buf;