From patchwork Wed May 9 12:56:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 135284 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5617320lji; Wed, 9 May 2018 06:06:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq6/Zl/SSxU0We1jYbkjM0I/q9dVRI/X3zHJ9IYBezXyl8ec4MQimkAAR6qvSwFAxsl0NFt X-Received: by 2002:a17:902:b949:: with SMTP id h9-v6mr45005777pls.146.1525871178458; Wed, 09 May 2018 06:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525871178; cv=none; d=google.com; s=arc-20160816; b=TJ9z0eMF0cHSNEVcVUU+360jCd9j34tZKJIvR6kolPZEVXbobyPPvucZexZXkbpFIt l35z8ZVwZBaFNeIUOfKnh2eQJd8/+4LPNHrSphl3992Yl/khuEwURIYB+KMd/4YBVl0V oJohbeoVqAvfXVKVstgunz8wM4XyYvoYB7Vtoti8NIN3yY8e7eJQh6Uw1gDsTiQgJYog sHg/xgxwxjZoEEIQta+dg2C7rPZ+XQlo020shEOantU8079JrX3+E6ovfFrNvAlzX7yc TRh71QyfOmv3HkSpBFith1XfxOGbWmUiHc0yDSLVCi4l0JHDFkOr1/ml3M8BXzC5obiC XpaQ== 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=tY7RukcqLqht8CWrDAkJpg45GsDcbcOVEI8s/t/u01c=; b=htCIxg65kSka/Sjw3xueE8s0dGknF6eePDKgubGJLisO1f03dBKLhZj11pjbqR2Xy/ v1SDu6omi5f843Mhk9lT6t/7r4bRcLGIpxgpz9n/YiWZoMwHxZYcCL7FsBUBp0ykgn0B iCsd/eXhIkIv049lz0BYGRvktX1Mj83jnLgzdDLO2bxvAag24+W5pAwySlLaQF1Zclwu wm4tFpPq1szxE+Hur7zCwbJ+ZIx3TBmppW3+WxVIiZYCOpMBI3J/HTYMFsa1mQfKCopX 8CdwTqsVqZ9+T4FDQ6KujZimSxdJ0WA1WmwOKf1h+DjRveFW257wHwHrVRxIIbyv/+S2 jqZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Us423h+S; 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 s5-v6si3064238pgo.12.2018.05.09.06.06.18; Wed, 09 May 2018 06:06:18 -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=Us423h+S; 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 S935269AbeEINGP (ORCPT + 29 others); Wed, 9 May 2018 09:06:15 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:40367 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935065AbeEINAp (ORCPT ); Wed, 9 May 2018 09:00:45 -0400 Received: by mail-wm0-f65.google.com with SMTP id j5-v6so27680536wme.5 for ; Wed, 09 May 2018 06:00:45 -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=tY7RukcqLqht8CWrDAkJpg45GsDcbcOVEI8s/t/u01c=; b=Us423h+SkI14iLD1AuH33HuVbUmxCGtZMXGV6WG+JReSPp9xgn+TxnVWTRSDs8Y+bX YJjhK8Z82aUNopkuV4ClLYUf+vX7D90ECKtsq3PVL7UgCd0Nn5i/V8ggpcLOsGkJio2A Xqp4w0HPmKf9b9mZqjMyJdmI/BTFchYkTPWdc= 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=tY7RukcqLqht8CWrDAkJpg45GsDcbcOVEI8s/t/u01c=; b=fRRsSs2vexx74BDZqtiJP6OwPEjGqglcnnGyAYfqomcf/m/P+VI2mZof3hZH0evCcO 0yQASijwWk7jV6J1BmoElEdbX57fRR0e3QPDsnBGCzo52sa3/a6Nu/deRcJZ02TLyI2H 5dBc8A0MXjcSFTkwKOrK0usCl4vEvAa27D4T9GvpZKxcCTiwRLJLkj3JrWu6DNZc30du VCWQZX5MR+TaaGTyGMMvSSwrlgUwVU0V+0XqZeHVXfUBBFZBOMFqzpotoGZxSYUZHoFH NCRtyKYK38yOLtMAzlpUYnPcyeT9IHgNUW0ouP4ZbuxSBk5gKtTvhn+IKFlgQNvVOLzk wyrg== X-Gm-Message-State: ALKqPwfhniIjvLED1C0Xh9ZXHC3ryfzhw9A66XmNuq4xl8piI7oy57U0 rVapHqC55vA+f3dVDW46nkpxVg== X-Received: by 2002:a1c:c702:: with SMTP id x2-v6mr6215951wmf.57.1525870844216; Wed, 09 May 2018 06:00:44 -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.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 May 2018 06:00:43 -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 05/24] ASoC: qdsp6: dt-bindings: Add q6adm dt bindings Date: Wed, 9 May 2018 13:56:16 +0100 Message-Id: <20180509125635.5653-6-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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch add DT bindings for ADM (Audio Device Manager) DSP module. This module implements mixer controls to setup the connections between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar Reviewed-by: Rob Herring Reviewed-by: Banajit Goswami --- .../devicetree/bindings/sound/qcom,q6adm.txt | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6adm.txt -- 2.16.2 diff --git a/Documentation/devicetree/bindings/sound/qcom,q6adm.txt b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt new file mode 100644 index 000000000000..cb709e5dbc44 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt @@ -0,0 +1,33 @@ +Qualcomm Audio Device Manager (Q6ADM) binding + +Q6ADM 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,q6adm-v.". + Or "qcom,q6adm" where the version number can be queried + from DSP. + example "qcom,q6adm-v2.0" + + += ADM routing +"routing" subnode of the ADM node represents adm routing specific configuration + +- #sound-dai-cells + Usage: required + Value type: + Definition: Must be 0 + += EXAMPLE +q6adm@8 { + compatible = "qcom,q6adm"; + reg = ; + q6routing: routing { + #sound-dai-cells = <0>; + }; +};