]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
firmware: xilinx: Add Versal NET platform compatible string
authorJay Buddhabhatti <jay.buddhabhatti@amd.com>
Tue, 1 Jul 2025 12:38:49 +0000 (05:38 -0700)
committerMichal Simek <michal.simek@amd.com>
Fri, 29 Aug 2025 07:57:31 +0000 (09:57 +0200)
Introduce a compatible string for the Versal NET platform which enables
platform identification based on the compatible property for platform
specific configurations.

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

index a17c806cd1178a620b46defbf82233faea46084c..53b8c88b4178b010584a2d37397bdf6ae5bd438a 100644 (file)
@@ -2155,6 +2155,7 @@ static void zynqmp_firmware_sync_state(struct device *dev)
 static const struct of_device_id zynqmp_firmware_of_match[] = {
        {.compatible = "xlnx,zynqmp-firmware"},
        {.compatible = "xlnx,versal-firmware"},
+       {.compatible = "xlnx,versal-net-firmware"},
        {},
 };
 MODULE_DEVICE_TABLE(of, zynqmp_firmware_of_match);