summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-06-07 16:09:05 -0700
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2019-03-20 16:31:03 +0100
commit28acc2ce802f25dd900b5ed0acc9e3c9abac40c3 (patch)
treecf99243ffe92bde7f14510de0cde322bde4c1dc3 /drivers
parent74fba53e93474e49ddd149a41b616a81f2f9cce0 (diff)
spi: spidev: invent a new hw device to work around spidev warning
Upstream discussions would like to get rid of spidev in device trees since it is a Linux software artifact. However, we would like to provide a spidev interface for our standard SPI port available to tinker with on our Toradex Colibri Evaluation Board. Invent a new device called evalspi... Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit de3965ec20c0df8c0c2324b8809667c17782b63d) (cherry picked from commit 49f0b58dc61da3c9247700a28ca10d243494a0a7) (cherry picked from commit 0ac3b07acf1fe090144f91fa819fb1e0b68c88ac)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/spidev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index cda10719d1d1..0e931d04b7fb 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -669,6 +669,7 @@ static const struct of_device_id spidev_dt_ids[] = {
{ .compatible = "lineartechnology,ltc2488" },
{ .compatible = "ge,achc" },
{ .compatible = "semtech,sx1301" },
+ { .compatible = "toradex,evalspi" },
{},
};
MODULE_DEVICE_TABLE(of, spidev_dt_ids);