From patchwork Thu Apr 26 09:45:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 134446 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2029974lji; Thu, 26 Apr 2018 02:50:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx49xgrwaPgkle26b8avtjVz5UGq23zuKgRVmrfVcgfT5RSF86FfleuVvzzZBNxejIAk8iuWx X-Received: by 2002:adf:db85:: with SMTP id u5-v6mr16500686wri.278.1524736230180; Thu, 26 Apr 2018 02:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524736230; cv=none; d=google.com; s=arc-20160816; b=X/OkHLy82IJZm35JKCtP7vQ5eRwRircemrdH+unFKqPlXuVorPACGoPQINAvOL3T+S yt8YCo9S6BFlVt7/01Stw/B4aM/GcI9qNaWjp2CUwQb3cy7gUfxi5q8+h+4aBMroEQiq dpQTp6h2TRlIY5wsvy2nSIXDME+qNgxzl3BD9xoQcf/N4U7jmz9PYnrGhCbuCy/7l5GN m5yfYtNAt6NIxI+RBtyiBZJ/EVWGDT9vFwdcxTkFcgx2Q2VwL+ARVptcSXEHAMSCp1s9 GCVGSqjoUpLxrssTLVKzBHA5uj1xP5VPThvCVsRy6Ybme61wWGHEkd2d7WWnCNzJHMEw VAbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=ftUFbr5/g4Y7ilVIduTWsjErcrfPtjMXogq9R+U5s+w=; b=HMUR/SllvydmDfYPItto9Z+rxaG9taSJO/qkRzEb2STTWiLmtzz4IpXI727MJ4H8UR t4FPrnaRB1xMYK8ZDS+y5XfVFGSglJ5VJQob3bmTrvT1J01lQQ0NjWwttqB2UMXcwiQ+ yCi3d/T7WEGq/A4Z1DpFT3UChPZ5t8GRRP8hDUSQ+CIZOKL8kPXvQEYA7t6ZtGfMg9PE 4zF8oOCAcyPLZkzX3whgHnzTyvacx/AE2QemKvHYQp2cYm7GUWHR456IBKAylCWMdWk6 kEQWEAPUND5poE/I7dHjBXcQ2BZcxZ+oaSWuUjELeoEh8feIUzOJ+4F/lHeEGxMNKEPk skog== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CW2Dif87; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id o136si6706239wmd.123.2018.04.26.02.50.29; Thu, 26 Apr 2018 02:50:30 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=CW2Dif87; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D908726781A; Thu, 26 Apr 2018 11:49:48 +0200 (CEST) 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 771F4267801; Thu, 26 Apr 2018 11:49:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by alsa0.perex.cz (Postfix) with ESMTP id AE1D62676AB for ; Thu, 26 Apr 2018 11:49:37 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id n10so11964195wmc.1 for ; Thu, 26 Apr 2018 02:49:37 -0700 (PDT) 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=GX016FpURezWDdIQhmz6SEGH/kMoinBWPVAzesWmgM0=; b=CW2Dif87KbtQLx98VYTBd2l7WMVHTayJOHtqy3OVzFHE8qExOUWwS0yjQwBgNYlnv+ JkVCXPfeTZT9XqP3AvuCdkuG3I9+1aNPdfCu0B6Uwr4W/soUiqjnPjYk3/jdCXb6WGTK ILhfTM3qF7AZcWlC7bSzOwkCPJDDWm4Q0Er1M= 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=GX016FpURezWDdIQhmz6SEGH/kMoinBWPVAzesWmgM0=; b=SUvOFOu2jl5mzHvvY2kp2omNwE5C31Su2UGPGgY3PnAjKf+5rsgZeV0imI6+xePY9Q vdWehgSY+U9hqVyR3PwE3Nl0Ap+S+rSStVt39TXwWmF+QeJAd7JA8U4eafKgE2ZTeWKj 2P6yyycRWTtWnRvLu2P5XoYdWaUGV+GKY0smbP5JMVfY1YV22JcSZ7jF0o3cABp4MFxz pekvHIdin/lAsfAuHWEhoXcm5YM3st8BaYNx6kNARK2wwXNQEYPy0gvx2l3XXTsHsElG CwM+6pRrkueJfwkmQxIot726cElwd1el9znS3gkFYQr2qZpmz9Su9Pw4wvEEQ0EBiiJJ eu8w== X-Gm-Message-State: ALQs6tDs16Scayava6iff4lMBQsdjh7HgGosXJLYw32GeEwd2zkRwROL jsa96FjcxhcLPimmppjkUdysWg== X-Received: by 10.28.35.72 with SMTP id j69mr18068616wmj.45.1524736177192; Thu, 26 Apr 2018 02:49:37 -0700 (PDT) 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 a79sm5287289wme.48.2018.04.26.02.49.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Apr 2018 02:49:36 -0700 (PDT) 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, bgoswami@codeaurora.org Date: Thu, 26 Apr 2018 10:45:48 +0100 Message-Id: <20180426094606.4775-7-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180426094606.4775-1-srinivas.kandagatla@linaro.org> References: <20180426094606.4775-1-srinivas.kandagatla@linaro.org> Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, rohkumar@qti.qualcomm.com, gregkh@linuxfoundation.org, plai@codeaurora.org, tiwai@suse.com, lgirdwood@gmail.com, david.brown@linaro.org, Srinivas Kandagatla , linux-arm-kernel@lists.infradead.org, spatakok@qti.qualcomm.com, linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v6 06/24] ASoC: qdsp6: dt-bindings: Add q6asm 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 From: Srinivas Kandagatla This patch add DT bindings for ASM (Audio Stream Manager) DSP module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- .../devicetree/bindings/sound/qcom,q6asm.txt | 33 ++++++++++++++++++++++ include/dt-bindings/sound/qcom,q6asm.h | 22 +++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm.txt create mode 100644 include/dt-bindings/sound/qcom,q6asm.h -- 2.16.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/sound/qcom,q6asm.txt b/Documentation/devicetree/bindings/sound/qcom,q6asm.txt new file mode 100644 index 000000000000..2178eb91146f --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6asm.txt @@ -0,0 +1,33 @@ +Qualcomm Audio Stream Manager (Q6ASM) binding + +Q6ASM is one of the APR audio service on Q6DSP. +Please refer to qcom,apr.txt for details of the common apr service bindings +used by the apr service device. + +- but must contain the following property: + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,q6asm-v.". + Or "qcom,q6asm" where the version number can be queried + from DSP. + example "qcom,q6asm-v2.0" + += ASM DAIs (Digial Audio Interface) +"dais" subnode of the ASM node represents dai specific configuration + +- #sound-dai-cells + Usage: required + Value type: + Definition: Must be 1 + += EXAMPLE + +q6asm@7 { + compatible = "qcom,q6asm"; + reg = ; + q6asmdai: dais { + #sound-dai-cells = <1>; + }; +}; diff --git a/include/dt-bindings/sound/qcom,q6asm.h b/include/dt-bindings/sound/qcom,q6asm.h new file mode 100644 index 000000000000..1eb77d87c2e8 --- /dev/null +++ b/include/dt-bindings/sound/qcom,q6asm.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __DT_BINDINGS_Q6_ASM_H__ +#define __DT_BINDINGS_Q6_ASM_H__ + +#define MSM_FRONTEND_DAI_MULTIMEDIA1 0 +#define MSM_FRONTEND_DAI_MULTIMEDIA2 1 +#define MSM_FRONTEND_DAI_MULTIMEDIA3 2 +#define MSM_FRONTEND_DAI_MULTIMEDIA4 3 +#define MSM_FRONTEND_DAI_MULTIMEDIA5 4 +#define MSM_FRONTEND_DAI_MULTIMEDIA6 5 +#define MSM_FRONTEND_DAI_MULTIMEDIA7 6 +#define MSM_FRONTEND_DAI_MULTIMEDIA8 7 +#define MSM_FRONTEND_DAI_MULTIMEDIA9 8 +#define MSM_FRONTEND_DAI_MULTIMEDIA10 9 +#define MSM_FRONTEND_DAI_MULTIMEDIA11 10 +#define MSM_FRONTEND_DAI_MULTIMEDIA12 11 +#define MSM_FRONTEND_DAI_MULTIMEDIA13 12 +#define MSM_FRONTEND_DAI_MULTIMEDIA14 13 +#define MSM_FRONTEND_DAI_MULTIMEDIA15 14 +#define MSM_FRONTEND_DAI_MULTIMEDIA16 15 + +#endif /* __DT_BINDINGS_Q6_ASM_H__ */