Received: by 10.192.165.148 with SMTP id m20csp4859576imm; Tue, 1 May 2018 05:16:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqevmj7yYHuubxzpO0aHeGOwjv12G+a1DxV4rq8xuO6cddYD3h0QaZBwwsJ8EuG1Hj2CGhW X-Received: by 2002:a17:902:7b83:: with SMTP id w3-v6mr940163pll.12.1525176987321; Tue, 01 May 2018 05:16:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525176987; cv=none; d=google.com; s=arc-20160816; b=X/YYoiHXt049kUiRkbCn5CjxtOA1CbCr+shUKHoBlNDEo5HqWOb6P51pGAQCwqfZYr +er7wVOpzYazulG9C4TcfNcrGLGkipJoztZAdYaJLsNDjdvmY1oW5IjnaeVlpwoEr6gm HvTigzQrvuuyoF/HkJCUtuWhbJSTAPyxD1UbV/ViCqI3BT7xa6eB+SESx4lbWtE0z5o+ p9jpEWvDlKpDN8EBLeKc4RXTlHrXRZcRkQN/RRR2LTR+TZ/Ewr8seg3vU33WALftqMTx AiUvKo4a3/bqgBqoJLPT4M60+HvsPQn7OXVB069rwlWW93wUbfyApnkO2uFkYsxR9Cxt hWUg== 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=R54vii1uQDSlVGkRjKg27a5xPMqIUQwaxaadpb+1MA4=; b=EjkH1dUrgvEPo1WuldVfl+29FtqBoxonzFZKRUaRkClllOv7j5wTsQ2EfW+2InWfqV WWJb4nLmhrZUDYjJoIF6wkeF6BYGG7a8Lo+NySSCLeJ0jGRwTuUU+LIJdjrDZ2W8dgMk oYql5GRkNhtWzgm1s//FGRdmEebHud1LbXAbPv4qfttrOKhdWn/GFV7WRCoK2RM9qqFY hFm0Rvb495uttHPevgNgxP1/dPOcm2mGMoiYRpK26Vl3o7yz2LeNRR3+c/29JXN8p6gF 4HyDc+9VIUrMb0pDf7lxDo3Uh481w1fmshcIi80pgEio7SjT6ylbdzAzsHqS0yacMSqT /Hdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PjkbwFXu; 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 a8-v6si9211271ple.222.2018.05.01.05.16.13; Tue, 01 May 2018 05:16:27 -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=PjkbwFXu; 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 S1755920AbeEAMPn (ORCPT + 99 others); Tue, 1 May 2018 08:15:43 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:35316 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755199AbeEAMKe (ORCPT ); Tue, 1 May 2018 08:10:34 -0400 Received: by mail-wr0-f194.google.com with SMTP id i14-v6so7484422wre.2 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=eCaUxZME9eOzDd4+2p/LP5WTxa0xioB5YRYohTKfubqpGRZvu+bKpLUdw6eGEAZbaM gtoW41Qjh4x+ZZGHS9VmCRnRiSzR9njtcGY233Ak7238qf56CGmKof+7keOP3dpGux2q T5JUCC2up+jN94x8TtTldwclPzeyvlyKL36GNcytl74rqxqHsVD2BI+yiSlipWUPVEQD HAcFaw4m1nS3zNpelwiAy3xbITYaKfjJYKaQXkP43fNHsfWVNRVt0y/+qEQa/bGv5mIJ QokDOlO8EfacoqHy4j+VhXeHYtdJP3GEteWz5jBqsNnCYZ243vc1XTGL+UVm9BUchg9N GZXQ== X-Gm-Message-State: ALQs6tCgiDlip/eQ3FyKzsAVgzAPzBzlqvH2+z0JkI7Uxrnqslkmn++q sXEHSaai9tHVAA64pv+okjuKYQ== 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 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 v7 06/24] ASoC: qdsp6: dt-bindings: Add q6asm dt bindings 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- .../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