2023-10-05 16:03:03

by Andrew Jeffery

[permalink] [raw]
Subject: Re: [PATCH v2] pinctrl: aspeed: Allow changing SPI mode from hardware strap defaults

On Wed, 2023-10-04 at 20:08 -0700, Zev Weiss 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 <[email protected]>

Reviewed-by: Andrew Jeffery <[email protected]>

Thanks!