From patchwork Wed Sep 15 13:13:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 512252 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12A56C433F5 for ; Wed, 15 Sep 2021 13:20:45 +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 91DFD61251 for ; Wed, 15 Sep 2021 13:20:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 91DFD61251 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 2C20A1866; Wed, 15 Sep 2021 15:19:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2C20A1866 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1631712043; bh=pZIr869HvnGMHpMOYdNAwaUtmC3QNsCxlK+QDwpACaw=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=H2fMZly263BRt6zz/TsUcIKUWIxGV61uSexzwSdgN9clV9DPynHt/fat0kV7JA1l+ I3y6c9lUax5KftHn+/kdiW6aQimtks6HUSj+pGlVNI3ItFSouMXesPWyLKSy1ajV63 BCV6IShnvHhQ3sFPW94lhfKD+04fxVEEHkTGnk+U= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C4574F8057A; Wed, 15 Sep 2021 15:15:22 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5DC8EF8053E; Wed, 15 Sep 2021 15:15:12 +0200 (CEST) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 5EC67F80507 for ; Wed, 15 Sep 2021 15:14:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5EC67F80507 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nJvOEzs6" Received: by mail-wm1-x32a.google.com with SMTP id v20-20020a1cf714000000b002e71f4d2026so3869275wmh.1 for ; Wed, 15 Sep 2021 06:14:59 -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=GaajfoQqAau0UKWbY5qFjUEbOMH+WVAHfniHoso/nwc=; b=nJvOEzs6UB5elX7UFs0R01PkpLS1TeypZcxaOFYGqj8/UfKoHSwwuglzE+5OcOs+Sj Fm4z/WHaptcT8JyamQIZbXJ9KerOO1pt/OPrndMd89RkNBka1N8HhoCUCl5CHTGFkMJy JN12OWa/sFe/7J4HorCA9wV/9AvNsW6NnmQWI0r3ssMpPbZt+rVOZ7Zp/IcB4amHIjY2 HWf0nikvs4eSxJGEVCY5rDc+Pww2uiXH91cybBvZdNAZle6rY0Le5l8HR0d1ORVv4yFV UKj3o5fdxzSbVi+ILf5ZSMuXpgdG3Cwqsvr8fdTDzFsjeortW7jZ+37BKDcR6z4KO043 g8+Q== 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=GaajfoQqAau0UKWbY5qFjUEbOMH+WVAHfniHoso/nwc=; b=yAOu8vTYW+HqikaKwymPyAtzSNX3gsjZ1MP+9wUWFB0JBdmxGSjlEHBidHoC5woHfa EpHGOla+XiAKmP+iw9WJweuTaa3CLY6DABTfU/cN7Dwm3dPAX8Qb8DbrnJcBLrHXzxMS VXjRQcuBYT/A6eaXMFBK2Dsc79mrDr85IEF1izUB5kdLkp6UtGSh4a9/tu9FKnjB7Yza oZrWFmJ4EwPND5On6wr7oqCCY+WyMsU6uOqBUCDuhPm6GEKbzDvgQXjmWkJP3/5yfFlQ Z1aIcdyrZutK4Mni5cPQ0k5UNSypQjatqfzS0BR/MCbQv0Wt1Y6SGbE+kb1OU5BJkogd KwWQ== X-Gm-Message-State: AOAM533O/zJxNB1YNFJcK9B8QaOlXCtln7rBKHNx9zaunMASzR/DMDwp Yapr7uu7mrHDFge45/eW1WMtNQ== X-Google-Smtp-Source: ABdhPJzi7m1bzrnbEsZ0kgjPXtlQ12jUW6US1Wq7WwxVNzH3kKZZG+u0s8NwAXjWfiLLg4yB4pawtA== X-Received: by 2002:a7b:cd93:: with SMTP id y19mr4388742wmj.110.1631711697062; Wed, 15 Sep 2021 06:14:57 -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 m29sm14501717wrb.89.2021.09.15.06.14.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Sep 2021 06:14:56 -0700 (PDT) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org, broonie@kernel.org, robh@kernel.org Subject: [PATCH v6 13/22] ASoC: dt-bindings: add q6apm digital audio stream bindings Date: Wed, 15 Sep 2021 14:13:24 +0100 Message-Id: <20210915131333.19047-14-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210915131333.19047-1-srinivas.kandagatla@linaro.org> References: <20210915131333.19047-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 --- .../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>; + }; + }; + };