devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Riccardo Mereu <r.mereu.kernel@arduino.cc>
To: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org, broonie@kernel.org
Cc: linux@roeck-us.net, Jonathan.Cameron@huawei.com,
	wenswang@yeah.net, naresh.solanki@9elements.com,
	michal.simek@amd.com, nuno.sa@analog.com, chou.cosmo@gmail.com,
	grantpeltier93@gmail.com, eajames@linux.ibm.com,
	farouk.bouabid@cherry.de, linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-spi@vger.kernel.org, m.facchin@arduino.cc,
	Riccardo Mereu <r.mereu@arduino.cc>
Subject: [PATCH v2 3/6] spi: spidev: add compatible for arduino spi mcu interface
Date: Fri, 14 Nov 2025 13:18:50 +0100	[thread overview]
Message-ID: <20251114121853.16472-4-r.mereu@arduino.cc> (raw)
In-Reply-To: <20251114121853.16472-1-r.mereu@arduino.cc>

Add compatible entry in spidev describing in Arduino boards one of the
interfaces between microprocessor and  microcontroller.

Signed-off-by: Riccardo Mereu <r.mereu@arduino.cc>
---
 drivers/spi/spidev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 5300c942a2a4..9a0160f6dc3d 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -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 },
-- 
2.51.2


  parent reply	other threads:[~2025-11-14 12:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-14 12:18 [PATCH v2 0/6] arm64: qcom: add support for Arduino UnoQ SBC Riccardo Mereu
2025-11-14 12:18 ` [PATCH v2 1/6] dt-bindings: vendor-prefixes: Add Arduino name Riccardo Mereu
2025-11-15 11:36   ` Krzysztof Kozlowski
2025-11-19  4:49   ` Trilok Soni
2025-11-19  9:11     ` Riccardo Mereu Linux Kernel
2025-11-19  9:22       ` Dmitry Baryshkov
2025-11-14 12:18 ` [PATCH v2 2/6] dt-bindings: trivial-devices: add arduino spi mcu interface Riccardo Mereu
2025-11-14 12:58   ` Krzysztof Kozlowski
2025-11-14 13:00     ` Krzysztof Kozlowski
2025-11-14 12:18 ` Riccardo Mereu [this message]
2025-11-14 12:18 ` [PATCH v2 4/6] dt-bindings: arm: qcom: Add arduino imola, UnoQ codename Riccardo Mereu
2025-11-14 13:00   ` Krzysztof Kozlowski
2025-11-14 12:18 ` [PATCH v2 5/6] arm64: dts: qcom: agatti: add uart2 node Riccardo Mereu
2025-11-14 12:18 ` [PATCH v2 6/6] arm64: dts: qcom: qrb2210: add dts for Arduino unoq Riccardo Mereu
2025-11-18 10:44   ` Loic Poulain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251114121853.16472-4-r.mereu@arduino.cc \
    --to=r.mereu.kernel@arduino.cc \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=andersson@kernel.org \
    --cc=broonie@kernel.org \
    --cc=chou.cosmo@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=eajames@linux.ibm.com \
    --cc=farouk.bouabid@cherry.de \
    --cc=grantpeltier93@gmail.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=m.facchin@arduino.cc \
    --cc=michal.simek@amd.com \
    --cc=naresh.solanki@9elements.com \
    --cc=nuno.sa@analog.com \
    --cc=r.mereu@arduino.cc \
    --cc=robh@kernel.org \
    --cc=wenswang@yeah.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).