Skip to content

Commit 43a3adb

Browse files
SuMerebroonie
authored andcommitted
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: Riccardo Mereu <r.mereu@arduino.cc> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://patch.msgid.link/20251120155825.121483-4-r.mereu.kernel@arduino.cc Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent a7bde7c commit 43a3adb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/spi/spidev.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ static const struct class spidev_class = {
704704
*/
705705
static const struct spi_device_id spidev_spi_ids[] = {
706706
{ .name = /* abb */ "spi-sensor" },
707+
{ .name = /* arduino */ "unoq-mcu" },
707708
{ .name = /* cisco */ "spi-petra" },
708709
{ .name = /* dh */ "dhcom-board" },
709710
{ .name = /* elgin */ "jg10309-01" },
@@ -737,6 +738,7 @@ static int spidev_of_check(struct device *dev)
737738

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

0 commit comments

Comments
 (0)