aspeed2500 SPI1 control at run-time with OpenBMC

Andrew Jeffery andrew at aj.id.au
Wed Mar 30 13:07:48 AEDT 2022



On Wed, 30 Mar 2022, at 04:27, Ali El-Haj-Mahmoud wrote:
> Thanks for the reply Andrew.
>
>> Not explicitly as I mentioned. You're also going to run into the
>> constraints here:
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c?h=v5.17#n2739
>>
>> Fundamentally that needs to be changed. We could do something like have
>> it default to pass-through unless a driver is bound.
>
> Could you please elaborate on this a bit? I'm way out of my depth here
> and would appreciate any additional pointers.
>
> I already ran into the read-only constraints in the pinctrl driver,
> and I have a patch that excludes SCU70[13:12], but that wasn't enough.

What were you doing to test it?


More information about the Linux-aspeed mailing list