Florian Fainelli
e19c1272c8
spi: bcm2835: Restore native CS probing when pinctrl-bcm2835 is absent
...
The lookup table forces the use of the "pinctrl-bcm2835" GPIO chip
provider and essentially assumes that there is going to be such a
provider, and if not, we will fail to set-up the SPI device.
While this is true on Raspberry Pi based systems (2835/36/37, 2711,
2712), this is not true on 7712/77122 Broadcom STB systems which use the
SPI driver, but not the GPIO driver.
There used to be an early check:
chip = gpiochip_find("pinctrl-bcm2835", chip_match_name);
if (!chip)
return 0;
which would accomplish that nicely, bring something similar back by
checking for the compatible strings matched by the pinctrl-bcm2835.c
driver, if there is no Device Tree node matching those compatible
strings, then we won't find any GPIO provider registered by the
"pinctrl-bcm2835" driver.
Fixes: 21f252cd29f0 ("spi: bcm2835: reduce the abuse of the GPIO API")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20250401233603.2938955-1-florian.fainelli@broadcom.com
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-04-02 12:55:32 +01:00
..
2025-02-16 23:59:53 +00:00
2024-06-10 12:49:03 +01:00
2025-03-26 16:21:32 +00:00
2025-03-11 13:11:24 +00:00
2024-10-07 14:53:15 +01:00
2024-06-10 12:49:05 +01:00
2024-04-15 10:17:25 +09:00
2025-01-14 15:07:11 +00:00
2025-01-09 20:16:26 +00:00
2024-12-02 00:29:47 +00:00
2024-09-30 01:12:23 +02:00
2024-04-30 23:57:26 +09:00
2025-03-20 12:37:11 +00:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2025-02-07 20:17:13 +00:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2025-04-02 12:55:32 +01:00
2024-09-30 01:12:23 +02:00
2024-01-23 13:28:03 +00:00
2024-09-30 01:12:23 +02:00
2024-07-29 01:19:52 +01:00
2024-09-30 01:12:23 +02:00
2024-07-03 16:44:22 +02:00
2025-04-01 14:53:11 +01:00
2025-03-31 16:38:32 +01:00
2024-10-07 14:53:15 +01:00
2024-09-30 01:12:23 +02:00
2023-09-11 01:31:59 +01:00
2024-02-08 11:54:50 +00:00
2024-02-08 11:54:50 +00:00
2024-09-30 01:12:04 +02:00
2024-09-30 01:12:23 +02:00
2024-12-02 11:34:44 -08:00
2024-09-30 01:12:23 +02:00
2024-10-07 14:53:15 +01:00
2024-12-02 11:34:44 -08:00
2025-01-09 20:16:28 +00:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-05-03 11:09:24 +09:00
2024-09-30 01:12:23 +02:00
2023-08-14 13:10:51 +01:00
2025-02-03 19:24:44 +00:00
2024-06-10 12:49:05 +01:00
2024-03-28 21:09:46 +00:00
2024-11-20 12:23:06 -08:00
2024-09-30 01:12:23 +02:00
2024-06-10 12:49:05 +01:00
2025-02-26 11:42:56 +00:00
2025-03-27 19:02:29 +00:00
2025-01-09 12:03:29 +00:00
2024-10-22 20:49:02 +01:00
2025-02-05 13:52:57 +00:00
2023-09-27 17:06:36 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:21 +02:00
2024-09-30 01:12:23 +02:00
2025-02-26 11:42:57 +00:00
2024-06-10 12:48:59 +01:00
2024-12-04 13:44:01 +00:00
2024-10-09 14:41:00 +01:00
2024-10-09 14:41:00 +01:00
2024-10-09 14:41:00 +01:00
2024-09-30 01:12:23 +02:00
2023-08-14 13:11:05 +01:00
2024-12-04 16:25:22 +00:00
2024-09-30 01:12:23 +02:00
2024-12-02 11:34:44 -08:00
2024-07-03 16:44:22 +02:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-03-28 13:58:40 +00:00
2023-09-11 01:31:31 +01:00
2025-03-20 12:37:11 +00:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2025-01-09 20:16:30 +00:00
2025-03-03 12:10:03 +00:00
2024-09-30 01:12:21 +02:00
2024-12-02 00:29:46 +00:00
2023-09-11 01:31:35 +01:00
2025-03-11 13:11:29 +00:00
2024-03-25 15:03:02 +00:00
2024-09-30 01:12:23 +02:00
2025-03-20 12:37:11 +00:00
2025-03-16 23:34:25 +00:00
2025-01-09 20:16:32 +00:00
2024-12-09 13:14:36 +00:00
2025-03-20 12:37:11 +00:00
2024-10-07 14:53:15 +01:00
2025-01-09 20:16:33 +00:00
2024-09-30 01:12:23 +02:00
2025-02-11 13:15:29 +00:00
2025-02-12 17:38:46 +00:00
2025-01-21 13:07:03 +00:00
2024-09-30 01:12:23 +02:00
2024-10-07 14:53:15 +01:00
2024-06-10 12:49:01 +01:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:21 +02:00
2024-09-30 01:12:23 +02:00
2024-05-03 11:11:36 +09:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2025-02-04 19:09:07 +00:00
2024-08-22 13:34:05 +01:00
2024-11-04 19:18:19 +00:00
2025-03-26 16:21:32 +00:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2025-02-03 00:41:38 +00:00
2023-08-21 14:29:28 +01:00
2025-01-10 15:01:33 +00:00
2025-03-26 13:31:00 +00:00
2024-10-07 14:53:15 +01:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2025-02-19 23:08:36 +00:00
2024-12-02 00:32:30 +00:00
2025-03-18 14:37:39 +00:00
2024-09-30 01:12:23 +02:00
2024-10-07 14:53:15 +01:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 22:43:40 +01:00
2024-09-10 12:41:38 +01:00
2024-09-10 12:41:37 +01:00
2025-02-06 11:33:51 +00:00
2023-12-11 12:54:53 +00:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2025-03-18 12:27:42 +00:00
2025-03-20 12:37:11 +00:00
2024-10-10 15:22:37 +01:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-09-30 01:12:23 +02:00
2024-11-01 14:48:52 +00:00
2025-01-14 15:18:40 +00:00
2024-09-30 01:12:23 +02:00
2024-10-07 14:53:15 +01:00
2024-08-28 22:22:24 +01:00
2024-10-02 17:23:23 -04:00
2024-09-30 01:12:23 +02:00
2024-04-30 23:57:32 +09:00
2024-09-30 01:12:23 +02:00
2025-03-20 12:37:11 +00:00
2025-03-20 12:37:11 +00:00
2025-03-13 14:15:54 +00:00
2025-03-13 22:43:18 +00:00