From patchwork Wed May 9 12:56:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 135282 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5617211lji; Wed, 9 May 2018 06:06:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoly1HLifuejKvMQndCcDvWJnLoXORMcm+q5ZAywD7fneWhJQlV8QviZdqndGN6dRT44XrK X-Received: by 2002:a17:902:b949:: with SMTP id h9-v6mr45005444pls.146.1525871172773; Wed, 09 May 2018 06:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525871172; cv=none; d=google.com; s=arc-20160816; b=lzs6rA4RRFEtcNAQq2Q/jUWH4y6TtH4jhqL6A7jtrzMi9OziQo3LM+e0AaYFpyM4XC 78C//ts2Cay5Is0CqtfwPfziBFjgi7MuGMfwttA2MmOcRfcxCUy9ago7y5P4lR0KiXdp VVZzz3TbUx931OcngCBzvGLe5m28TDMtflIpNSkqIiXJlU9HdQLRAOvhSWvBxz79h4wJ +VUaNbfw0x8QGJYYbAel073oz9tObeOsoLwoJ7vaVA5f4Nw9I5sQdwyPxLzmc7ZyMeC4 JQGs41qklvOwVv5hN9l7nEla8iqBYNWWxlhp77S2tXGABZVgFZbZL8uEWd7FhRSwHTNo a0IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=cjjH3Y4X2ggtNI9N+6NKDcE9SOItjRJaJoDuvBuaf/0=; b=fpjSoqTtpQ5U0XnkY7mUnODAdd/B0WlKirCoPSu9IAbvhpI/pKp4RCtjlgDq4dBxWy /+VwbR5D4jINUIBX9y6oFyhkQ/bllTT55kStUuDkzke44Vj82RhD7lPMFgGfCW1nDMOu kXw4akfbja4gVLr4yV68xg9te7+3Rgth9K/jyzxnsd89BjHZ4tYUNjhOgluloAqwg/Z7 4WPsIwHYOhjLfl8O8d/aVIT9PXgNl1+m1TthLWyOo2dNQgX98luONeVwV5vmjORSnN0z 9oNwU6dgpk2+qcju/G7MOnXmntceVPMPk2IJ2lxoa+8iK2X+86MqF4ss9ZwJHB02d7tN w7Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KXPrJwFu; 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=fail (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 s5-v6si3064238pgo.12.2018.05.09.06.06.12; Wed, 09 May 2018 06:06:12 -0700 (PDT) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KXPrJwFu; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934801AbeEINGK (ORCPT + 6 others); Wed, 9 May 2018 09:06:10 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:53410 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935076AbeEINAq (ORCPT ); Wed, 9 May 2018 09:00:46 -0400 Received: by mail-wm0-f68.google.com with SMTP id a67so24469169wmf.3 for ; Wed, 09 May 2018 06:00:46 -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=TonztnZFUfzr96dQ6USPYmlNzO7FCoMzce/zgXpMmwg=; b=KXPrJwFul1zTkqThgjCW95nWSpIZTW2BuyGpNe3JihZZsF7g3aQPcXGO9HB+v8Y3RU 0aDwa7Q3ptlY7iH+EZCwEEX73LJhx5RLebPixQAEMA6eLq3v7JfkUoSN6Soqk64/+aMh qkxedSdy00TgknqfW+n+3Q9HRjKnsh3n4tya4= 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=TonztnZFUfzr96dQ6USPYmlNzO7FCoMzce/zgXpMmwg=; b=P3D5mVzAYFqOSXoH53lPydutJrc4zUWXc5zd1PTJhhWS+bpuR8tvLkA3UBNWiYhVDp FQgHdrj70JdYKdBaI69E/RL7d5J2xchBHdnoNy8hFnLZJg3ZwYRK1BYhkhJNLSWQez6M g6zw6bmaIdumqpNnKLcogy0m2BiLP5+4gWxWU7vFN/7ZjH7jfwhWYFlIvN6gFT2lusud bXCmtLrxcrwgsQWniwY1WXVC5CNPcipgk9SaE0YORfoRUGxKN7nKcakcB+UoXaxuSVGk mQZnIWhUsnJlK1DLtgIKGBQkpUzTWWY7q0a/hQ71XgKywjPZjLIv/wWVZKSqc3VJXaJh 1c8A== X-Gm-Message-State: ALQs6tBCR3xtxIFJJa0Nt3Rm/2/erTOpmrYFkRnGp4hqNBENbL0k4YbE D8z9NLM4bkYYEMFZyyogyL30pw== X-Received: by 2002:a1c:c1c9:: with SMTP id r192-v6mr5511413wmf.120.1525870845596; Wed, 09 May 2018 06:00:45 -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 q2-v6sm29422963wrj.57.2018.05.09.06.00.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 06:00:44 -0700 (PDT) From: Srinivas Kandagatla 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 Cc: gregkh@linuxfoundation.org, david.brown@linaro.org, mark.rutland@arm.com, lgirdwood@gmail.com, plai@codeaurora.org, tiwai@suse.com, perex@perex.cz, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rohkumar@qti.qualcomm.com, spatakok@qti.qualcomm.com, Srinivas Kandagatla Subject: [PATCH v8 06/24] ASoC: qdsp6: dt-bindings: Add q6asm dt bindings Date: Wed, 9 May 2018 13:56:17 +0100 Message-Id: <20180509125635.5653-7-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180509125635.5653-1-srinivas.kandagatla@linaro.org> References: <20180509125635.5653-1-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch add DT bindings for ASM (Audio Stream Manager) DSP module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar Reviewed-by: Rob Herring Reviewed-by: Banajit Goswami --- .../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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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__ */