Skip to contentSkip to conversation

ASoC: dt: Move ALC5632 pin list from Tegra board binding to CODEC binding

PATCH In review Mark Brown 2 participants 4 messages Aug 11, 2013 – Aug 12, 2013 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/3 ASoC: dt: Move ALC5632 pin list from Tegra board binding to CODEC binding

From: Mark Brown <[email protected]>

The pin list is the same for any board using the CODEC.

---
 .../devicetree/bindings/sound/alc5632.txt          | 20 ++++++++++++++++++
 .../bindings/sound/nvidia,tegra-audio-alc5632.txt  | 24 ++--------------------
 2 files changed, 22 insertions(+), 22 deletions(-)
Documentation/devicetree/bindings/sound/alc5632.txt +20 -0
index 8608f74..b913b74 100644
@@ -13,6 +13,26 @@ Required properties:
   - #gpio-cells : Should be two. The first cell is the pin number and the
     second cell is used to specify optional parameters (currently unused).
 
+Pins on the device (for linking into audio routes):
+
+  * SPK_OUTP
+  * SPK_OUTN
+  * HP_OUT_L
+  * HP_OUT_R
+  * AUX_OUT_P
+  * AUX_OUT_N
+  * LINE_IN_L
+  * LINE_IN_R
+  * PHONE_P
+  * PHONE_N
+  * MIC1_P
+  * MIC1_N
+  * MIC2_P
+  * MIC2_N
+  * MICBIAS1
+  * DMICDAT
+
+
 Example:
 
 alc5632: alc5632@1e {
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt +2 -22
index 05ffecb..8b8903e 100644
@@ -11,28 +11,8 @@ Required properties:
 - nvidia,audio-routing : A list of the connections between audio components.
   Each entry is a pair of strings, the first being the connection's sink,
   the second being the connection's source. Valid names for sources and
-  sinks are the ALC5632's pins:
-
-  ALC5632 pins:
-
-  * SPK_OUTP
-  * SPK_OUTN
-  * HP_OUT_L
-  * HP_OUT_R
-  * AUX_OUT_P
-  * AUX_OUT_N
-  * LINE_IN_L
-  * LINE_IN_R
-  * PHONE_P
-  * PHONE_N
-  * MIC1_P
-  * MIC1_N
-  * MIC2_P
-  * MIC2_N
-  * MICBIAS1
-  * DMICDAT
-
-  Board connectors:
+  sinks are the ALC5632's pins as documented in the binding for the device
+  and:
 
   * Headset Stereophone
   * Int Spk
Signature · 1 line
1.8.4.rc1

A message that is not in the archive (sent off-list or not yet received): 1376244161-24206-1-git-send-email-broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org

author
#2 lore raw

PATCH 2/3 ASoC: dt: Move RT5640 pin list from Tegra board binding to CODEC binding

From: Mark Brown <[email protected]>

The pin list is the same for any board using the CODEC.

---
 .../bindings/sound/nvidia,tegra-audio-rt5640.txt   | 25 ++--------------------
 Documentation/devicetree/bindings/sound/rt5640.txt | 20 +++++++++++++++++
 2 files changed, 22 insertions(+), 23 deletions(-)
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-rt5640.txt +2 -23
index d130818..cba4f88 100644
@@ -11,29 +11,8 @@ Required properties:
 - nvidia,audio-routing : A list of the connections between audio components.
   Each entry is a pair of strings, the first being the connection's sink,
   the second being the connection's source. Valid names for sources and
-  sinks are the RT5640's pins, and the jacks on the board:
-
-  RT5640 pins:
-
-  * DMIC1
-  * DMIC2
-  * MICBIAS1
-  * IN1P
-  * IN1R
-  * IN2P
-  * IN2R
-  * HPOL
-  * HPOR
-  * LOUTL
-  * LOUTR
-  * MONOP
-  * MONON
-  * SPOLP
-  * SPOLN
-  * SPORP
-  * SPORN
-
-  Board connectors:
+  sinks are the RT5640's pins (as documented in its binding), and the jacks
+  on the board:
 
   * Headphones
   * Speakers
Documentation/devicetree/bindings/sound/rt5640.txt +20 -0
index 005bcb2..068a114 100644
@@ -18,6 +18,26 @@ Optional properties:
 
 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
 
+Pins on the device (for linking into audio routes):
+
+  * DMIC1
+  * DMIC2
+  * MICBIAS1
+  * IN1P
+  * IN1R
+  * IN2P
+  * IN2R
+  * HPOL
+  * HPOR
+  * LOUTL
+  * LOUTR
+  * MONOP
+  * MONON
+  * SPOLP
+  * SPOLN
+  * SPORP
+  * SPORN
+
 Example:
 
 rt5640 {
Signature · 1 line
1.8.4.rc1
author
#3 lore raw

PATCH 3/3 ASoC: dt: Move WM8753 pin list from Tegra board binding to CODEC binding

In reply to a message not in the archive

From: Mark Brown <[email protected]>

The pin list is the same for any board using the CODEC.

---
 .../bindings/sound/nvidia,tegra-audio-wm8753.txt   | 27 ++--------------------
 Documentation/devicetree/bindings/sound/wm8753.txt | 22 ++++++++++++++++++
 2 files changed, 24 insertions(+), 25 deletions(-)
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt +2 -25
index d145106..aab6ce0 100644
@@ -11,31 +11,8 @@ Required properties:
 - nvidia,audio-routing : A list of the connections between audio components.
   Each entry is a pair of strings, the first being the connection's sink,
   the second being the connection's source. Valid names for sources and
-  sinks are the WM8753's pins, and the jacks on the board:
-
-  WM8753 pins:
-
-  * LOUT1
-  * LOUT2
-  * ROUT1
-  * ROUT2
-  * MONO1
-  * MONO2
-  * OUT3
-  * OUT4
-  * LINE1
-  * LINE2
-  * RXP
-  * RXN
-  * ACIN
-  * ACOP
-  * MIC1N
-  * MIC1
-  * MIC2N
-  * MIC2
-  * Mic Bias
-
-  Board connectors:
+  sinks are the WM8753's pins as documented in the binding for the WM8753,
+  and the jacks on the board:
 
   * Headphone Jack
   * Mic Jack
Documentation/devicetree/bindings/sound/wm8753.txt +22 -0
index 5dbcde0..8eee612 100644
@@ -10,6 +10,28 @@ Required properties:
   - reg : the I2C address of the device for I2C, the chip select
           number for SPI.
 
+Pins on the device (for linking into audio routes):
+
+  * LOUT1
+  * LOUT2
+  * ROUT1
+  * ROUT2
+  * MONO1
+  * MONO2
+  * OUT3
+  * OUT4
+  * LINE1
+  * LINE2
+  * RXP
+  * RXN
+  * ACIN
+  * ACOP
+  * MIC1N
+  * MIC1
+  * MIC2N
+  * MIC2
+  * Mic Bias
+
 Example:
 
 codec: wm8753@1a {
Signature · 1 line
1.8.4.rc1