ufs: amd-versal2: Use raw read/write for SLCR/CACHE registers
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Thu, 20 Mar 2025 09:13:24 +0000 (10:13 +0100)
committerMichal Simek <michal.simek@amd.com>
Wed, 16 Apr 2025 11:42:06 +0000 (13:42 +0200)
commit5b8d6dcf7ce1b9629cec02e8d17db530776de5b4
treebc9ef54871690897dbd9cab6f5163795e6fa7f34
parentcad8f6a506f4f66669a58f74428c36d8f1bfe4d4
ufs: amd-versal2: Use raw read/write for SLCR/CACHE registers

Update the firmware driver UFS APIs zynqmp_pm_ufs_* to directly
read/write to the pmc_iou_slcr and efuse_cache registers. Replace
these raw reads/writes with the xilinx_pm_request() API with the
correct arguments once the PM related changes are done.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/ee2d1ad2e07e96f1948ab6ffe8f3c50a3b8f9be9.1742462001.git.michal.simek@amd.com
arch/arm/mach-versal2/include/mach/hardware.h
drivers/firmware/firmware-zynqmp.c
drivers/ufs/ufs-amd-versal2.c
include/zynqmp_firmware.h