Re: [PATCH 1/3] dt-bindings: spi: add SpacemiT K1 SPI support

From: Alex Elder

Date: Thu Sep 18 2025 - 08:00:05 EST


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