Unverified Commit 43a3adb6 authored by Riccardo Mereu's avatar Riccardo Mereu Committed by Mark Brown
Browse files

spi: spidev: add compatible for arduino spi mcu interface



Add compatible entry in spidev describing in Arduino UnoQ single-board
computer the interface between Qualcomm QRB2210 microprocessor and
STMicroelectronics STM32U585 microcontroller.
It is handled in user space by the arduino-router service.

Signed-off-by: default avatarRiccardo Mereu <r.mereu@arduino.cc>
Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Link: https://patch.msgid.link/20251120155825.121483-4-r.mereu.kernel@arduino.cc


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a7bde7c1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -704,6 +704,7 @@ static const struct class spidev_class = {
 */
static const struct spi_device_id spidev_spi_ids[] = {
	{ .name = /* abb */ "spi-sensor" },
	{ .name = /* arduino */ "unoq-mcu" },
	{ .name = /* cisco */ "spi-petra" },
	{ .name = /* dh */ "dhcom-board" },
	{ .name = /* elgin */ "jg10309-01" },
@@ -737,6 +738,7 @@ static int spidev_of_check(struct device *dev)

static const struct of_device_id spidev_dt_ids[] = {
	{ .compatible = "abb,spi-sensor", .data = &spidev_of_check },
	{ .compatible = "arduino,unoq-mcu", .data = &spidev_of_check },
	{ .compatible = "cisco,spi-petra", .data = &spidev_of_check },
	{ .compatible = "dh,dhcom-board", .data = &spidev_of_check },
	{ .compatible = "elgin,jg10309-01", .data = &spidev_of_check },