[PATCH linux dev-6.5] pinctrl: aspeed: Allow changing SPI mode from hardware strap defaults
Joel Stanley
joel at jms.id.au
Fri Nov 10 13:42:41 AEDT 2023
On Thu, 9 Nov 2023 at 09:38, Zev Weiss <zev at bewilderbeest.net> wrote:
>
> Some platforms unfortunately have their SPI mode selection bits
> strapped incorrectly (such as being configured for passthrough mode
> when master mode is in fact the only useful configuration for it) and
> thus require correction in software. Add the SPI mode bits to the
> GPIO passthrough bits as the exceptions to the read-only rule for the
> hardware strap register so that the pinctrl subsystem can be used for
> such corrections.
>
> Signed-off-by: Zev Weiss <zev at bewilderbeest.net>
> Reviewed-by: Andrew Jeffery <andrew at codeconstruct.com.au>
> Link: https://lore.kernel.org/r/20231005030849.11352-2-zev@bewilderbeest.net
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> (cherry picked from commit d875d6ccd36f5eed25829d483b12df6ed826f9b5)
Applied to dev-6.5.
Cheers,
Joel
More information about the openbmc
mailing list