Re: [PATCH 2/2] ASoC: dt-bindings: fsl-sai: Support Rx-only SAI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/01/2024 10:26, Alexander Stein wrote:
> Hi Krzysztof,
> 
> Am Mittwoch, 20. Dezember 2023, 16:48:34 CET schrieb Krzysztof Kozlowski:
>> On 19/12/2023 13:29, Alexander Stein wrote:
>>> On SoC like i.MX8QXP some SAI IP cores support only Rx path. Allow
>>> specifying only an Rx DMA channel, while omitting the Tx one.
>>>
>>> Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
>>> ---
>>> The feature list in reference manual IMX8DQXPRM Rev. 0 05/2020
>>> section 1.1.2 "Features" explicitly state that SAI2 and SAI3 is
>>> receive only.
>>
>> Why aren't you constraining it per variant/device? If only some have one
>> DMA channel, then I would normally expect allOf:if:then narrowing it for
>> each device.
> 
> I'm not sure I get what you want to constraint. In the very same SoC there are 
> SAI IP instances supporting Rx & Tx while others support Rx only.
> The feature list in RM IMX8DQXPRM Rev. 0 05/2020 states:
>>  4x SAI (SAI0 and SAI1 are transmit/receive; SAI2 and SAI3 are receive only)
> 
> An actual example can be seen at [1].
> 

Ah, that's fine.


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux