From patchwork Sat Mar 10 02:24:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10272999 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2A99860236 for ; Sat, 10 Mar 2018 02:31:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A04929E54 for ; Sat, 10 Mar 2018 02:31:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E61F29E5B; Sat, 10 Mar 2018 02:31:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 80B6F29E54 for ; Sat, 10 Mar 2018 02:31:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=cKiYC6uf4rU6Hwar/nCa1YLv0J9bnADjzDOp2j2c8dI=; b=dZFAc3ZCI/x60D4gnoNRI11pda 8Inlc1WfNhZQjB8mOk9QZNZa+/hCy+uIDVVTvoA4sXscB2oI7bqudsUg8ajnXiIJH91lABMDNkuO9 QdA4V75HiKslWf+YcGx+IPIrcPboYXOV/ttWMl3zruS0vvUYeMbfHr+FnLKbCyEj4pvd7OB/49DLy si5fTVvO7TUJWzncZvkUfIsHQV8gLyjmJQVL9s8k5/LsEf3qGBqJxQHCtwsSZOBHVjoLnNHGObr67 IApkr6j1AWLdowt+TImjvARegyu0l+cPQ6iYhshE8YQW7ea2ueRJArzdDDaGxFOqSJqK+ZkxWzgqa tGvIC+bQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1euUHe-0005Pd-4u; Sat, 10 Mar 2018 02:30:54 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euUEq-0002YS-Ke for linux-arm-kernel@lists.infradead.org; Sat, 10 Mar 2018 02:28:09 +0000 Received: by mail-wm0-x243.google.com with SMTP id q83so7081305wme.5 for ; Fri, 09 Mar 2018 18:27:50 -0800 (PST) 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=WlxlyTkOLwLXRt8sB2I1xqKKd2j4V9/sY8qBIz9W4yU=; b=e2RuYP9cfIS/JPtknxrrX5rxfNq5uT89m799QFW0/oz6YYu8ZIdjTmV1aj418TN02v n86ns2yxH0bohgfsHUcNT4cl7ymgjF4XJq0Sj4rkkjKh2mk7a2uPIHBn/dIAxfW5JZ+2 Bg8PRWr2RYyGzjj77dhCdMf/9OJ2BDWBjZhPA= 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=WlxlyTkOLwLXRt8sB2I1xqKKd2j4V9/sY8qBIz9W4yU=; b=KPpErCxlMeDhOK1cYlfMM3RSJFEMWotR1WBL1QJrqfJqhqs5UEbQJ6QuIizuBQ5drE ZBxrsQkgiaTdmtWATP2bdm7dqS4thNpmFFyc9H47GPYMX8gXqroOfXD10gq+Mogfd6j2 MiT/edgdlGF/WLD6nTNZkTeYRM/bo3TAAbBCvNai1Fs7kKU77GDrZ19mNKdtNL+DVfgb eL8Wqq2F/Y1oG3Zl6qepkS3ICTdtAbpMZ+eeYkO0QSJPEMwUG6RbueQZBhlthRDqrXqx JqD8dEWzSieeJUhcmY4aTULibtg1C+A05SwqOR3kUl5o54OEARFcM/6GxU3hSF6Ofu2s BDsg== X-Gm-Message-State: AElRT7Fm0KqrEuUE2OpwfswhD110M0TZTSyBBTAJjU2F0+3s21hx7+6l whMcpJtn/eAj0tQCLq7HhM2o0A== X-Google-Smtp-Source: AG47ELuEiv61prFlIlvaqFOg9EjkZwW55Gm1AVQ/7Funz83esLov0PaySf9Omc099FpkbeZHPduZ1Q== X-Received: by 10.28.160.9 with SMTP id j9mr53717wme.103.1520648868689; Fri, 09 Mar 2018 18:27:48 -0800 (PST) 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 g78sm21489wmc.31.2018.03.09.18.27.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 18:27:48 -0800 (PST) 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 Subject: [PATCH v4 05/24] ASoC: qdsp6: dt-bindings: Add q6adm dt bindings Date: Sat, 10 Mar 2018 02:24:37 +0000 Message-Id: <20180310022456.26739-6-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180310022456.26739-1-srinivas.kandagatla@linaro.org> References: <20180310022456.26739-1-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180309_182801_342932_D98E7E06 X-CRM114-Status: GOOD ( 13.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, bgoswami@codeaurora.org, rohkumar@qti.qualcomm.com, gregkh@linuxfoundation.org, plai@codeaurora.org, lgirdwood@gmail.com, tiwai@suse.com, david.brown@linaro.org, srinivas.kandagatla@linaro.org, linux-arm-kernel@lists.infradead.org, spatakok@qti.qualcomm.com, perex@perex.cz, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Srinivas Kandagatla 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 --- .../devicetree/bindings/sound/qcom,q6adm.txt | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6adm.txt diff --git a/Documentation/devicetree/bindings/sound/qcom,q6adm.txt b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt new file mode 100644 index 000000000000..ddd93c80bd8a --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6adm.txt @@ -0,0 +1,34 @@ +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,adm-v.". + Or "qcom,adm" where the version number can be queried + from DSP. + example "qcom,adm-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: q6adm { + compatible = "qcom,q6adm"; + qcom,apr-svc-name = "ADM"; + qcom,apr-svc-id = ; + q6routing: routing { + #sound-dai-cells = <0>; + }; +};