]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: gpio: Support a single always-selected device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 5 Feb 2025 13:19:20 +0000 (15:19 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 5 Feb 2025 13:52:57 +0000 (13:52 +0000)
commit25fac20edd09b60651eabcc57c187b1277f43d08
treec470ced10bd37e25633a0e99f18eb3470edc7073
parentc108905a7423d44237d17374f845fc5bb9cb9728
spi: gpio: Support a single always-selected device

The generic SPI code, the SPI GPIO driver functions support
a single always-connected device cases. The only impediment
is that board instantiation prevents that from happening.
Update spi_gpio_probe_pdata() checks to support the mentioned
hardware setup.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250205132127.742750-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-gpio.c