From patchwork Sun Mar 12 06:38:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Zoran X-Patchwork-Id: 9619245 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 76DEC604CC for ; Sun, 12 Mar 2017 06:38:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 663F3285A0 for ; Sun, 12 Mar 2017 06:38:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 58D7C285A9; Sun, 12 Mar 2017 06:38:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE44B285A0 for ; Sun, 12 Mar 2017 06:38:47 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 52095266A0C; Sun, 12 Mar 2017 07:38:43 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id B8007266A0C; Sun, 12 Mar 2017 07:38:41 +0100 (CET) Received: from gw.crowfest.net (gw.crowfest.net [52.42.241.221]) by alsa0.perex.cz (Postfix) with ESMTP id 5ED992669D8 for ; Sun, 12 Mar 2017 07:38:36 +0100 (CET) Received: from mail.crowfest.net (unknown [192.168.1.2]) by gw.crowfest.net (Postfix) with ESMTP id 71C296014C; Sat, 11 Mar 2017 22:38:31 -0800 (PST) Received: from debian-quad-i7.crowfest.net (unknown [192.168.1.100]) by mail.crowfest.net (Postfix) with ESMTP id 2D2512602D5; Sat, 11 Mar 2017 22:38:35 -0800 (PST) From: Michael Zoran To: perex@perex.cz, tiwai@suse.com, robh+dt@kernel.org, mark.rutland@arm.co, eric@anholt.net, stefan.wahren@i2se.com, alsa-devel@alsa-project.org, linux-rpi-kernel@lists.infradead.org, devicetree@vger.kernel.org Date: Sat, 11 Mar 2017 22:38:17 -0800 Message-Id: <20170312063820.19313-1-mzoran@crowfest.net> X-Mailer: git-send-email 2.11.0 Cc: Michael Zoran Subject: [alsa-devel] [PATCH 1/4] dt-bindings: Document the dmas and dma-names properties for bcm2835-analog-audio X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation for the DMA properties required when using the PWM controller of the bcm2835 for analog audio output. Signed-off-by: Michael Zoran --- Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt b/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt index cf573e85b11d..08fc06fc083a 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt @@ -1,14 +1,21 @@ BCM2835 PWM controller (Raspberry Pi controller) Required properties: -- compatible: should be "brcm,bcm2835-pwm" +- compatible: should be "brcm,bcm2835-pwm" or "brcm,bcm2835-analog-audio" - reg: physical base address and length of the controller's registers - clocks: This clock defines the base clock frequency of the PWM hardware system, the period and the duty_cycle of the PWM signal is a multiple of the base period. + +Required properties(PWM Output): - #pwm-cells: Should be 2. See pwm.txt in this directory for a description of the cells format. +Required properties(Audio Output): +- dmas: Should contain one entry pointing to the DMA channel used to + transfer audio data +- dma-names: Should contain "tx" + Examples: pwm@2020c000 {