]> git.dujemihanovic.xyz Git - u-boot.git/commit
reset: zynqmp: Add reset driver support for versal
authorT Karthik Reddy <t.karthik.reddy@amd.com>
Wed, 20 Jul 2022 09:59:57 +0000 (03:59 -0600)
committerMichal Simek <michal.simek@amd.com>
Tue, 26 Jul 2022 06:27:15 +0000 (08:27 +0200)
commit9df50817405b358c5dd8c669030de7b1f8b15cb8
treed16647c45f009abd4cd98082519ff6cc23814b00
parent4a1bfcd7aa6f2138a8431a916d4202a66ab65a6c
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>
drivers/reset/Kconfig
drivers/reset/reset-zynqmp.c