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

Andrew Jeffery andrew at codeconstruct.com.au
Thu Oct 5 14:14:54 AEDT 2023


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 <zev at bewilderbeest.net>

Reviewed-by: Andrew Jeffery <andrew at codeconstruct.com.au>

Thanks!


More information about the openbmc mailing list