From patchwork Wed Apr 18 15:31:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 133640 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp35546ljf; Wed, 18 Apr 2018 08:36:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx48E48HVM1iQbqqA6FnpxDdRDaf20zS/2yDflEREKLtNCmphHR+T2o7Hn1lxJEQkkzaQ3mSI X-Received: by 2002:a17:902:31a4:: with SMTP id x33-v6mr2513766plb.355.1524065772574; Wed, 18 Apr 2018 08:36:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524065772; cv=none; d=google.com; s=arc-20160816; b=vNccXXMIp2WibqTMwqQUgTga1clDz9RupL5GdnS4WpquCXIKrvO9Hf6eRB8+CyKAk7 9hipw3XX6m8/rlDWRlOzaPpw2Yhb0datY485bdiQyDv53UzcBrqnvktnNYlbOwB1M0eX ZFOICMDQrYn0K+kCHrHda7GX9yLatiZnS78K4FfNgBNBqEzOsPHwgza8v3fCJE1nJzC6 N0oZ0wzAu8+jElbAmA3/Kh7OfcslLHSOVONq0qQ2p4XNTo8/BFDB7Bg4NDvj9ITNQfR+ RsItSiJnJEDwlPEWCiVkL/938LXFZkimzONeGW6iVShtSUIsNX2j2zFhmEB++rwIHUmC px0g== 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=JUUrG3SJo8pXX2v076dpjTKuon/M7ml+u30obHPNOYE=; b=ujxNZ8TX1rrcIfrs6J3VSazE2Zz6Cfg0k4412qPikb7nxHFvG+rHhmXMj05ltdcDfq Z6+pKQzqpBCS+a87i9tZnnlWzA2nEl83IiZjApkg4aEWVG2r5kuoNl6UuVDQDSkDVyYc Zup72t/U7mAIVHkRWiQgk68EqMKmT5jfY23zDn/iM5AE71RGYXkB+Nm8RsAaGtaURaQC iT14QZwzHkLWMCshf3chUJXPk33SgHNGIaN7kOM9Jr6MMOYzEVGHnOrrCdpiUZapSpO7 AvpF6w1W6TBCj9KymrdRAjajs7rZoBRtIILPdqPWjjKg4eGZ5mgZR2TmoY/LoNux/tWC FumQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VKap5Bvh; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 i12si1287080pgr.256.2018.04.18.08.36.12; Wed, 18 Apr 2018 08:36:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=VKap5Bvh; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1753540AbeDRPgI (ORCPT + 12 others); Wed, 18 Apr 2018 11:36:08 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:40208 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753320AbeDRPgF (ORCPT ); Wed, 18 Apr 2018 11:36:05 -0400 Received: by mail-wr0-f195.google.com with SMTP id v60-v6so6040356wrc.7 for ; Wed, 18 Apr 2018 08:36:04 -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=srK3WK881wRnviBcqYl+xakrSYwlAXsGKUudauFC5hU=; b=VKap5BvhVq9saX8K/nwuUMIrUoB3ep7EILRa8LYw3voSXKhvPfNsDI7RQLWqCrjXqO 2WhX9jY8UaRmT3vTHMUvbwFJ9DN5MnMi3xy9AM3haZXKA0QhQhlDxbZkhyfWO2ySNcst IBtduLhGPUY1sxSmrd4DmFgwNEieT1dZRfGcc= 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=srK3WK881wRnviBcqYl+xakrSYwlAXsGKUudauFC5hU=; b=ipNwIU5ZIyqAaVhmusvesUrkM5xWkSv1jsilH1+4+9dpU/AwU8iXjkOeUi/sEzIlPT /q4t2nT0HfIyXJEqt2bnhCEB0JA5ZqwoM1pB/pGIpGrNDQPh1aTzP5PhVt3KDQIQ5ezo tkOhLzpBMfOC/dmyoH4/hhfndUVpHOpMqtmceUUxew/OSTH/2h6FIsJWYHZVUWFXTNdd TPiGMtckqlLG+ODmtadroCo+W9zqY48hCRmEfy0k1nQZsy+cZig3CXqHlOQNI1a6002A xUMa1NtlOVz2UVp/Fl/o292gOqdOlSkzQgudG650nIxoeEhJKfA12l+x8ozjNx+OvsoD bgGw== X-Gm-Message-State: ALQs6tAqj+YyPdB2szyeJthkZaXSkbWzuke8AtFPIngFomzaU3Nkkxd9 Tp1KSFwxymPp5uhtpBBw01YlCQ== X-Received: by 10.28.66.19 with SMTP id p19mr1997990wma.155.1524065763963; Wed, 18 Apr 2018 08:36:03 -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 x67sm2529314wma.23.2018.04.18.08.36.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Apr 2018 08:36:03 -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 Cc: gregkh@linuxfoundation.org, david.brown@linaro.org, mark.rutland@arm.com, lgirdwood@gmail.com, plai@codeaurora.org, bgoswami@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 v5 06/23] ASoC: qdsp6: dt-bindings: Add q6asm dt bindings Date: Wed, 18 Apr 2018 16:31:40 +0100 Message-Id: <20180418153157.1960-7-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180418153157.1960-1-srinivas.kandagatla@linaro.org> References: <20180418153157.1960-1-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" 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..d034a50a202a --- /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 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 { + 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..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__ */