Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754076AbcJDJsL (ORCPT ); Tue, 4 Oct 2016 05:48:11 -0400 Received: from down.free-electrons.com ([37.187.137.238]:53851 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753920AbcJDJsH (ORCPT ); Tue, 4 Oct 2016 05:48:07 -0400 From: =?UTF-8?q?Myl=C3=A8ne=20Josserand?= 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 10/14] dt-bindings: sound: Add sun8i audio card documentation Date: Tue, 4 Oct 2016 11:46:23 +0200 Message-Id: X-Mailer: git-send-email 2.9.3 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1116 Lines: 34 Add the documentation for dt-binding of the audio card driver for sun8i SoC. Signed-off-by: Mylène Josserand --- Documentation/devicetree/bindings/sound/sun8i-audio.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/sun8i-audio.txt diff --git a/Documentation/devicetree/bindings/sound/sun8i-audio.txt b/Documentation/devicetree/bindings/sound/sun8i-audio.txt new file mode 100644 index 0000000..2403983 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/sun8i-audio.txt @@ -0,0 +1,17 @@ +* Allwinner A23/A33 audio card + +This binding implements the A33 audio card. + +Required properties: +- compatible: must be "allwinner,sun8i-audio" +- allwinner,audio-codec: must have the phandle of the audio codec + ("sun8i-a33-codec", for example). +- allwinner,i2s-controller: must have the phandle of the DAI + ("allwinner,sun4i-a10-i2s", for example) + +Example: +sound { + compatible = "allwinner,sun8i-audio"; + allwinner,audio-codec = <&codec>; + allwinner,i2s-controller = <&dai>; +}; -- 2.9.3