[PATCH v2] pinctrl: aspeed: Allow changing SPI mode from hardware strap defaults

Linus Walleij linus.walleij at linaro.org
Tue Oct 10 23:01:58 AEDT 2023


On Thu, Oct 5, 2023 at 5:09 AM 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>

Patch applied!

Yours,
Linus Walleij


More information about the openbmc mailing list