Re: [PATCH] spi: bcm63xx: fix shared reset

From: Philipp Zabel
Date: Mon Jun 02 2025 - 05:31:39 EST


On Do, 2025-05-29 at 15:09 +0200, Álvaro Fernández Rojas wrote:
> Some bmips SoCs (bcm6362, bcm63268) share the same SPI reset for both SPI and
> HSSPI controllers, so reset shouldn't be exclusive.
>
> Álvaro Fernández Rojas (2):
> spi: bcm63xx-spi: fix shared reset

Both drivers currently enable the SPI clock before triggering a reset.
Can the hardware cope with being reset before the clock is enabled?
That could happen for the second device to be bound [1], unless the SPI
clock is shared as well or already running for another reason.

[1] https://docs.kernel.org/driver-api/reset.html#triggering

regards
Philipp