ODROID-C5: spi: Add compatible name "linux,spidev"

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
Change-Id: I13f0a3d2ff898f0e8e3b504a38ea84666dcbf8d0
This commit is contained in:
2024-10-15 11:40:34 +09:00
committed by Dongjin Kim
parent cc872881da
commit 5f937343f4

View File

@@ -691,6 +691,9 @@ static const struct spi_device_id spidev_spi_ids[] = {
{ .name = "m53cpld" },
{ .name = "spi-petra" },
{ .name = "spi-authenta" },
#if defined(CONFIG_ARCH_MESON_ODROID_COMMON)
{ .name = "spidev" },
#endif
{},
};
MODULE_DEVICE_TABLE(spi, spidev_spi_ids);
@@ -705,6 +708,9 @@ static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "menlo,m53cpld" },
{ .compatible = "cisco,spi-petra" },
{ .compatible = "micron,spi-authenta" },
#if defined(CONFIG_ARCH_MESON_ODROID_COMMON)
{ .compatible = "linux,spidev" },
#endif
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);