]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drivers: firmware: xilinx: Switch to new family code in zynqmp_pm_get_family_info()
authorJay Buddhabhatti <jay.buddhabhatti@amd.com>
Tue, 1 Jul 2025 12:38:51 +0000 (05:38 -0700)
committerMichal Simek <michal.simek@amd.com>
Fri, 29 Aug 2025 07:58:45 +0000 (09:58 +0200)
commit25e3ae0ce364fa725a6eea68d63d6a2ee09e019f
tree8501b8f5072132a64fb7d5b7fb4b50ab57458740
parente66f4c35e375346943bfe2a0990e97253f74440f
drivers: firmware: xilinx: Switch to new family code in zynqmp_pm_get_family_info()

Currently, the family code and subfamily code are derived from the
PMC_TAP_IDCODE register. Versal, Versal NET share the same family
code. Also some platforms share the same subfamily code, making it
difficult to distinguish between platforms. Update
zynqmp_pm_get_family_info() to use IDs derived from the compatible
string instead of silicon ID codes derived from PMC_TAP_IDCODE register.

Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
Link: https://lore.kernel.org/r/20250701123851.1314531-4-jay.buddhabhatti@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/firmware/xilinx/zynqmp.c
drivers/pinctrl/pinctrl-zynqmp.c
drivers/soc/xilinx/xlnx_event_manager.c
drivers/soc/xilinx/zynqmp_power.c
include/linux/firmware/xlnx-zynqmp.h