From patchwork Wed Oct 6 11:39:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 515313 Delivered-To: patch@linaro.org Received: by 2002:adf:fbc8:0:0:0:0:0 with SMTP id d8csp563142wrs; Wed, 6 Oct 2021 04:40:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoVYVovvpS+37Aqlxk5hsW1u26M36WNUYfNbV/b+b4VOCrGRUFgTyOVGfwWeesRYDyEaI4 X-Received: by 2002:a17:90a:7d11:: with SMTP id g17mr10567215pjl.150.1633520419437; Wed, 06 Oct 2021 04:40:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633520419; cv=none; d=google.com; s=arc-20160816; b=vkuEZ713tdcHEuPeEHUZxMGL6lDVvh5UiuAodPkZTgM0Scth+jRId4Ne6vbrUn/EOK ezSQh6WXj5DbEdcgSbZqNNGkuFoIKZXtxSRkKCbGEeN5bept1S2T/uy6cAzu+iNRUDJy tnjOQhACG7bc1frf5w8rWdVvh0f4SB/mhrpg1vbGBdXg/NV6THn1IRUf6OY6wqGRV6TR 57etagSvprXtMyP3M2JmMZaV+Rpfhgj5uimcKQ0rGjNewuOucQpnMzeLFG4A9zVqKhDB nQ9U8qVNGDVqUk0sZ9IyXMeUlmpl/2MI6Y/5vOBsp70KOvU3KqyLWKMqb14n8xQqU6+R /j7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kwISwd5A9r+96Ga/POOsImhvVy//AhRYwgp/dJ/hQjg=; b=P29pi3Gmo2sOXNtwBrzGQvZkPLDYZ1hGjqbCXIB289z1H12ozKlvpOHqjw5XEioKOz gVJFgyEob5ok1z8EfdXxrMOKFoA0xtQgddq9yHRzSHYMfXvbeI9N+LuoW+VWIvcFd4Xj GlChH1jJsVGiows/CVrZAIoCB+Yi4AKyzi8bjoTNd7NQsoXBtbc97ghs8pa0AqrG6vDd 2OATBeDw5pHV4/JKJGj/JYAG0RxAjTBazi1V3ce3mXOBQd+rVr9fvNWJ7ZD2pf5JLARm 9Q3d317F6eYVzzKI6R7nZMwty5yIsuhbPjIanZBEsUqHC2cxJxNZ/IV6v2fFrBoGVAq7 3BiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XJ38njgw; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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. [23.128.96.18]) by mx.google.com with ESMTP id o22si32587717pfu.175.2021.10.06.04.40.19; Wed, 06 Oct 2021 04:40:19 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XJ38njgw; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S238106AbhJFLmK (ORCPT + 7 others); Wed, 6 Oct 2021 07:42:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238143AbhJFLmJ (ORCPT ); Wed, 6 Oct 2021 07:42:09 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 250D2C061755 for ; Wed, 6 Oct 2021 04:40:17 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id t8so8003709wri.1 for ; Wed, 06 Oct 2021 04:40:17 -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=kwISwd5A9r+96Ga/POOsImhvVy//AhRYwgp/dJ/hQjg=; b=XJ38njgwQsb7nAp2wTwdGTXZGI4OfPBun0knvwl9Y1u9mpLucDYD8gjjVwnzdjF68m Luz7xPd8hnsYmyijDZHf45Mz5tmslGb7gRMxqhAEB+WTnOSFmEC5RjeckDbwqfw8nwJ8 MeHKYX05ZOyPtCcuuDO/fNjc+LLTZ2Gpq+tuXsD9ceOTD48hcon1zswKJqCJG1qdFx+U kzw8CWV1nu28hAs86kDfwtkng6qKxi4zsE8AKz5HAwLsLiWl9kFm1RqP3x4xkJZCheDI VxeZAjQY4Vx6XGpug4J2w5uLWJsE+CmtAmWn/sw/Zf8DlKTipwODTRFvNYNzGYFj+HkR siYA== 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=kwISwd5A9r+96Ga/POOsImhvVy//AhRYwgp/dJ/hQjg=; b=mWoQS3WJzP4JRA61v/25mFAg9SfNiMwdf+uyWr4Jko03ALc2CDg/aWimTdDvkHExPb NF5Bpv1eYAh+wtOIxV2vZf2jM8NzO+qQazACrg1nlZQnpvsDJtvmozRO83R42hGiUCqE MMr/03VsSCBoPGrEhkv3pG4izjKWAqqtem7q8edUdJ2pMX+KHMd1jYEDRWDqunQF4D1d loPi/c4VpOognUOkGXDFl/jKqLAQ2RaS6mIkN26HslbfHXZDyif4RLybp1AU1jfs6cLT APkwPsB4y+bFiXaoiRg2gY9fIqgl130pDCy8dZ1FuSPMsH9wht6i9VgWe8SBP2ZLz1S7 EtBg== X-Gm-Message-State: AOAM5310KhARGBFMUqqzePtqQjIKf562suao3qQ5b1OFpuUPdWOkWcZR nxZiJ31egQp6lv/oagPih7NQRd0stud08Q== X-Received: by 2002:a1c:2c2:: with SMTP id 185mr9304840wmc.85.1633520415700; Wed, 06 Oct 2021 04:40:15 -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 n11sm5540110wmq.19.2021.10.06.04.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 04:40:15 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, bjorn.andersson@linaro.org, robh@kernel.org Cc: plai@codeaurora.org, pierre-louis.bossart@linux.intel.com, tiwai@suse.de, devicetree@vger.kernel.org, perex@perex.cz, alsa-devel@alsa-project.org, lgirdwood@gmail.com, bgoswami@codeaurora.org, Srinivas Kandagatla Subject: [PATCH v9 08/17] ASoC: dt-bindings: add q6apm digital audio stream bindings Date: Wed, 6 Oct 2021 12:39:41 +0100 Message-Id: <20211006113950.10782-9-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20211006113950.10782-1-srinivas.kandagatla@linaro.org> References: <20211006113950.10782-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- .../bindings/sound/qcom,q6apm-dai.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6apm-dai.yaml -- 2.21.0 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>; + }; + }; + };