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: 156946 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4366065jaa; Tue, 29 Jan 2019 00:05:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN4TXO4ZI/cl4mHJ6J+5ITPfswc7Zk5cTrG5+TmI/N7bK4jMZ928U9/Z9SXBa6JBOIVZ8ydK X-Received: by 2002:a17:902:e290:: with SMTP id cf16mr25575767plb.81.1548749159809; Tue, 29 Jan 2019 00:05:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548749159; cv=none; d=google.com; s=arc-20160816; b=xowX4VdI7GA4MnSfhbZPaC76iCMP/A1/OuW7X99BmNW3nPQZufoKgZnuPcqlB8CHF5 O8d8M56Wa4gHp2iW01uqDsNRQWCehG3Gi6rinrSY93qHOhxhGLxigqHLoHjhxc+w+qfb 6okJbmTubp47y8CxX35sdKEXBD9DgzmQzaRjzVgB6YQj2Cg5rsKy7Gwuyj8g36sqYeV5 tPLtw6PBc06JSCXEhNavVjW0k2TxYWb7T03/emj62PSdqZc+S91jER4Ps7W/Abz9NOMS I25+OBFhV+dvkaiXihcNuLXYcSm1++PxsSIbqC2OVLeGpvOjAi28JunuFNf2tD7+Grba 9vHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=fUSQT/ebFnVlbQY+g/k8cRO6IWadUFBMzhAc1bfyjqU=; b=0iMN0kO6g8xZ9Ym1OuBvBUaUdkf53ZqYvsRHn3ZYo8U2XDzY3fEcTzDm4Ue5PfgEm4 f6pVVzKryrwX+Hs2xVmZ34BhlayYo3P0b2ER/iM10d23Ehz49ty8YfNeWDblYQxDZ1+9 PlpUU/267JgjLm2G4FOLzB7G/fakiMkVt1VLBWCJErSD20m2/Vxux+WMZEItSoklCzXU eg/PIbMlZ/quMdsbhZcWkGK6VvHatGfVYXTTCzRXhYUI7ORR2Wn0amACknEXzzMpmds9 LrpNu+IIjuhx+2P/FhrCbdXTMaRm8f+q5Nun0d12QDUpyq35q2hSkevy3zscui0HNXGp 3BoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gYacp5f5; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c24si4305863pgk.269.2019.01.29.00.05.59; Tue, 29 Jan 2019 00:05:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gYacp5f5; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725764AbfA2IF7 (ORCPT + 7 others); Tue, 29 Jan 2019 03:05:59 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:39640 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725355AbfA2IF6 (ORCPT ); Tue, 29 Jan 2019 03:05:58 -0500 Received: by mail-pf1-f195.google.com with SMTP id r136so9314216pfc.6 for ; Tue, 29 Jan 2019 00:05:58 -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=Kzh1LxFmFhmFtfhojpSaKmIJkZnkP9uRH7nYqf1ujSEGVdJVwXHskJ4iJyWwXBBSr5 F6M3C6tZZi3+5osN6xEpXGXICU6swPOHYF9OXufZPGv0cnpWifBYojQVyU8ru8RnkaIe Ug88KRK5LuFO7t1wpYZBXVgjBPRFrDmutVaGebkfQnX0JQ26vles/JTgF45Jvhf2iSBC dm4mc3fj5W2PiZadJLHsav2gm9UPiX1T2VKauosO5kKcDAR+Rzf/2kXZ8AwuG44vkMbR HIl/OFypZ0AeCyK9SCcGFvX8ZmDPV7f+NfEf72HtlMjVH2ps80ko19uCZOXmZHGNq2BI 87hg== X-Gm-Message-State: AJcUukfahOhAfExeIf30WoufzqyZWSWHiyQNLXHgMNfyLJiae15+ANQZ g1fmSMbbQVuVAw9YTqnocMNclA== 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 Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, baolin.wang@linaro.org Subject: [PATCH 1/2] dt-bindings: ASoC: Add Spreadtrum DMA platform documentation 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 1.7.9.5 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"; + };