From patchwork Sat Mar 10 02:24:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10272927 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 2722260594 for ; Sat, 10 Mar 2018 02:28:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1600E29E54 for ; Sat, 10 Mar 2018 02:28:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B0BD29E6B; Sat, 10 Mar 2018 02:28:45 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=no 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 6901E29E54 for ; Sat, 10 Mar 2018 02:28:44 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 20688267669; Sat, 10 Mar 2018 03:28:09 +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 8E596267661; Sat, 10 Mar 2018 03:27:51 +0100 (CET) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by alsa0.perex.cz (Postfix) with ESMTP id 6BF9D267657 for ; Sat, 10 Mar 2018 03:27:49 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id z81so7040818wmb.4 for ; Fri, 09 Mar 2018 18:27:49 -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:in-reply-to:references; bh=WlxlyTkOLwLXRt8sB2I1xqKKd2j4V9/sY8qBIz9W4yU=; b=e2RuYP9cfIS/JPtknxrrX5rxfNq5uT89m799QFW0/oz6YYu8ZIdjTmV1aj418TN02v n86ns2yxH0bohgfsHUcNT4cl7ymgjF4XJq0Sj4rkkjKh2mk7a2uPIHBn/dIAxfW5JZ+2 Bg8PRWr2RYyGzjj77dhCdMf/9OJ2BDWBjZhPA= 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:in-reply-to :references; bh=WlxlyTkOLwLXRt8sB2I1xqKKd2j4V9/sY8qBIz9W4yU=; b=g29hS9lRlLXHXSPphIJKyA2FV7Fxvpp2cjedNVB4sKI+GaL5wA8zrf5se4iYt5ZL4I IENBxxyzv9pXKSM6zdpvNgFQBwQlAzJ1Sz7dBHi8IdbHWoLAWAENwOKsupegYugFjUP/ mf1iI+fnxl8cb/D+jZziShNym3zDDFHYdR0pOMYUW9/2f5Bhl9hWAJAL4J9p+IwxrkYC xYf85wDU9NQDSSSi/QusOXXI+64pX1Kl6x496SAH26y9GpC30WqjSrivZVGIgCB0WUWf QtL9vSvwtxe9QWFKqh05QNcM92lBE6cPqoUp56Wsf2BdXrpef9/psGsc7aiM1rYIXQFJ JqCA== X-Gm-Message-State: AElRT7HZMAIjGcnufiU9hahL93UqEltiD3n1zUjLbZb8yQyHNknHRoi/ P2scSwXTyw7Gbv9gA9pqtSbmbA== X-Google-Smtp-Source: AG47ELuEiv61prFlIlvaqFOg9EjkZwW55Gm1AVQ/7Funz83esLov0PaySf9Omc099FpkbeZHPduZ1Q== X-Received: by 10.28.160.9 with SMTP id j9mr53717wme.103.1520648868689; Fri, 09 Mar 2018 18:27:48 -0800 (PST) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id g78sm21489wmc.31.2018.03.09.18.27.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 18:27:48 -0800 (PST) From: srinivas.kandagatla@linaro.org To: andy.gross@linaro.org, broonie@kernel.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, robh+dt@kernel.org Date: Sat, 10 Mar 2018 02:24:37 +0000 Message-Id: <20180310022456.26739-6-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180310022456.26739-1-srinivas.kandagatla@linaro.org> References: <20180310022456.26739-1-srinivas.kandagatla@linaro.org> Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, bgoswami@codeaurora.org, rohkumar@qti.qualcomm.com, gregkh@linuxfoundation.org, plai@codeaurora.org, lgirdwood@gmail.com, tiwai@suse.com, david.brown@linaro.org, srinivas.kandagatla@linaro.org, linux-arm-kernel@lists.infradead.org, spatakok@qti.qualcomm.com, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v4 05/24] ASoC: qdsp6: dt-bindings: Add q6adm dt bindings 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 From: Srinivas Kandagatla This patch add DT bindings for ADM (Audio Device Manager) DSP module. This module implements mixer controls to setup the connections between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6adm.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6adm.txt diff --git a/Documentation/devicetree/bindings/sound/qcom,q6adm.txt b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt new file mode 100644 index 000000000000..ddd93c80bd8a --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt @@ -0,0 +1,34 @@ +Qualcomm Audio Device Manager (Q6ADM) binding + +Q6ADM is one of the APR audio service on Q6DSP. +Please refer to qcom,apr.txt for details of the coommon apr service bindings +used by the apr service device. + +- but must contain the following property: + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,adm-v.". + Or "qcom,adm" where the version number can be queried + from DSP. + example "qcom,adm-v2.0" + + += ADM routing +"routing" subnode of the ADM node represents adm routing specific configuration + +- #sound-dai-cells + Usage: required + Value type: + Definition: Must be 0 + += EXAMPLE +q6adm: q6adm { + compatible = "qcom,q6adm"; + qcom,apr-svc-name = "ADM"; + qcom,apr-svc-id = ; + q6routing: routing { + #sound-dai-cells = <0>; + }; +};