From: Krzysztof Kozlowski <krzk@kernel.org>
To: Lukasz Majewski <lukma@denx.de>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ASoC: dt-bindings: Add dt bindings definition file for imx28 saif
Date: Wed, 28 Aug 2024 10:11:40 +0200 [thread overview]
Message-ID: <fc53a03d-af82-4083-9dc0-82a8190cc382@kernel.org> (raw)
In-Reply-To: <20240828100111.10852309@wsk>
On 28/08/2024 10:01, Lukasz Majewski wrote:
>>> +properties:
>>> + compatible:
>>> + const: fsl,imx28-saif
>>> +
>>> + reg:
>>> + maxItems: 1
>>> +
>>> + "#sound-dai-cells":
>>> + const: 0
>>> +
>>> + assigned-clock-parents: true
>>> + assigned-clock-rates: true
>>> + assigned-clocks: true
>>
>> These three should be dropped, redundant.
>
> Last two are present in definition of saif[01] in imx28.dtsi - so IMHO
> it shall be added.
But they are already accepted. Why they need to be mentioned twice?
>
> Moreover, those are present in fsl,sg5000.yaml dt-schema description.
>
There is no such file.
>>
>>> +
>>> +unevaluatedProperties: false
>>> +
>>> +examples:
>>> + - |
>>> + saif0: saif@80042000 {
>>> + #sound-dai-cells = <0>;
>>> + compatible = "fsl,imx28-saif";
>>> + reg = <0x80042000 2000>;
>>> + interrupts = <59>;
>>> + clocks = <&clks 53>;
>>> + dmas = <&dma_apbx 4>;
>>> + dma-names = "rx-tx";
>>> + };
>>> + - |
>>> + saif1: saif@80046000 {
>>
>> Just one example, could be this one as more complete.
>
> This is important, as saif1 has "fsl,saif-master" which allows to have
> full duplex PCM communication (by default on imx28 single saif is
> half-duplex).
>
So keep saif1.
Best regards,
Krzysztof
prev parent reply other threads:[~2024-08-28 8:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 18:05 [PATCH] ASoC: dt-bindings: Add dt bindings definition file for imx28 saif Lukasz Majewski
2024-08-28 6:18 ` Krzysztof Kozlowski
2024-08-28 8:01 ` Lukasz Majewski
2024-08-28 8:11 ` Krzysztof Kozlowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fc53a03d-af82-4083-9dc0-82a8190cc382@kernel.org \
--to=krzk@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=lukma@denx.de \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox