From patchwork Tue Jan 29 08:04:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10785653 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D22F51390 for ; Tue, 29 Jan 2019 08:06:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C41502A6E2 for ; Tue, 29 Jan 2019 08:06:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B81892A6F4; Tue, 29 Jan 2019 08:06:10 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 143362A6E2 for ; Tue, 29 Jan 2019 08:06:10 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D0ABF26751A; Tue, 29 Jan 2019 09:06:05 +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 1B0DE2674F2; Tue, 29 Jan 2019 09:06:01 +0100 (CET) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by alsa0.perex.cz (Postfix) with ESMTP id 98B0E26749A for ; Tue, 29 Jan 2019 09:05:59 +0100 (CET) Received: by mail-pf1-f195.google.com with SMTP id b7so9303798pfi.8 for ; Tue, 29 Jan 2019 00:05:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=fUSQT/ebFnVlbQY+g/k8cRO6IWadUFBMzhAc1bfyjqU=; b=gYacp5f50nYzokMJ58Yy8CH6UbUPnyXJnbMJSaCBupTB5KvIOiV9ijjNyhxubuWc6h h+GkgTo1D9T8fWF/oo+bf4Oi94dWc/a9nqz+6IaWCW34D5wlvqRsm9db68pOhwGueM2d 0xj7B9jzxQNuGbPoCyuLlVdXmsEa+JbDYH5Ow= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=fUSQT/ebFnVlbQY+g/k8cRO6IWadUFBMzhAc1bfyjqU=; b=e4W+fqvYXHIXX+rd3Swc+5Y2thVf4AxOVUWGwYM89CjPjiajMFurmzcsO9FfG/bga4 3s53L+GIAu+O4dsyFDSHdese4ENGnZ6+Yx7uqO9OLiQWeGmKB+d0djaKILfochQQB7Tv 4Xyahzv1AJuCj5fdZK+ca5h6pf/hLAWwZ+2nS6VheTiqH+2STwKHA/PoXtXTR2mNllfH dDFzWWkRKYoG8KwMbj27SqHyxg9YGewnQRNIdwZhhJ/ZYFJwk7lqkmTkpnHuOWY9Kfr1 /dSEw5XH/wiZVPHmYb2DLy5i6osZHas6/VS83bNc9JfdAmMcxYyfIMK2HRSRm0SfTMKS lCdg== X-Gm-Message-State: AJcUukdQs2uBF6THetTORJk1mkpVytye8A34GATSAjBbGwNGsHXPhbeV roDrsG3LiWDODSEVbaeMTeOneXAeVUeQVw== X-Google-Smtp-Source: ALg8bN45eaqt5wvkB7fLk/XqbIU79AdW2qLri0c9stVIntH18jtvRUl6pzdB4XB8UPbjDflbfL1K3g== X-Received: by 2002:a62:3541:: with SMTP id c62mr25000021pfa.19.1548749158127; Tue, 29 Jan 2019 00:05:58 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id v14sm40926177pgf.3.2019.01.29.00.05.54 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Jan 2019 00:05:57 -0800 (PST) From: Baolin Wang To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, perex@perex.cz, tiwai@suse.com Date: Tue, 29 Jan 2019 16:04:44 +0800 Message-Id: <15c562bcfd488fbf1979a69f96ddbd8df57f7e69.1548747137.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, baolin.wang@linaro.org Subject: [alsa-devel] [PATCH 1/2] dt-bindings: ASoC: Add Spreadtrum DMA platform documentation 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 Spreadtrum DMA platform driver. Signed-off-by: Baolin Wang --- .../devicetree/bindings/sound/sprd-pcm.txt | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/sprd-pcm.txt diff --git a/Documentation/devicetree/bindings/sound/sprd-pcm.txt b/Documentation/devicetree/bindings/sound/sprd-pcm.txt new file mode 100644 index 0000000..4b23e84 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/sprd-pcm.txt @@ -0,0 +1,23 @@ +* Spreadtrum DMA platfrom bindings + +Required properties: +- compatible: Should be "sprd,pcm-platform". +- dmas: Specify the list of DMA controller phandle and DMA request line ordered pairs. +- dma-names: Identifier string for each DMA request line in the dmas property. + These strings correspond 1:1 with the ordered pairs in dmas. + +Example: + + audio_platform:platform@0 { + compatible = "sprd,pcm-platform"; + dmas = <&agcp_dma 1 1>, <&agcp_dma 2 2>, + <&agcp_dma 3 3>, <&agcp_dma 4 4>, + <&agcp_dma 5 5>, <&agcp_dma 6 6>, + <&agcp_dma 7 7>, <&agcp_dma 8 8>, + <&agcp_dma 9 9>, <&agcp_dma 10 10>; + dma-names = "normal_p_l", "normal_p_r", + "normal_c_l", "normal_c_r", + "voice_c", "fast_p", + "loop_c", "loop_p", + "voip_c", "voip_p"; + };