Received: by 10.192.165.148 with SMTP id m20csp1831562imm; Thu, 26 Apr 2018 02:58:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+BqW8vjW2a6RqGGpYpvm2rDp43rHQjC3FGRhbuF4fql1RzYBYLYgIjRCShTTG3wVLQo2em X-Received: by 10.98.223.76 with SMTP id u73mr31327951pfg.10.1524736717018; Thu, 26 Apr 2018 02:58:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524736716; cv=none; d=google.com; s=arc-20160816; b=UfODyxJeu/Rv7chE0dS1APmurel67NN0fpQRiR1YMucmkB3cDgoWlGT2wXpRSgY6xJ Gya6ezdmY5g9pbksCh6cLfzlEs4X1avf0M2PaKgKQl7zRyX1TZyznezOq9Y06IcPT86y FnRsf9AoFrpzykijTiqOQ61wlF/o6b43qYMc4DsYKalpBrSZh6/tWEKejXIPmhKPPClF t5pL80fBdJMrm+13sCTHuGTPX8vvWEr85MkQJ5Csf9s2MeFTLklwdkDfAKGwIv5wzBOs H3+H/glczv6BW9rhswVQaUooScRur0ZdB98BfPqwGshJgTPhPUknkDm3YgriaokOMuPy Af2g== 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=GX016FpURezWDdIQhmz6SEGH/kMoinBWPVAzesWmgM0=; b=jDcCZXd9kswC2iondtqCUAqOk/eW+XpI9jabXFT2oSFxN1V/4OZzCnPm/n4M/3v5Ff pSBiaxqd6tqF2Pn/fc4ROxpI6Kr8m1/4SayyhjEONqYbp5j5lIqcBT3EYn9KDWz9xRVR PrJykAXpnLz0gH/Aq+sCAJxV+k/Y3AeyjN8UMpi47c3hCzuiBxt6PqU36hgoaLj3mrdC y3Lp8u4FOkZ0P/QZpxCq1iw+z1Z2xSQ8sFFeyDZEky/v5+9TFyjB61uLI/Ap9lZtxilg 1wPY9AA9vJ3AT+SiAyuiHRl84gCEhFmK6Nubn6UHJcw5CQd8om7TvWiiJBn8/TN0Qpnm Tczg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CW2Dif87; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 q200si14739722pfq.307.2018.04.26.02.58.23; Thu, 26 Apr 2018 02:58:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CW2Dif87; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755388AbeDZJzd (ORCPT + 99 others); Thu, 26 Apr 2018 05:55:33 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:56264 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754846AbeDZJti (ORCPT ); Thu, 26 Apr 2018 05:49:38 -0400 Received: by mail-wm0-f67.google.com with SMTP id a8so11843202wmg.5 for ; Thu, 26 Apr 2018 02:49:38 -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=H3L+Sx+Dx7PfdnZsOrNF3iDF2Xtk+70O2fmA8Mv0gqD2qkMb2l7XrwNvW4xUj5Co8n cje6xZJdlngoYRHFTRZ6WOd9Yrr1hIkP46nKPc4Rp+GCGejRpX0T8LcW37VsIyAGwH6O dp23wRg206ah3DpFPOSa7N58n4ssb/yPxlhRwpdoi18jCwhI9eZR9qSUrDeT+k9omPz/ qzMdtdK7Y43b1qXJcxJOTwlnsL6SPAONZBKWYlzMzO3y/K9dp1sRI1HTFba+/Eo3lnHA f5do1hY1vC+VYrt46CMqznaIoN1sKpp6NqUpee18qdSNTbJ4w+qDiEYRInN2JhYUJHEY AcNA== X-Gm-Message-State: ALQs6tD+igBnpOcLXmc0cTlD++Cizr6UE0skSAqzUYoTRkOWvB6feg7p mMao3F/gfDSmE4bBH/vnZI0oHw== 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 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 v6 06/24] ASoC: qdsp6: dt-bindings: Add q6asm dt bindings 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 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__ */ -- 2.16.2