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:
This is the right API that Alex what to use.while looking at the code, it seems you can use alias to map specific idI've never used this before, but yes, it looks like it's exactly
to the spi controller, it even can do non-linear map, something like
spi0 = &spi3;
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
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