linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] spidev: add compatible string for MediaTek IoT (Genio) boards
@ 2023-08-28  8:09 Macpaul Lin
  2023-08-28  9:33 ` Michael Walle
  0 siblings, 1 reply; 3+ messages in thread
From: Macpaul Lin @ 2023-08-28  8:09 UTC (permalink / raw)
  To: Mark Brown, Matthias Brugger, AngeloGioacchino Del Regno,
	linux-spi, linux-kernel, linux-arm-kernel, linux-mediatek
  Cc: Bear Wang, Pablo Sun, Macpaul Lin, Macpaul Lin, Chunfeng Yun,
	Fabien Parent

Add compatible string for MediaTek IoT (Genio) boards.

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] spidev: add compatible string for MediaTek IoT (Genio) boards
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Walle @ 2023-08-28  9:33 UTC (permalink / raw)
  To: macpaul.lin
  Cc: angelogioacchino.delregno, bear.wang, broonie, chunfeng.yun,
	fparent, linux-arm-kernel, linux-kernel, linux-mediatek,
	linux-spi, macpaul, matthias.bgg, pablo.sun, Michael Walle

> 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

> 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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] spidev: add compatible string for MediaTek IoT (Genio) boards
  2023-08-28  9:33 ` Michael Walle
@ 2023-08-28 10:25   ` Macpaul Lin
  0 siblings, 0 replies; 3+ messages in thread
From: Macpaul Lin @ 2023-08-28 10:25 UTC (permalink / raw)
  To: Michael Walle
  Cc: angelogioacchino.delregno, bear.wang, broonie, chunfeng.yun,
	fparent, linux-arm-kernel, linux-kernel, linux-mediatek,
	linux-spi, macpaul, matthias.bgg, pablo.sun

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-28 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).