Skip to contentSkip to conversation

ASoC: dt-bindings: imx-card: Add dsp_a DAI format

PATCH Superseded Chancel Liu 3 participants 7 messages Mar 10 – Mar 26

Subsystems (4)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ASoC: dt-bindings: imx-card: Add dsp_a DAI format

The imx-card machine driver originally supported only codecs operating in i2s or dsp_b formats. This machine driver can support CS42448 codec and this codec typically uses dsp_a for its TDM interface. Therefore, dsp_a format support is required for describing such sound cards in DT.

Update DT bindings to include "dsp_a" in the list of supported DAI formats.

---
 Documentation/devicetree/bindings/sound/imx-audio-card.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/sound/imx-audio-card.yaml +1 -0
index 3c75c8c78987..5c08289346c0 100644
@@ -36,6 +36,7 @@ patternProperties:
         items:
           enum:
             - i2s
+            - dsp_a
             - dsp_b
 
       dai-tdm-slot-num:
Signature · 1 line
2.50.1
maintainer
#1 lore raw
Quoted 4 lines · Chancel Liu

The imx-card machine driver originally supported only codecs operating in i2s or dsp_b formats. This machine driver can support CS42448 codec and this codec typically uses dsp_a for its TDM interface. Therefore, dsp_a format support is required for describing such sound cards in DT.

binding is descript hardware not driver. s/driver/device.

Frank

Quoted 24 lines

Update DT bindings to include "dsp_a" in the list of supported DAI formats.

---
 Documentation/devicetree/bindings/sound/imx-audio-card.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/sound/imx-audio-card.yaml +1 -1
index 3c75c8c78987..5c08289346c0 100644
@@ -36,6 +36,7 @@ patternProperties:
         items:
           enum:
             - i2s
+            - dsp_a
             - dsp_b
 
       dai-tdm-slot-num:
--

2.50.1

#2 lore raw
Quoted 8 lines
Quoted 4 lines

The imx-card machine driver originally supported only codecs operating in i2s or dsp_b formats. This machine driver can support CS42448 codec and this codec typically uses dsp_a for its TDM interface. Therefore, dsp_a format support is required for describing such sound cards in DT.

binding is descript hardware not driver. s/driver/device.

Frank

Yes. I realize the commit message is incorrect. The intention is to describe the codec hardware requirement. I will fix it.

Regards,
Chancel Liu

Quoted 26 lines
Quoted 26 lines

Update DT bindings to include "dsp_a" in the list of supported DAI formats.

---
 Documentation/devicetree/bindings/sound/imx-audio-card.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/sound/imx-audio-card.yaml b/Documentation/devicetree/bindings/sound/imx-audio-card.yaml index 3c75c8c78987..5c08289346c0 100644

Documentation/devicetree/bindings/sound/imx-audio-card.yaml +1 -1
@@ -36,6 +36,7 @@ patternProperties:
         items:
           enum:
             - i2s
+            - dsp_a
             - dsp_b
 
       dai-tdm-slot-num:
--

2.50.1

#3 lore raw
In reply to Chancel Liu
Quoted 3 lines · Chancel Liu

The imx-card machine driver originally supported only codecs operating in i2s or dsp_b formats. This machine driver can support CS42448 codec and this codec typically uses dsp_a for its TDM interface. Therefore,

And what about other formats, which was asked last time?

Quoted 9 lines

dsp_a format support is required for describing such sound cards in DT.

Update DT bindings to include "dsp_a" in the list of supported DAI formats.

---
 Documentation/devicetree/bindings/sound/imx-audio-card.yaml | 1 +
 1 file changed, 1 insertion(+)

Where is changelog?

Where is any explanation how you handled or not handled previous review?

Best regards,
Krzysztof

#4 lore raw
Quoted 6 lines
Quoted 3 lines

The imx-card machine driver originally supported only codecs operating in i2s or dsp_b formats. This machine driver can support CS42448 codec and this codec typically uses dsp_a for its TDM interface. Therefore,

And what about other formats, which was asked last time?

The imx-card machine driver currently implements support only for codecs with i2s and dsp_b format. The newly added CS42448 codec requires dsp_a and that is why this patch adds dsp_a only. No other formats are used or supported by the existing hardware covered by this binding, so they are not included.

Quoted 5 lines
Quoted 5 lines

dsp_a format support is required for describing such sound cards in DT.

Update DT bindings to include "dsp_a" in the list of supported DAI formats.

Quoted 7 lines
Quoted 4 lines
---
 Documentation/devicetree/bindings/sound/imx-audio-card.yaml | 1 +
 1 file changed, 1 insertion(+)

Where is changelog?

Sorry for this oversight.
I will add v2 change log(as well as for v3 and future versions) for example:
changes in v2:
- Updated commit message to explain current support for i2s and dsp_b formats and new support for dsp_a. No code changes.

Quoted 4 lines

Where is any explanation how you handled or not handled previous review?

Best regards,
Krzysztof

My intention in v2 was to directly fix the issues raised by you and other reviewers and maintainers, but I mistakenly assumed that applying the changes in the new version was sufficient. I understand now that it is required to explicitly describe how each review comment was handled, even if the changes are already included in the updated patch. I will add a clear changelog and detailed explanation in v3.

Regards,
Chancel Liu

#5 lore raw
Quoted 11 lines · Chancel Liu
Quoted 6 lines
Quoted 3 lines

The imx-card machine driver originally supported only codecs operating in i2s or dsp_b formats. This machine driver can support CS42448 codec and this codec typically uses dsp_a for its TDM interface. Therefore,

And what about other formats, which was asked last time?

The imx-card machine driver currently implements support only for codecs with i2s and dsp_b format. The newly added CS42448 codec requires dsp_a and that is why this patch adds dsp_a only. No other formats are used or supported by the existing hardware covered by this

First sentence says about driver, here you speak about hardware, so feels like you are mixing these.

Best regards,
Krzysztof

#6 lore raw
Quoted 13 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

The imx-card machine driver originally supported only codecs operating in i2s or dsp_b formats. This machine driver can support CS42448 codec and this codec typically uses dsp_a for its TDM interface. Therefore,

Quoted 7 lines
Quoted 2 lines

And what about other formats, which was asked last time?

The imx-card machine driver currently implements support only for codecs with i2s and dsp_b format. The newly added CS42448 codec requires dsp_a and that is why this patch adds dsp_a only. No other formats are used or supported by the existing hardware covered by this

Quoted 5 lines

First sentence says about driver, here you speak about hardware, so feels like you are mixing these.

Best regards,
Krzysztof

You're right, I should not mention the driver. What I meant is that the existing i.MX audio sound card described by this binding use codecs that operate in i2s or dsp_b formats.

Regards,
Chancel Liu