]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
include: adi-axi-common: add version check function
authorDavid Lechner <dlechner@baylibre.com>
Fri, 15 Aug 2025 17:40:02 +0000 (12:40 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 11 Sep 2025 16:52:14 +0000 (17:52 +0100)
commit67a529b7d3c50a56c162476509361f4fe11350dd
tree543db53c6c2a66592af2f6d28da070f49f3419ce
parent2c625f0fe2db4e6a58877ce2318df3aa312eb791
include: adi-axi-common: add version check function

Add a version check function for checking ADI AXI IP core versions.

These cores use a semantic versioning scheme, so it is useful to have
a version check function that can check the minor version to enable
features in driver while maintaining backward compatibility.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250815-spi-axi-spi-enigne-improve-version-checks-v1-1-13bde357d5b6@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/adi-axi-common.h