From patchwork Tue Oct 26 11:16:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 12584597 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA9DAC433EF for ; Tue, 26 Oct 2021 11:19:34 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4787A60232 for ; Tue, 26 Oct 2021 11:19:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4787A60232 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AE6F61709; Tue, 26 Oct 2021 13:18:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AE6F61709 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1635247172; bh=wMkgM8CoglY0fvE9Zf5Mt39swOo7BxD8RsI2fUnIV9I=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=qmArHBXFJcctam66jl88qDFir4Idd3DlDpaPE6FmF4eixkeybwH1V8+vlNlLLVY/J hcuGbvlR4azN+nzIXNTNynV+u/gP2YkqhJI3Gx7ChojpVy2oPwdnciRjpNYgpBO8Ry LmYzvtUF1+es7fmuWQKmoi56+pxn43tLzbPDBf4A= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6DC64F80515; Tue, 26 Oct 2021 13:17:39 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2C22EF804FF; Tue, 26 Oct 2021 13:17:33 +0200 (CEST) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 15158F804AE for ; Tue, 26 Oct 2021 13:17:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 15158F804AE Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HoT9mSWR" Received: by mail-wm1-x335.google.com with SMTP id j205so13044930wmj.3 for ; Tue, 26 Oct 2021 04:17:20 -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 :mime-version:content-transfer-encoding; bh=ZUTQPGMld1NjfHqBeBgP6Q5d4oV2F6unCGQSSDbPgkI=; b=HoT9mSWR02oI0cJdFN7jh5/Qf8bpowLGwY80xHBAgSwrF2dQOHSifYlFaRxs3xLcku fsA4YIVQkD8bTt2OC1exa7yOBUz4TzZKFtm3IOKHWh/y3jqZa81UGUA0i93l29L9gIpx 3405qym9sWSms4I85qAw5Okg570DntU3TG6oNxxS/Q1V+kPZRTGXDx9IbxyTpuIbkoEb OqmlUtzdmn+Uqlb/7kKRIPT1cmWWu73DTdPuMPsF8rrmRtTgvfnsxfOyWWbL6giBQtEL cU6RPfpwA1X/oFe5EmT02HKW1ev44w/TXxKoDz6gM+IqaFp5zhMELRnRXSa+ES0dj9UE IFAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZUTQPGMld1NjfHqBeBgP6Q5d4oV2F6unCGQSSDbPgkI=; b=sSImaHJd9gtY4dck7tyqA43J35q4v5R3k4WjTls8cyF0meRfd4IDC0laQfoibl5O/f i+KMkQ5/nNGuLTrSvX2Z6BtE3SQsATG/z6IBvj3/AXIr6d59y2JlwDY+mSXEU+n8RTBm BJS4z9UZl2I1ze7s8+NrsNiWg7E1Oooy62PeS2iWjorZf3kSQybMo9OyB9UyVlcXCcJF U+47UYtBNvL6EIwTlyYE6wv9B54EOy/vvaKBuVfeBlHUdsKm2HqwgvVzamboxca0yImC rGK1UhBGQMqrEdNyyI4AcgAYSY44JBJerCyvL+EhZltguYQWMzV0IqqFq197tx+wzzzA /P/A== X-Gm-Message-State: AOAM530XJl/AJdZ1Ye+B9Nx9kPVRc4LGsahrAQk/FdP9GOiJOeTe0uSC qycaoeRBrchStAOhMZlNezh1uQ== X-Google-Smtp-Source: ABdhPJzQQ6++lOSni9mgb5nZVK0QIU7uvdyNlgihsXqvFpfRauYAYHNfofnfbBa05Yt1kX/H5wsSug== X-Received: by 2002:a1c:f615:: with SMTP id w21mr26551011wmc.16.1635247040043; Tue, 26 Oct 2021 04:17:20 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id l124sm355483wml.8.2021.10.26.04.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 04:17:19 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, bjorn.andersson@linaro.org, robh@kernel.org Subject: [PATCH v11 08/17] ASoC: dt-bindings: add q6apm digital audio stream bindings Date: Tue, 26 Oct 2021 12:16:46 +0100 Message-Id: <20211026111655.1702-9-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20211026111655.1702-1-srinivas.kandagatla@linaro.org> References: <20211026111655.1702-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, tiwai@suse.de, plai@codeaurora.org, pierre-louis.bossart@linux.intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On AudioReach audio Framework, Audio Streams (PCM/Compressed) are managed by Q6APM(Audio Process Manager) service. This patch adds bindings for this DAIs exposed by the DSP. Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- Hi Rob, You might see a dt_binding_check errors as QCOM SoC relevant non-audio patches in this series have been merged into the Qualcomm drivers-for-5.16 tree, as this series depends those patches an immutable tag is available at: https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git tags/20210927135559.738-6-srinivas.kandagatla@linaro.org thanks, srini .../bindings/sound/qcom,q6apm-dai.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml diff --git a/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml b/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml new file mode 100644 index 000000000000..5d972784321d --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/sound/qcom,q6apm-dai.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Qualcomm Audio Process Manager Digital Audio Interfaces binding + +maintainers: + - Srinivas Kandagatla + +description: | + This binding describes the Qualcomm APM DAIs in DSP + +properties: + compatible: + const: qcom,q6apm-dais + + reg: + maxItems: 1 + + iommus: + maxItems: 1 + +required: + - compatible + - iommus + - reg + +additionalProperties: false + +examples: + - | + #include + gpr { + compatible = "qcom,gpr"; + #address-cells = <1>; + #size-cells = <0>; + qcom,domain = ; + service@1 { + compatible = "qcom,q6apm"; + reg = <1>; + + #address-cells = <1>; + #size-cells = <0>; + + apm-dai@1 { + compatible = "qcom,q6apm-dais"; + iommus = <&apps_smmu 0x1801 0x0>; + reg = <1>; + }; + }; + };