Linux SPI subsystem development
 help / color / mirror / Atom feed
* [PATCH AUTOSEL 6.10 09/18] spi: spidev: Add an entry for elgin,jg10309-01
       [not found] <20240910172214.2415568-1-sashal@kernel.org>
@ 2024-09-10 17:21 ` Sasha Levin
  2024-09-10 17:27   ` Mark Brown
  2024-09-10 17:21 ` [PATCH AUTOSEL 6.10 14/18] spi: bcm63xx: Enable module autoloading Sasha Levin
  1 sibling, 1 reply; 4+ messages in thread
From: Sasha Levin @ 2024-09-10 17:21 UTC (permalink / raw)
  To: linux-kernel, stable
  Cc: Fabio Estevam, Heiko Stuebner, Mark Brown, Sasha Levin, linux-spi

From: Fabio Estevam <festevam@gmail.com>

[ Upstream commit 5f3eee1eef5d0edd23d8ac0974f56283649a1512 ]

The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace.
The marking on the LCD is JG10309-01.

Add the "elgin,jg10309-01" compatible string.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20240828180057.3167190-2-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/spi/spidev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
index 5304728c68c2..14bf0fa65bef 100644
--- a/drivers/spi/spidev.c
+++ b/drivers/spi/spidev.c
@@ -731,6 +731,7 @@ static int spidev_of_check(struct device *dev)
 static const struct of_device_id spidev_dt_ids[] = {
 	{ .compatible = "cisco,spi-petra", .data = &spidev_of_check },
 	{ .compatible = "dh,dhcom-board", .data = &spidev_of_check },
+	{ .compatible = "elgin,jg10309-01", .data = &spidev_of_check },
 	{ .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check },
 	{ .compatible = "lwn,bk4", .data = &spidev_of_check },
 	{ .compatible = "menlo,m53cpld", .data = &spidev_of_check },
-- 
2.43.0


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

* [PATCH AUTOSEL 6.10 14/18] spi: bcm63xx: Enable module autoloading
       [not found] <20240910172214.2415568-1-sashal@kernel.org>
  2024-09-10 17:21 ` [PATCH AUTOSEL 6.10 09/18] spi: spidev: Add an entry for elgin,jg10309-01 Sasha Levin
@ 2024-09-10 17:21 ` Sasha Levin
  1 sibling, 0 replies; 4+ messages in thread
From: Sasha Levin @ 2024-09-10 17:21 UTC (permalink / raw)
  To: linux-kernel, stable
  Cc: Liao Chen, Mark Brown, Sasha Levin, jonas.gorski, linux-spi

From: Liao Chen <liaochen4@huawei.com>

[ Upstream commit 709df70a20e990d262c473ad9899314039e8ec82 ]

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based
on the alias from of_device_id table.

Signed-off-by: Liao Chen <liaochen4@huawei.com>
Link: https://patch.msgid.link/20240831094231.795024-1-liaochen4@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/spi/spi-bcm63xx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c
index aac41bd05f98..2fb8d4e55c77 100644
--- a/drivers/spi/spi-bcm63xx.c
+++ b/drivers/spi/spi-bcm63xx.c
@@ -472,6 +472,7 @@ static const struct of_device_id bcm63xx_spi_of_match[] = {
 	{ .compatible = "brcm,bcm6358-spi", .data = &bcm6358_spi_reg_offsets },
 	{ },
 };
+MODULE_DEVICE_TABLE(of, bcm63xx_spi_of_match);
 
 static int bcm63xx_spi_probe(struct platform_device *pdev)
 {
-- 
2.43.0


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

* Re: [PATCH AUTOSEL 6.10 09/18] spi: spidev: Add an entry for elgin,jg10309-01
  2024-09-10 17:21 ` [PATCH AUTOSEL 6.10 09/18] spi: spidev: Add an entry for elgin,jg10309-01 Sasha Levin
@ 2024-09-10 17:27   ` Mark Brown
  2024-09-18 22:43     ` Sasha Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2024-09-10 17:27 UTC (permalink / raw)
  To: Sasha Levin
  Cc: linux-kernel, stable, Fabio Estevam, Heiko Stuebner, linux-spi

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

On Tue, Sep 10, 2024 at 01:21:54PM -0400, Sasha Levin wrote:
> From: Fabio Estevam <festevam@gmail.com>
> 
> [ Upstream commit 5f3eee1eef5d0edd23d8ac0974f56283649a1512 ]
> 
> The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace.
> The marking on the LCD is JG10309-01.
> 
> Add the "elgin,jg10309-01" compatible string.

There's also 5478a4f7b94414def7b56d2f18bc2ed9b0f3f1f2.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [PATCH AUTOSEL 6.10 09/18] spi: spidev: Add an entry for elgin,jg10309-01
  2024-09-10 17:27   ` Mark Brown
@ 2024-09-18 22:43     ` Sasha Levin
  0 siblings, 0 replies; 4+ messages in thread
From: Sasha Levin @ 2024-09-18 22:43 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-kernel, stable, Fabio Estevam, Heiko Stuebner, linux-spi

On Tue, Sep 10, 2024 at 06:27:28PM +0100, Mark Brown wrote:
>On Tue, Sep 10, 2024 at 01:21:54PM -0400, Sasha Levin wrote:
>> From: Fabio Estevam <festevam@gmail.com>
>>
>> [ Upstream commit 5f3eee1eef5d0edd23d8ac0974f56283649a1512 ]
>>
>> The rv1108-elgin-r1 board has an LCD controlled via SPI in userspace.
>> The marking on the LCD is JG10309-01.
>>
>> Add the "elgin,jg10309-01" compatible string.
>
>There's also 5478a4f7b94414def7b56d2f18bc2ed9b0f3f1f2.

I'll take it too, thanks!

-- 
Thanks,
Sasha

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

end of thread, other threads:[~2024-09-19  9:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20240910172214.2415568-1-sashal@kernel.org>
2024-09-10 17:21 ` [PATCH AUTOSEL 6.10 09/18] spi: spidev: Add an entry for elgin,jg10309-01 Sasha Levin
2024-09-10 17:27   ` Mark Brown
2024-09-18 22:43     ` Sasha Levin
2024-09-10 17:21 ` [PATCH AUTOSEL 6.10 14/18] spi: bcm63xx: Enable module autoloading Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox