reset: zynqmp: Add reset driver support for versal
Add support for versal platform by adding "xlnx,versal-reset"
compatible string in zynqmp-reset driver. Reset numbering schema
for versal is not same as zynqmp, so nr_reset and reset_id are
set to zero. In case of assert/dessert, required device reset id
is sent from respective driver through struct reset_ctl.
Signed-off-by: T Karthik Reddy <t.karthik.reddy@amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Link: https://lore.kernel.org/r/20220720095959.29610-2-ashok.reddy.soma@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index b577141..69a7b4c 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -199,11 +199,11 @@
protocol communication with a SCMI server.
config RESET_ZYNQMP
- bool "Reset Driver for Xilinx ZynqMP SoC's"
+ bool "Reset Driver for Xilinx ZynqMP & Versal SoC's"
depends on DM_RESET && ZYNQMP_FIRMWARE
help
- Support for reset controller on Xilinx ZynqMP SoC. Driver is only
- passing request via Xilinx firmware interface to TF-A and PMU
+ Support for reset controller on Xilinx ZynqMP & Versal SoC's. Driver
+ is only passing request via Xilinx firmware interface to TF-A and PMU
firmware.
config RESET_DRA7