[PATCH 1/3] dt-bindings: spi: add SpacemiT K1 SPI support
Alex Elder
elder at riscstar.com
Thu Sep 18 05:00:02 PDT 2025
On 9/18/25 2:43 AM, Troy Mitchell wrote:
>>> while looking at the code, it seems you can use alias to map specific id
>>> to the spi controller, it even can do non-linear map, something like
>>> spi0 = &spi3;
>> I've never used this before, but yes, it looks like it's exactly
>> what I want. I'll just get rid of the "spacemit,k1-ssp-id" DT
>> property entirely. Easy.
>>
>>> plese check of_alias_get_id()
>>>
>>> note, I haven't actually verified on board, just look through the code
> This is the right API that Alex what to use.
> I have verified it in i2c driver.
Yes, thank you for confirming. I've already made the change
and verified it works as desired.
-Alex
More information about the linux-riscv
mailing list