Skip to contentSkip to conversation

ASoC: dt-bindings: add missing pins

PATCH In review David Heidelberg 2 participants 2 messages Dec 11, 2021 – Dec 13, 2021

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

PATCH 1/1 ASoC: dt-bindings: add missing pins

Add pins missing in documentation, but present in the hardware.

Fixes 0e826e867264 ("ASoC: add RT5677 CODEC driver")
---
 Documentation/devicetree/bindings/sound/rt5677.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/sound/rt5677.txt +12 -0
index da2430099181..74b6359b802d 100644
@@ -54,9 +54,21 @@ Pins on the device (for linking into audio routes):
   * DMIC2
   * DMIC3
   * DMIC4
+  * DMIC L1
+  * DMIC L2
+  * DMIC L3
+  * DMIC L4
+  * DMIC R1
+  * DMIC R2
+  * DMIC R3
+  * DMIC R4
   * LOUT1
   * LOUT2
   * LOUT3
+  * PDM1L
+  * PDM1R
+  * PDM2L
+  * PDM2R
 
 Example:
 
Signature · 1 line
2.33.0
maintainer
#1 lore raw
Quoted 3 lines · David Heidelberg

Add pins missing in documentation, but present in the hardware.

Fixes 0e826e867264 ("ASoC: add RT5677 CODEC driver")

Please don't just add nonsense fixes tags for the sake of it, this just creates noise and gets in the way of people trying to use the tags to work out if thy need fixes. The commit you're mentioning doesn't even contain any changes to the binding document.

Documentation/devicetree/bindings/sound/rt5677.txt Pins on the device (for linking into audio routes): · line 64

Quoted 12 lines
Documentation/devicetree/bindings/sound/rt5677.txt +8 -0
@@ -54,9 +54,21 @@ Pins on the device (for linking into audio routes):
   * DMIC2
   * DMIC3
   * DMIC4
+  * DMIC L1
+  * DMIC L2
+  * DMIC L3
+  * DMIC L4
+  * DMIC R1
+  * DMIC R2
+  * DMIC R3
+  * DMIC R4

These clearly aren't pins you're adding, digital microphones use PDM and carry a stereo pair on a single physical pin (which is what should be and already is in the bindings). This is adding an extra set of pins to the binding duplicating the existing ones.

Documentation/devicetree/bindings/sound/rt5677.txt Pins on the device (for linking into audio routes): · line 71

Quoted 7 lines
Documentation/devicetree/bindings/sound/rt5677.txt +4 -0
   * LOUT1
   * LOUT2
   * LOUT3
+  * PDM1L
+  * PDM1R
+  * PDM2L
+  * PDM2R

I'd expect these to be just PDM1 and PDM2, assuming that that's what the pins are called in the chip datasheet.