From patchwork Tue May 1 12:08:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10373725 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 91ACC601C7 for ; Tue, 1 May 2018 12:24:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F38028988 for ; Tue, 1 May 2018 12:24:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7220B28B51; Tue, 1 May 2018 12:24:48 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 C190028988 for ; Tue, 1 May 2018 12:24:47 +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=dFpf3I7lwhlkywBpN8My9X7eDF5aGZR0aL855Bb/6so=; b=DYVll1fbGGuokU97yNr/uyWVRd qu5+07Dpsnabp4W68aEVcrkp17lS0rDaG7JVp6NvL1wR8erH5VOfPn7yojFCOovRtVQTMTSlHmmhw Jk9lOAcy8FmDMzX5Q5iYezrH0WxrX1CdXDp/1bjNLkQjfA/QOvE+ty17Tp/JMXAxZNGgQ90YM/+Db TNEE12eKrYZ0NSQ/gH+mqf2rjY+tRfn3ndpGcP/rJGaVVOPPFFIr1v3sKA3ZcdXTKeeK68ZJydhVZ dcNCWgAlIDYbWotTon3oJX6S+6QESXbD/GukIsEWp2sFX18pYtMB4nYJ1nvg0+mmOi9VEVq5glRaz kzS+2kyw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fDUKm-0006FL-QP; Tue, 01 May 2018 12:24:40 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fDU7E-00066G-Au for linux-arm-kernel@lists.infradead.org; Tue, 01 May 2018 12:10:46 +0000 Received: by mail-wr0-x241.google.com with SMTP id 94-v6so9330491wrf.5 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=Rd4z0YBnbevtWdQ79Z+dgLQ3rLI/B1CbyPe1PeVn4tI=; b=KcQcBmR8kra3iTByI2zO6vhgfzryjDiD0AxGg72ylftxd4LgPGDflkrsReO3ckN9ju dyYRPslqO5i6HI+dv0d1B4nWQhni5ONMCN+gROWBZDTXQNnZJD4ahDkMC4TQyiawhICF OHTyqD8Xrs93TaxBST4o8IeRSoxtcgX79CC9Q= 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=Rd4z0YBnbevtWdQ79Z+dgLQ3rLI/B1CbyPe1PeVn4tI=; b=IsRjb5w/WiCt10Te3Ey5g3nKRV82hu3ptAqieheZlskhJYV0m6SrEst2ZLZ6AAcTE0 QQlLI5LxmLgK6NzuHxzf24w7xlxgok5I2LqDELOUjM5e8gLYfZO1zsz3T64H1o+F9KeH Ffx02TqTKs5CezSbpgRxQXuWxMdZfW9hktIdJQD4d3zXd0YjJOuAoHJo1vDod9xyaKA/ pRUAvFVnx3w0RoDgV55DBIQGu6KELKKFoidBTlbQpHhApP5m2tRJ2O9YlGU0484qXOkO ldCnHY9EiWNqkAtrEIefAtNJfPa3wJq/cQito3+JQUQHpV8Q52xwRLBOCevIJpYkSdeo Ywqg== X-Gm-Message-State: ALQs6tCY3iF+r11OCbghn1emKbv98C9BAizyvQ/lbZbgOLFhCOi66hlI WloV3cNuDFmdKoAGUZ8yLUJUx9e8k6s= X-Google-Smtp-Source: AB8JxZrI/5KmWSvInqYL51fvaeByz8Qr6V8DDJYqBqGynw3mfkixEWqn+H7+TlghLGDlAykQdV7BNA== X-Received: by 2002:adf:972c:: with SMTP id r41-v6mr12566047wrb.79.1525176631989; Tue, 01 May 2018 05:10:31 -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.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 May 2018 05:10:31 -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 Subject: [PATCH v7 05/24] ASoC: qdsp6: dt-bindings: Add q6adm dt bindings Date: Tue, 1 May 2018 13:08:01 +0100 Message-Id: <20180501120820.11016-6-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180501_051040_496693_A898B20C X-CRM114-Status: GOOD ( 12.57 ) 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, 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, 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 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 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>; + }; +};