firmware: xilinx: enable feature check for ZynqMP
authorRonak Jain <ronak.jain@xilinx.com>
Wed, 6 Apr 2022 10:55:26 +0000 (03:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 15:20:03 +0000 (17:20 +0200)
commite5052bec7e3e460e47d77bbaf13e483b68c710be
treef183689ae585c9fab031982abff20dd94238ef6f
parent218f01a80aea0ec5eeacda243ea5e06cbc9be654
firmware: xilinx: enable feature check for ZynqMP

Enable the feature check if the PM_FEATURE_CHECK API returns success
with the supported version for the ZynqMP. Currently, it is enabled
for Versal only.

Move get_set_conduit_method() at the beginning as the Linux is
requesting to TF-A for the PM_FEATURE_CHECK API version for which the
interface should be enabled with TF-A.

Signed-off-by: Ronak Jain <ronak.jain@xilinx.com>
Link: https://lore.kernel.org/r/1649242526-17493-5-git-send-email-ronak.jain@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/xilinx/zynqmp.c