Skip to contentSkip to conversation

ASoC: dt-bindings: imx-card: Complete the full list of supported DAI formats

PATCH RESEND New Chancel Liu 1 participant 1 message May 21

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND v4 1/1 ASoC: dt-bindings: imx-card: Complete the full list of supported DAI formats

Currently this binding only lists i2s and dsp_b formats that are used by existing sound cards. However, DT bindings should describe the full hardware capabilities rather than only the formats of current usage.

The SAI audio controller of i.MX audio sound card supports multiple DAI formats, including:
- i2s
- left_j
- right_j
- dsp_a
- dsp_b
- pdm
- msb
- lsb

Complete the full list of formats supported by i.MX audio sound card to ensure the binding correctly describes hardware.

---
Changes in v4:
- Completed the full list of DAI formats (i2s, left_j, right_j, dsp_a, dsp_b, pdm, msb, lsb) supported by i.MX sound card.
- Rewrote commit message to focus on describing hardware capability rather than current usage.

Changes in v3:
- Rewrote commit message completely to describe hardware requirements. Explicitly documented why only dsp_a is added and why other formats are not included.
- Rebased on latest code base. No functional changes.

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.

 Documentation/devicetree/bindings/sound/imx-audio-card.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/sound/imx-audio-card.yaml +6 -0
index 5424d4f16f52..950e3eab2942 100644
@@ -37,7 +37,13 @@ patternProperties:
         items:
           enum:
             - i2s
+            - left_j
+            - right_j
+            - dsp_a
             - dsp_b
+            - pdm
+            - msb
+            - lsb
 
       dai-tdm-slot-num: true
 

--
2.50.1