Skip to contentSkip to conversation

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

PATCH In review Mark Brown 3 participants 3 messages Aug 7, 2013 – Aug 8, 2013

Subsystems (4)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 ASoC: dt: Move WM8903 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-wm8903.txt   | 24 ++--------------------
 Documentation/devicetree/bindings/sound/wm8903.txt | 19 +++++++++++++++++
 2 files changed, 21 insertions(+), 22 deletions(-)
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt +2 -22
index 3bf722d..4b44dfb 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 WM8903's pins, and the jacks on the board:
-
-  WM8903 pins:
-
-  * IN1L
-  * IN1R
-  * IN2L
-  * IN2R
-  * IN3L
-  * IN3R
-  * DMICDAT
-  * HPOUTL
-  * HPOUTR
-  * LINEOUTL
-  * LINEOUTR
-  * LOP
-  * LON
-  * ROP
-  * RON
-  * MICBIAS
-
-  Board connectors:
+  sinks are the WM8903's pins (documented in the WM8903 binding document),
+  and the jacks on the board:
 
   * Headphone Jack
   * Int Spk
Documentation/devicetree/bindings/sound/wm8903.txt +19 -0
index f102cbc..94ec32c 100644
@@ -28,6 +28,25 @@ Optional properties:
     performed. If any entry has the value 0xffffffff, that GPIO's
     configuration will not be modified.
 
+Pins on the device (for linking into audio routes):
+
+  * IN1L
+  * IN1R
+  * IN2L
+  * IN2R
+  * IN3L
+  * IN3R
+  * DMICDAT
+  * HPOUTL
+  * HPOUTR
+  * LINEOUTL
+  * LINEOUTR
+  * LOP
+  * LON
+  * ROP
+  * RON
+  * MICBIAS
+
 Example:
 
 codec: wm8903@1a {
Signature · 1 line
1.8.4.rc1
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Mark Brown

From: Mark Brown <[email protected]>

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

(CC'ing the other DT binding maintainers)

Quoted 73 lines
---
 .../bindings/sound/nvidia,tegra-audio-wm8903.txt   | 24 ++--------------------
 Documentation/devicetree/bindings/sound/wm8903.txt | 19 +++++++++++++++++
 2 files changed, 21 insertions(+), 22 deletions(-)
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt +2 -22
index 3bf722d..4b44dfb 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 WM8903's pins, and the jacks on the board:
-
-  WM8903 pins:
-
-  * IN1L
-  * IN1R
-  * IN2L
-  * IN2R
-  * IN3L
-  * IN3R
-  * DMICDAT
-  * HPOUTL
-  * HPOUTR
-  * LINEOUTL
-  * LINEOUTR
-  * LOP
-  * LON
-  * ROP
-  * RON
-  * MICBIAS
-
-  Board connectors:
+  sinks are the WM8903's pins (documented in the WM8903 binding document),
+  and the jacks on the board:
 
   * Headphone Jack
   * Int Spk
Documentation/devicetree/bindings/sound/wm8903.txt +19 -0
index f102cbc..94ec32c 100644
@@ -28,6 +28,25 @@ Optional properties:
     performed. If any entry has the value 0xffffffff, that GPIO's
     configuration will not be modified.
 
+Pins on the device (for linking into audio routes):
+
+  * IN1L
+  * IN1R
+  * IN2L
+  * IN2R
+  * IN3L
+  * IN3R
+  * DMICDAT
+  * HPOUTL
+  * HPOUTR
+  * LINEOUTL
+  * LINEOUTR
+  * LOP
+  * LON
+  * ROP
+  * RON
+  * MICBIAS
+
 Example:
 
 codec: wm8903@1a {
Acked-by
#2 lore raw
Quoted 8 lines · Stephen Warren
Quoted 3 lines · Mark Brown

From: Mark Brown <[email protected]>

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

(CC'ing the other DT binding maintainers)

Fine by me also.

Quoted 76 lines
Quoted 74 lines
---
 .../bindings/sound/nvidia,tegra-audio-wm8903.txt   | 24 ++--------------------
 Documentation/devicetree/bindings/sound/wm8903.txt | 19 +++++++++++++++++
 2 files changed, 21 insertions(+), 22 deletions(-)
Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt +2 -22
index 3bf722d..4b44dfb 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 WM8903's pins, and the jacks on the board:
-
-  WM8903 pins:
-
-  * IN1L
-  * IN1R
-  * IN2L
-  * IN2R
-  * IN3L
-  * IN3R
-  * DMICDAT
-  * HPOUTL
-  * HPOUTR
-  * LINEOUTL
-  * LINEOUTR
-  * LOP
-  * LON
-  * ROP
-  * RON
-  * MICBIAS
-
-  Board connectors:
+  sinks are the WM8903's pins (documented in the WM8903 binding document),
+  and the jacks on the board:
 
   * Headphone Jack
   * Int Spk
Documentation/devicetree/bindings/sound/wm8903.txt +19 -0
index f102cbc..94ec32c 100644
@@ -28,6 +28,25 @@ Optional properties:
     performed. If any entry has the value 0xffffffff, that GPIO's
     configuration will not be modified.
 
+Pins on the device (for linking into audio routes):
+
+  * IN1L
+  * IN1R
+  * IN2L
+  * IN2R
+  * IN3L
+  * IN3R
+  * DMICDAT
+  * HPOUTL
+  * HPOUTR
+  * LINEOUTL
+  * LINEOUTR
+  * LOP
+  * LON
+  * ROP
+  * RON
+  * MICBIAS
+
 Example:
 
 codec: wm8903@1a {