On 08/12/2025 07:02, Krzysztof Kozlowski wrote:
On 08/12/2025 06:55, Oder Chiou wrote:
+properties:
- compatible:
- enum:
- realtek,rt5575- realtek,rt5575-with-spiDrop the second compatible. It's the same device. Whether it supports SPI it is already known and obvious - you cannot place non-SPI chip on SPI bus and expect it to work.
There are two hardware configurations: with SPI flash and without SPI flash. If the codec is shipped without an SPI flash, the SPI driver can still load the firmware through the SPI interface. The second compatible is intended to distinguish between the versions with and without the SPI flash.
Ah, so this is not about the bus. I don't see that compatible referenced in your device ID table, so this is dead code. Drop or justify - by writing driver code using it....
Wait, I saw it in deice ID table, but there is no driver data so still pointless.
Best regards, Krzysztof