]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drivers: firmware: xilinx: Add unique family code for all platforms
authorJay Buddhabhatti <jay.buddhabhatti@amd.com>
Tue, 1 Jul 2025 12:38:50 +0000 (05:38 -0700)
committerMichal Simek <michal.simek@amd.com>
Fri, 29 Aug 2025 07:58:43 +0000 (09:58 +0200)
commite66f4c35e375346943bfe2a0990e97253f74440f
tree6399756b28140427b605969593d430c064ea268c
parentff1c629cea271f7cdfbbb57aba8456e4396faade
drivers: firmware: xilinx: Add unique family code for all platforms

The family code is currently derived from the PMC_TAP_IDCODE register
value, but there are issues where Versal, Versal NET, and future
platforms share the same family code. Additionally for some platforms
have identical subfamily code, making it challenging to differentiate
between platforms based on the family and subfamily codes. To resolve
this, a new family code member is added to the platform data, initialized
with unique values. This change enables better platform distinction via
the compatible string.

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