From: Macpaul Lin <macpaul.lin@mediatek.com>
To: Michael Walle <mwalle@kernel.org>
Cc: <angelogioacchino.delregno@collabora.com>,
<bear.wang@mediatek.com>, <broonie@kernel.org>,
<chunfeng.yun@mediatek.com>, <fparent@baylibre.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>, <linux-spi@vger.kernel.org>,
<macpaul@gmail.com>, <matthias.bgg@gmail.com>,
<pablo.sun@mediatek.com>
Subject: Re: [PATCH] spidev: add compatible string for MediaTek IoT (Genio) boards
Date: Mon, 28 Aug 2023 18:25:22 +0800 [thread overview]
Message-ID: <35d2fd6a-167b-8df8-aa61-b40aa7224e3c@mediatek.com> (raw)
In-Reply-To: <20230828093326.3255275-1-mwalle@kernel.org>
On 8/28/23 17:33, Michael Walle wrote:
>
>
> External email : Please do not click links or open attachments until you
> have verified the sender or the content.
>
>
>> Add compatible string for MediaTek IoT (Genio) boards.
>
> This has already be discussed [1] and was naked.
>
> https://lore.kernel.org/lkml/20230118-mt8365-spi-support-v1-2-842a21e50494@baylibre.com/
>
> -michael
Thanks for the reminding, I'll check previous discussion thread.
>> Signed-off-by: Fabien Parent <fparent@baylibre.com>
>> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
>> ---
>> drivers/spi/spidev.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
>> index d13dc15cc191..9d7952dbbaa6 100644
>> --- a/drivers/spi/spidev.c
>> +++ b/drivers/spi/spidev.c
>> @@ -714,6 +714,7 @@ static const struct spi_device_id spidev_spi_ids[] = {
>> { .name = "spi-authenta" },
>> { .name = "em3581" },
>> { .name = "si3210" },
>> + { .name = "genio-board" },
>> {},
>> };
>> MODULE_DEVICE_TABLE(spi, spidev_spi_ids);
>> @@ -742,6 +743,7 @@ static const struct of_device_id spidev_dt_ids[] = {
>> { .compatible = "semtech,sx1301", .data = &spidev_of_check },
>> { .compatible = "silabs,em3581", .data = &spidev_of_check },
>> { .compatible = "silabs,si3210", .data = &spidev_of_check },
>> + { .compatible = "mediatek,genio-board", .data = &spidev_of_check },
>> {},
>> };
>> MODULE_DEVICE_TABLE(of, spidev_dt_ids);
>> --
>> 2.18.0
Regards,
Macpaul Lin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2023-08-28 10:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-28 8:09 [PATCH] spidev: add compatible string for MediaTek IoT (Genio) boards Macpaul Lin
2023-08-28 9:33 ` Michael Walle
2023-08-28 10:25 ` Macpaul Lin [this message]
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=35d2fd6a-167b-8df8-aa61-b40aa7224e3c@mediatek.com \
--to=macpaul.lin@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=bear.wang@mediatek.com \
--cc=broonie@kernel.org \
--cc=chunfeng.yun@mediatek.com \
--cc=fparent@baylibre.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-spi@vger.kernel.org \
--cc=macpaul@gmail.com \
--cc=matthias.bgg@gmail.com \
--cc=mwalle@kernel.org \
--cc=pablo.sun@mediatek.com \
/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).