From patchwork Sat Mar 10 02:24:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 131270 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1691078lja; Fri, 9 Mar 2018 18:29:03 -0800 (PST) X-Google-Smtp-Source: AG47ELs7oCqdKy64StVu8qH7IlANQ7gJcRmmJugCRQ/C9ywm+KbFj45TxqlbfGnIvcAT9sMjA/KP X-Received: by 10.223.138.203 with SMTP id z11mr381754wrz.199.1520648943368; Fri, 09 Mar 2018 18:29:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520648943; cv=none; d=google.com; s=arc-20160816; b=zLeGnOk1n7UWCE7V4qHxWlQDtInkev29bnS04HZLco7yd8hH8+sJ+mFU5YI7jQ2LLS kFutDIvKRxJMLoSUJcZkK459LqRyrd0KfEYQ6qSH4n+S+yI58QWiS7aroLDd/auY3xt7 zGH1UnWCfbNXbcdrW4sI6NzNVuW/KzJJ1NputukyzkCdqWaUQp9Kd/xPZ5XvmCS0qt51 TbSJem3YEMGltuvApDwXoUAXXXWvWiiCK1j0q9lnyL1E+ouhjpi5nnIoGGlcrFC807xW SW8cPZ4N4ZRe8S2Hk0DUV09zgw4JHTKwwTc1qHJv3qvx8sfPCpZMAwyOjShNz7IlESkj 7MRQ== 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=nVHXn9F0yIPHaYeoxa2eLG436tcEVAt2kVFUqmHrx6U=; b=vHSXnkXJe+O+9bGN+2ZOPf0ZKj/EwzkX+sru9wvBXcx1qkWwNZ70+Xrs7/QRVgUXYJ eQmwebrs9FgHkErvLE1Jwr+JRaQuK7VWH8FynqR0+RkvuxrfeQA8ppuZXpV5pwTZGjbV rtMYSLdVsJbUxeu/VieoPRidT6wQThtA8dukmXSug6gg2kvJ4zHoj5j/Z/FX9xv9x3y1 rtKE2YfuCoGoO/vioX9XNSt427PXMEKl1AFN5jcszZZAD5treqAi3+pCujB4R8l/jcFS WlVHHtzk2f9LksAjdzl4DtlwR01X0LF6lqDPVakBNyVaBMBkzrR9PBDZk1Wnn5ilaoXm 9+2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=h8lWMzSG; 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 33si1743448wrd.199.2018.03.09.18.29.03; Fri, 09 Mar 2018 18:29:03 -0800 (PST) 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=h8lWMzSG; 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 512FE2676B0; Sat, 10 Mar 2018 03:28:15 +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 00DA726766C; Sat, 10 Mar 2018 03:27:54 +0100 (CET) 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-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by alsa0.perex.cz (Postfix) with ESMTP id 6C3AA267666 for ; Sat, 10 Mar 2018 03:27:50 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id t6so6971467wmt.5 for ; Fri, 09 Mar 2018 18:27:50 -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=5RoroAqka1QiRkDT0H3/wN8yePmLtx+aMNSdBlanLuo=; b=h8lWMzSGhaYPymeam4moGtHBZQp/1t91PoZabP7HhBHNpUlP4ViackL67llme/p2dM mOH18782YGT+zGNcHR6607MpE8aijD/kMYLl9D3Up7WDSXAGX2qY15w4E7nEqatI1K+a KpVPpUzQFj1+h7fD1Wf4JcjmbgByixkAPtlXg= 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=5RoroAqka1QiRkDT0H3/wN8yePmLtx+aMNSdBlanLuo=; b=VZXMsjyIxZ9X6UytVe9T6MmdyYqJfLorlOkWFwv+7lTmrMMLepZbFlx9a9gJftgUWO fjGc+0EpAX86lv/jZZ4zAKEGc3MzAZF9vALlcllX6HF/9CslU2r1dVq7/Vt9t13VLQhK Dcz2XCQWXmeRXkR+tqHukeyY7ojMezrLic17I0uGlP8ad2oKhgfQzoppv+SJFNORLLUw yRQzR+sxQmYuplinFWaWb8ox9BylQ9jxkQIXaHeQijetku3knsRox9rzsJ8Mh1eF3Plj jzyNQWabRnl2EvKlvN6VoyydHN6V7MMyubYBMyoSOCG3anhb4rOkJq9KS7jMbpYZwphf Bcdw== X-Gm-Message-State: AElRT7E2HUYs8nXAppA56yOdAYC+jQceXEGzyycOCbi+GZQq4JAd9QYh hHbL5N/mSEQ+Xc0y0wfgEeM12w== X-Received: by 10.28.62.16 with SMTP id l16mr77377wma.54.1520648869814; Fri, 09 Mar 2018 18:27:49 -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.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 18:27:49 -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:38 +0000 Message-Id: <20180310022456.26739-7-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 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 --- .../devicetree/bindings/sound/qcom,q6asm.txt | 34 ++++++++++++++++++++++ include/dt-bindings/sound/qcom,q6asm.h | 22 ++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm.txt create mode 100644 include/dt-bindings/sound/qcom,q6asm.h -- 2.15.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/Documentation/devicetree/bindings/sound/qcom,q6asm.txt b/Documentation/devicetree/bindings/sound/qcom,q6asm.txt new file mode 100644 index 000000000000..84703747db3c --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6asm.txt @@ -0,0 +1,34 @@ +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 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,asm-v.". + Or "qcom,asm" where the version number can be queried + from DSP. + example "qcom,asm-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: q6asm { + compatible = "qcom,q6asm"; + qcom,apr-svc-name = "ASM"; + qcom,apr-svc-id = ; + 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..2e11b15d930d --- /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__ */