Re: [PATCH V3 1/2] doc: dt bindings: Document Odroid X2/U3 audio subsystem bindings

2014-07-09 Thread Mark Brown
On Fri, Jul 04, 2014 at 03:13:44PM +0200, Sylwester Nawrocki wrote:
> Signed-off-by: Sylwester Nawrocki 

Applied both, thanks.  Please use subject lines consistent with the
subsystem style.


signature.asc
Description: Digital signature


[PATCH V3 1/2] doc: dt bindings: Document Odroid X2/U3 audio subsystem bindings

2014-07-04 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki 
---
Changes since v2:
 - none.
---
 .../bindings/sound/samsung,odroidx2-max98090.txt   |   35 
 1 file changed, 35 insertions(+)
 create mode 100644 
Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt

diff --git 
a/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt 
b/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt
new file mode 100644
index 000..9148f72
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt
@@ -0,0 +1,35 @@
+Samsung Exynos Odroid X2/U3 audio complex with MAX98090 codec
+
+Required properties:
+ - compatible : "samsung,odroidx2-audio" - for Odroid X2 board,
+   "samsung,odroidu3-audio" - for Odroid U3 board
+ - samsung,model : the user-visible name of this sound complex
+ - samsung,i2s-controller : the phandle of the I2S controller
+ - samsung,audio-codec : the phandle of the MAX98090 audio codec
+ - samsung,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 MAX98090's pins (as
+   documented in its binding), and the jacks on the board
+   For Odroid X2:
+ * Headphone Jack
+ * Mic Jack
+ * DMIC
+
+   For Odroid U3:
+ * Headphone Jack
+ * Speakers
+
+Example:
+
+sound {
+   compatible = "samsung,odroidu3-audio";
+   samsung,i2s-controller = <&i2s0>;
+   samsung,audio-codec = <&max98090>;
+   samsung,model = "Odroid-X2";
+   samsung,audio-routing =
+   "Headphone Jack", "HPL",
+   "Headphone Jack", "HPR",
+   "IN1", "Mic Jack",
+   "Mic Jack", "MICBIAS";
+};
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html