* [PATCH] spi: sun4i: add support for GPIO chip select lines
@ 2025-04-10 11:53 Mans Rullgard
2025-04-13 14:54 ` Jernej Škrabec
2025-04-14 14:25 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Mans Rullgard @ 2025-04-10 11:53 UTC (permalink / raw)
To: Mark Brown, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
Cc: Pan Nan, Maxime Ripard, linux-spi, linux-arm-kernel, linux-sunxi,
linux-kernel
Set use_gpio_descriptors to true so that GPIOs can be used for chip
select in accordance with the DT binding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
---
drivers/spi/spi-sun4i.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/spi-sun4i.c b/drivers/spi/spi-sun4i.c
index 2ee6755b43f5..6645d218bcf3 100644
--- a/drivers/spi/spi-sun4i.c
+++ b/drivers/spi/spi-sun4i.c
@@ -462,6 +462,7 @@ static int sun4i_spi_probe(struct platform_device *pdev)
sspi->host = host;
host->max_speed_hz = 100 * 1000 * 1000;
host->min_speed_hz = 3 * 1000;
+ host->use_gpio_descriptors = true;
host->set_cs = sun4i_spi_set_cs;
host->transfer_one = sun4i_spi_transfer_one;
host->num_chipselect = 4;
--
2.49.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] spi: sun4i: add support for GPIO chip select lines
2025-04-10 11:53 [PATCH] spi: sun4i: add support for GPIO chip select lines Mans Rullgard
@ 2025-04-13 14:54 ` Jernej Škrabec
2025-04-14 14:25 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Jernej Škrabec @ 2025-04-13 14:54 UTC (permalink / raw)
To: Mark Brown, Chen-Yu Tsai, Samuel Holland, Mans Rullgard
Cc: Pan Nan, Maxime Ripard, linux-spi, linux-arm-kernel, linux-sunxi,
linux-kernel
Dne četrtek, 10. april 2025 ob 13:53:03 Srednjeevropski poletni čas je Mans Rullgard napisal(a):
> Set use_gpio_descriptors to true so that GPIOs can be used for chip
> select in accordance with the DT binding.
>
> Signed-off-by: Mans Rullgard <mans@mansr.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Best regards,
Jernej
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] spi: sun4i: add support for GPIO chip select lines
2025-04-10 11:53 [PATCH] spi: sun4i: add support for GPIO chip select lines Mans Rullgard
2025-04-13 14:54 ` Jernej Škrabec
@ 2025-04-14 14:25 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2025-04-14 14:25 UTC (permalink / raw)
To: Chen-Yu Tsai, Jernej Skrabec, Samuel Holland, Mans Rullgard
Cc: Pan Nan, Maxime Ripard, linux-spi, linux-arm-kernel, linux-sunxi,
linux-kernel
On Thu, 10 Apr 2025 12:53:03 +0100, Mans Rullgard wrote:
> Set use_gpio_descriptors to true so that GPIOs can be used for chip
> select in accordance with the DT binding.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: sun4i: add support for GPIO chip select lines
commit: 36ff6c3f5084f2dbb6cd89d15b78cf734e9abfa6
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-14 14:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10 11:53 [PATCH] spi: sun4i: add support for GPIO chip select lines Mans Rullgard
2025-04-13 14:54 ` Jernej Škrabec
2025-04-14 14:25 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox