All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mylène Josserand" <mylene.josserand@free-electrons.com>
To: vinod.koul@intel.com, maxime.ripard@free-electrons.com,
	wens@csie.org, mturquette@baylibre.com, sboyd@codeaurora.org,
	lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz,
	tiwai@suse.com, lee.jones@linaro.org, mark.rutland@arm.com,
	robh+dt@kernel.org
Cc: linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,
	alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
	linux-sunxi@googlegroups.com,
	thomas.petazzoni@free-electrons.com,
	mylene.josserand@free-electrons.com,
	alexandre.belloni@free-electrons.com
Subject: [PATCH 09/14] dt-bindings: sound: Add sun8i codec documentation
Date: Tue,  4 Oct 2016 11:46:22 +0200	[thread overview]
Message-ID: <a5b0bdc6b50dfcc2dc0145d00edd08fee3ce7764.1475571575.git.mylene.josserand@free-electrons.com> (raw)
In-Reply-To: <cover.1475569400.git.mylene.josserand@free-electrons.com>
In-Reply-To: <cover.1475571575.git.mylene.josserand@free-electrons.com>

Add the documentation for dt-binding of the digital audio codec driver
for sun8i SoC.

Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
---
 .../devicetree/bindings/sound/sun8i-codec.txt      | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/sun8i-codec.txt

diff --git a/Documentation/devicetree/bindings/sound/sun8i-codec.txt b/Documentation/devicetree/bindings/sound/sun8i-codec.txt
new file mode 100644
index 0000000..1808869
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/sun8i-codec.txt
@@ -0,0 +1,24 @@
+* Allwinner A23/A33 Codec
+
+Required properties:
+- compatible: must be either "allwinner,sun4i-a23-codec" or
+  "allwinner,sun7i-a33-codec"
+- reg: must contain the registers location and length
+- interrupts: must contain the codec interrupt
+- clocks: a list of phandle + clock-specifer pairs, one for each entry
+  in clock-names.
+- clock-names: should contain followings:
+   - "apb": the parent APB clock for this controller
+   - "codec": the parent module clock
+
+Example:
+codec: codec@01c22e00 {
+	#sound-dai-cells = <0>;
+	compatible = "allwinner,sun8i-a33-codec";
+	reg = <0x01c22e00 0x400>; /* SUNXI_AUDIO_PBASE + 0x200 */
+	reg-names = "audio";
+	interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+	clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
+	clock-names = "apb", "codec";
+	status = "disabled";
+};
-- 
2.9.3

WARNING: multiple messages have this Message-ID (diff)
From: "Mylène Josserand" <mylene.josserand-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org,
	wens-jdAy2FN1RRM@public.gmane.org,
	mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org,
	sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	perex-/Fr2/VpizcU@public.gmane.org,
	tiwai-IBi9RG/b67k@public.gmane.org,
	lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org,
	mylene.josserand-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org,
	alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org
Subject: [PATCH 09/14] dt-bindings: sound: Add sun8i codec documentation
Date: Tue,  4 Oct 2016 11:46:22 +0200	[thread overview]
Message-ID: <a5b0bdc6b50dfcc2dc0145d00edd08fee3ce7764.1475571575.git.mylene.josserand@free-electrons.com> (raw)
In-Reply-To: <cover.1475569400.git.mylene.josserand-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
In-Reply-To: <cover.1475571575.git.mylene.josserand-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>

Add the documentation for dt-binding of the digital audio codec driver
for sun8i SoC.

Signed-off-by: Mylène Josserand <mylene.josserand-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
---
 .../devicetree/bindings/sound/sun8i-codec.txt      | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/sun8i-codec.txt

diff --git a/Documentation/devicetree/bindings/sound/sun8i-codec.txt b/Documentation/devicetree/bindings/sound/sun8i-codec.txt
new file mode 100644
index 0000000..1808869
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/sun8i-codec.txt
@@ -0,0 +1,24 @@
+* Allwinner A23/A33 Codec
+
+Required properties:
+- compatible: must be either "allwinner,sun4i-a23-codec" or
+  "allwinner,sun7i-a33-codec"
+- reg: must contain the registers location and length
+- interrupts: must contain the codec interrupt
+- clocks: a list of phandle + clock-specifer pairs, one for each entry
+  in clock-names.
+- clock-names: should contain followings:
+   - "apb": the parent APB clock for this controller
+   - "codec": the parent module clock
+
+Example:
+codec: codec@01c22e00 {
+	#sound-dai-cells = <0>;
+	compatible = "allwinner,sun8i-a33-codec";
+	reg = <0x01c22e00 0x400>; /* SUNXI_AUDIO_PBASE + 0x200 */
+	reg-names = "audio";
+	interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+	clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
+	clock-names = "apb", "codec";
+	status = "disabled";
+};
-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: mylene.josserand@free-electrons.com (Mylène Josserand)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 09/14] dt-bindings: sound: Add sun8i codec documentation
Date: Tue,  4 Oct 2016 11:46:22 +0200	[thread overview]
Message-ID: <a5b0bdc6b50dfcc2dc0145d00edd08fee3ce7764.1475571575.git.mylene.josserand@free-electrons.com> (raw)
In-Reply-To: <cover.1475569400.git.mylene.josserand@free-electrons.com>

Add the documentation for dt-binding of the digital audio codec driver
for sun8i SoC.

Signed-off-by: Myl?ne Josserand <mylene.josserand@free-electrons.com>
---
 .../devicetree/bindings/sound/sun8i-codec.txt      | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/sun8i-codec.txt

diff --git a/Documentation/devicetree/bindings/sound/sun8i-codec.txt b/Documentation/devicetree/bindings/sound/sun8i-codec.txt
new file mode 100644
index 0000000..1808869
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/sun8i-codec.txt
@@ -0,0 +1,24 @@
+* Allwinner A23/A33 Codec
+
+Required properties:
+- compatible: must be either "allwinner,sun4i-a23-codec" or
+  "allwinner,sun7i-a33-codec"
+- reg: must contain the registers location and length
+- interrupts: must contain the codec interrupt
+- clocks: a list of phandle + clock-specifer pairs, one for each entry
+  in clock-names.
+- clock-names: should contain followings:
+   - "apb": the parent APB clock for this controller
+   - "codec": the parent module clock
+
+Example:
+codec: codec at 01c22e00 {
+	#sound-dai-cells = <0>;
+	compatible = "allwinner,sun8i-a33-codec";
+	reg = <0x01c22e00 0x400>; /* SUNXI_AUDIO_PBASE + 0x200 */
+	reg-names = "audio";
+	interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
+	clocks = <&ccu CLK_BUS_CODEC>, <&ccu CLK_AC_DIG>;
+	clock-names = "apb", "codec";
+	status = "disabled";
+};
-- 
2.9.3

  parent reply	other threads:[~2016-10-04  9:49 UTC|newest]

Thread overview: 170+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04  9:46 [PATCH 00/14] ASoc: sunxi: Add Allwinner A33 codec driver Mylène Josserand
2016-10-04  9:46 ` Mylène Josserand
     [not found] ` <cover.1475571575.git.mylene.josserand@free-electrons.com>
2016-10-04  9:46   ` [PATCH 01/14] dma: sun6i-dma: Add burst case of 4 Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04 10:40     ` Jean-Francois Moine
2016-10-04 10:40       ` Jean-Francois Moine
2016-10-04 10:40       ` Jean-Francois Moine
2016-10-04 12:12       ` Thomas Petazzoni
2016-10-04 12:12         ` Thomas Petazzoni
2016-10-04 12:12         ` Thomas Petazzoni
2016-10-04 12:12         ` Thomas Petazzoni
2016-10-04 13:46         ` Jean-Francois Moine
2016-10-04 13:46           ` Jean-Francois Moine
2016-10-04 13:46           ` Jean-Francois Moine
2016-10-04 13:46           ` Jean-Francois Moine
2016-10-04 15:40           ` Vinod Koul
2016-10-04 15:40             ` Vinod Koul
2016-10-04 15:40             ` Vinod Koul
2016-10-04 16:55       ` Maxime Ripard
2016-10-04 16:55         ` Maxime Ripard
2016-10-23 16:31         ` Jean-Francois Moine
2016-10-23 16:31           ` Jean-Francois Moine
2016-10-23 16:31           ` Jean-Francois Moine
2016-10-23 16:31           ` Jean-Francois Moine
2016-10-27 17:51           ` Maxime Ripard
2016-10-27 17:51             ` Maxime Ripard
2016-10-27 17:51             ` Maxime Ripard
2016-10-30  2:06             ` Chen-Yu Tsai
2016-10-30  2:06               ` Chen-Yu Tsai
2016-10-30  2:06               ` Chen-Yu Tsai
2016-10-30  2:06               ` Chen-Yu Tsai
2016-10-30  6:16               ` Jean-Francois Moine
2016-10-30  6:16                 ` Jean-Francois Moine
2016-10-30  6:16                 ` Jean-Francois Moine
2016-10-30  6:16                 ` Jean-Francois Moine
2016-11-01 13:46               ` Koul, Vinod
2016-11-01 13:46                 ` Koul, Vinod
2016-11-01 13:46                 ` Koul, Vinod
2016-11-01 13:46                 ` Koul, Vinod
2016-11-01 14:55                 ` Chen-Yu Tsai
2016-11-01 14:55                   ` Chen-Yu Tsai
2016-11-01 14:55                   ` Chen-Yu Tsai
2016-11-01 14:55                   ` Chen-Yu Tsai
2016-11-14  4:54                   ` Vinod Koul
2016-11-14  4:54                     ` Vinod Koul
2016-11-14  4:54                     ` Vinod Koul
2016-11-14  4:54                     ` Vinod Koul
2016-10-04  9:46   ` [PATCH 02/14] clk: ccu-sun8i-a33: Add CLK_SET_RATE_PARENT to ac-dig Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04 12:12     ` Thomas Petazzoni
2016-10-04 12:12       ` Thomas Petazzoni
2016-10-04 12:12       ` Thomas Petazzoni
2016-10-04 12:12       ` Thomas Petazzoni
2016-10-05  9:37       ` Mylene Josserand
2016-10-05  9:37         ` Mylene Josserand
2016-10-04  9:46   ` [PATCH 03/14] ASoC: sun4i-i2s: Add apb reset Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04 12:15     ` Thomas Petazzoni
2016-10-04 12:15       ` Thomas Petazzoni
2016-10-04 12:15       ` Thomas Petazzoni
2016-10-04 15:42       ` Maxime Ripard
2016-10-04 15:42         ` Maxime Ripard
2016-10-05  9:43         ` Mylene Josserand
2016-10-05  9:43           ` Mylene Josserand
2016-10-04 12:22     ` Code Kipper
2016-10-04 12:22       ` Code Kipper
2016-10-04 12:22       ` Code Kipper
2016-10-04  9:46   ` [PATCH 04/14] ASoC: Add sun8i analog codec driver Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04 10:21     ` Code Kipper
2016-10-04 10:21       ` Code Kipper
2016-10-04 10:21       ` Code Kipper
2016-10-04 10:21       ` Code Kipper
2016-10-04 10:56       ` Chen-Yu Tsai
2016-10-04 10:56         ` Chen-Yu Tsai
2016-10-04 10:56         ` Chen-Yu Tsai
2016-10-04 10:56         ` Chen-Yu Tsai
2016-10-04  9:46   ` [PATCH 05/14] mfd: sun6i-prcm: Add sun8i analog codec as subnode Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04 10:52     ` Jean-Francois Moine
2016-10-04 10:52       ` Jean-Francois Moine
2016-10-04 10:52       ` Jean-Francois Moine
2016-10-26 14:05     ` Lee Jones
2016-10-26 14:05       ` Lee Jones
2016-10-26 14:05       ` Lee Jones
2016-10-04  9:46   ` [PATCH 06/14] ASoC: Add sun8i digital audio codec Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04 12:40     ` Thomas Petazzoni
2016-10-04 12:40       ` Thomas Petazzoni
2016-10-04 12:40       ` Thomas Petazzoni
2016-10-04 13:07       ` Mark Brown
2016-10-04 13:07         ` Mark Brown
2016-10-04 13:07         ` Mark Brown
2016-10-04 13:16         ` Thomas Petazzoni
2016-10-04 13:16           ` Thomas Petazzoni
2016-10-04 16:09       ` Maxime Ripard
2016-10-04 16:09         ` Maxime Ripard
2016-10-04 16:09         ` Maxime Ripard
2016-10-05 11:54       ` Mylene Josserand
2016-10-05 11:54         ` Mylene Josserand
2016-10-04 16:15     ` Maxime Ripard
2016-10-04 16:15       ` Maxime Ripard
2016-10-06 16:06       ` Icenowy Zheng
2016-10-06 16:06         ` Icenowy Zheng
2016-10-06 16:06         ` Icenowy Zheng
2016-10-06 18:23         ` Alexandre Belloni
2016-10-06 18:23           ` Alexandre Belloni
2016-10-06 18:23           ` Alexandre Belloni
     [not found]     ` <85cbd9926e52d0aa03f6bbfd8794373d8db491e0.1475571575.git.mylene.josserand-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2016-10-05 10:19       ` Icenowy Zheng
2016-10-05 10:19         ` Icenowy Zheng
2016-10-05 10:19         ` Icenowy Zheng
2016-10-04  9:46   ` [PATCH 07/14] ASoC: Add sun8i audio card Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04 10:16     ` Code Kipper
2016-10-04 10:16       ` Code Kipper
2016-10-04 10:16       ` Code Kipper
2016-10-04 10:16       ` Code Kipper
2016-10-04 10:59       ` Chen-Yu Tsai
2016-10-04 10:59         ` Chen-Yu Tsai
2016-10-04 10:59         ` Chen-Yu Tsai
2016-10-04 10:59         ` Chen-Yu Tsai
2016-10-04 12:25     ` Thomas Petazzoni
2016-10-04 12:25       ` Thomas Petazzoni
2016-10-04 12:25       ` Thomas Petazzoni
2016-10-05  6:04     ` Code Kipper
2016-10-05  6:04       ` Code Kipper
2016-10-05  6:04       ` Code Kipper
2016-10-05  6:04       ` Code Kipper
2016-10-05 10:03       ` Jean-Francois Moine
2016-10-05 10:03         ` Jean-Francois Moine
2016-10-05 10:03         ` Jean-Francois Moine
2016-10-05 10:03         ` Jean-Francois Moine
2016-10-04  9:46   ` [PATCH 08/14] dt-bindings: sound: Add sun8i analog codec documentation Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04 10:32     ` Mark Brown
2016-10-04 10:32       ` Mark Brown
2016-10-04 10:32       ` Mark Brown
2016-10-04 16:24     ` Maxime Ripard
2016-10-04 16:24       ` Maxime Ripard
2016-10-04 16:24       ` Maxime Ripard
2016-10-05  2:59       ` Chen-Yu Tsai
2016-10-05  2:59         ` Chen-Yu Tsai
2016-10-05  2:59         ` Chen-Yu Tsai
2016-10-05  2:59         ` Chen-Yu Tsai
2016-10-05 12:08         ` Mylene Josserand
2016-10-05 12:08           ` Mylene Josserand
2016-10-05 12:08           ` Mylene Josserand
2016-10-04  9:46   ` Mylène Josserand [this message]
2016-10-04  9:46     ` [PATCH 09/14] dt-bindings: sound: Add sun8i " Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04 16:19     ` Maxime Ripard
2016-10-04 16:19       ` Maxime Ripard
2016-10-04  9:46   ` [PATCH 10/14] dt-bindings: sound: Add sun8i audio card documentation Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04 16:32     ` Maxime Ripard
2016-10-04 16:32       ` Maxime Ripard
2016-10-04 16:32       ` Maxime Ripard
2016-10-04  9:46   ` [PATCH 11/14] ARM: dts: sun8i: Add analog codec on prcm node Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04  9:46   ` [PATCH 12/14] ARM: dts: sun8i: Add audio codec, dai and card for A33 Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04  9:46   ` [PATCH 13/14] ARM: dts: sun8i: parrot: Enable audio nodes Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
2016-10-04  9:46   ` [PATCH 14/14] ARM: dts: sun8i: sinlinx: " Mylène Josserand
2016-10-04  9:46     ` Mylène Josserand
     [not found] ` <cover.1475569400.git.mylene.josserand-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2016-10-07  8:35   ` [PATCH 00/14] ASoc: sunxi: Add Allwinner A33 codec driver Icenowy Zheng
2016-10-07  8:35     ` Icenowy Zheng
2016-10-07  8:35     ` Icenowy Zheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5b0bdc6b50dfcc2dc0145d00edd08fee3ce7764.1475571575.git.mylene.josserand@free-electrons.com \
    --to=mylene.josserand@free-electrons.com \
    --cc=alexandre.belloni@free-electrons.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=mturquette@baylibre.com \
    --cc=perex@perex.cz \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=thomas.petazzoni@free-electrons.com \
    --cc=tiwai@suse.com \
    --cc=vinod.koul@intel.com \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.