From patchwork Tue May 1 12:08:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 134764 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp4881914lji; Tue, 1 May 2018 05:11:29 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoZrfjtMzpjyenaLnYSJ98fu8PeUowHAT8EqKCg40ZjvsKj8hnq4gY9UzGiaeAx0ctC1h7Q X-Received: by 2002:adf:c4c3:: with SMTP id o3-v6mr11512091wrf.108.1525176689523; Tue, 01 May 2018 05:11:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525176689; cv=none; d=google.com; s=arc-20160816; b=zD6KSWK1rJbp5FWhuiZVAIwNcG7BTqIj+Cn4GUFFIWSG1CjIWzm1+9uqn0XPnu5XVT FTZuj/sHaGRzzRXLHNnuNq97qWbLgZwzdsa5AZqrx3gyzZXMraQo6zJ0c63OmNPbDBII 9BSnFEM6WfrFKz+Fea0JexZqhjvhJz/fljFlHCi9uxTp+nXcYfmRnEJL1+Os4Ku2MvOA qvKm19v8Jeity5bkx4vCgkMktU8pQDtCRSqBrVdtE9wFXpOzxZKEBh85MKrl+zCLuPFo XzYj7tMoquXJEU0uRIo+3C5n2RwWvn84g97KnNYHpQscZdP+O/n5tr02wiYtWAkYrtZP 3GGw== 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=YEgZN0+6GWtLWwmCPHegs8PpSSPWCO/8/DRnyo69GOs=; b=VWSm0L1uxHEw8IooE1ssAtaXjrQWNjTFWWiF87kz3IfNLTn+2U/+VA0cbcRqKk7qTp D7ueNx8StE5/lg2up6dPIZWQdCSraPaNe+8CrU0eOgx0jjjtzma4TJ68OT4X6tWg2J7L 89Xg1/dHC9iQdysoELtUT7g7W3lDZPnfakFx4mTrm9+bZbDGVGy1LBqN16ts7XUW7HuF YjD5tsO8BonJ30nGALEMhu3tpqgDgQ53s78zt2CR9qiw693u1DaVCN7Ubh7DwvUjTLr3 EHuv65xQSEtUO5cbeCK5Lc9flinniQvXYIFujsLVIVMzt0FjS7YbEgq7Ml6NyWMuLl3S m95A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PjkbwFXu; 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 71-v6si7782681wrc.58.2018.05.01.05.11.29; Tue, 01 May 2018 05:11:29 -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=PjkbwFXu; 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 9902B2676D8; Tue, 1 May 2018 14:10:44 +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 55BF32676B0; Tue, 1 May 2018 14:10:35 +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, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by alsa0.perex.cz (Postfix) with ESMTP id 832CB26769C for ; Tue, 1 May 2018 14:10:33 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id q3-v6so10648398wrj.6 for ; Tue, 01 May 2018 05:10:33 -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=R54vii1uQDSlVGkRjKg27a5xPMqIUQwaxaadpb+1MA4=; b=PjkbwFXucW202GxKyXDmLL8er2VIN0pXkcIubQxv/ZQ9D+S6g9lMz+WGxGsQRY3zXE manqZgO0/fzjbV0clKwvHBMAKP4xBoy8mQeCR0Bxfq2yAX+r3Ci4+1TS/ns/FxcVMEmG noWWzw8uDJJtBglegGfbX7Oq/kGcVXXaZA5Bg= 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=R54vii1uQDSlVGkRjKg27a5xPMqIUQwaxaadpb+1MA4=; b=N/waYSw0N2VsxMch6Ppu2pYFPpmOGvitBNGEmH2+QC3d+fUeVwgIQcIMEZqwve8pPF GGvynFMPv9p3RSNbhsC/nZVW36cT5wY6zspvWRgwazdt9rBzceynpchiFLSQ/+5N2GXb oM/qNTBeOeiPnOzUNRUo8RkUXLo6+IdDv+zXuoPJYZhXMbH4SM9vbS4mPjd0OLcOwsPp 4xUcTr2VcrdMFmldxIVUyDkkx7/2cRtJ+JTOMvn6yemg0j5vG0+5CTjRRo/3pwWImnAB mOo4QSPUnVizjlvJDtuKQZy52fda+d+6QK/YpNTg3uHeeg1JlGgqjs/XV6jJ/+kyYbtG bCiw== X-Gm-Message-State: ALQs6tC0i2bWJIOXNbZxbNoyeYsa857LRi09exUpA+ugCnUey5KHt9lw qCw4W03YS9nW9ZSkus4vVTHh7A== X-Received: by 2002:adf:85dd:: with SMTP id 29-v6mr11634441wru.120.1525176633224; Tue, 01 May 2018 05:10:33 -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 r200sm14565124wmb.39.2018.05.01.05.10.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 May 2018 05:10:32 -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 Date: Tue, 1 May 2018 13:08:02 +0100 Message-Id: <20180501120820.11016-7-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180501120820.11016-1-srinivas.kandagatla@linaro.org> References: <20180501120820.11016-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 v7 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 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 --- .../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 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__ */