From patchwork Mon Sep 27 13:55:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 514706 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp4144392jao; Mon, 27 Sep 2021 06:56:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSiN6y2LKR9OKIpnt4I4rBJc1Zb4vyW9XCB/rfaeY7pktRyyt3DfOj37QR/WL+raomClkl X-Received: by 2002:a63:4a48:: with SMTP id j8mr16531165pgl.393.1632751003883; Mon, 27 Sep 2021 06:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632751003; cv=none; d=google.com; s=arc-20160816; b=xIV+JOYqP8Un3+bGftJQ9sviZBH8rDYSaWZbca1qttNI2OsLAk7vkxrV+OsFH+Txs6 M/taPdLnXtx42jevUmEuBHMMzWB2nep8PNaGbbm+KTmlIQpdSrsppThFW2rQDh+ApE5y 5lCmIT6Z3z9WNakfqvUZIOwPL9/KM/KG8u7a8AkxBx+2T7RoNT63K9xKiTtizxL/Gq2z et60iUNU3KcMP+vOtYTKSsUGS5O7m5Hn+Xf3hq1mMgxFMrE4/NCzUzC5psD7tgs9ZdNu PmwPRE++eveGebcGlwCmynfDyWQ063J2qYBqKMk/qMvTQ4SyUgUBsB2iwgNRJs/YXPfw 6CZQ== 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=LB4AOPm2EAKzd4eXMsI54ofhGyse6R2DsRvWeXhhKZHcrhP97HB1BquLM8t6q/BEQe cML+4OK2HlM8jlgwxCVF7wOpBenKupSORO8zB3LuE/Z4/h5Y8BrNSqxmbKhn1zN91n/u GGfsHe+SqfxeeYuw0KW/SHiDAB5MRKRFmxxiJcTJYspA2GX0y+/XC08U9EFbygurCERV AGnLse+U6LJctrEZwPzsjCDeKMriZEnLMjSiy8XdcHNyEvCi7dq24+gmKO11YV9i8JRG UxahHfCMDKSHD+K97x5Qdi0USk5hDsmYspAOuByJinSsyM0NK8NMimJB+SddYnTSzJgj w/cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QhW2b23S; 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 lx2si22295696pjb.61.2021.09.27.06.56.43; Mon, 27 Sep 2021 06:56:43 -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=QhW2b23S; 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 S234668AbhI0N6U (ORCPT + 7 others); Mon, 27 Sep 2021 09:58:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234667AbhI0N6U (ORCPT ); Mon, 27 Sep 2021 09:58:20 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80920C061740 for ; Mon, 27 Sep 2021 06:56:42 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id x20so7457858wrg.10 for ; Mon, 27 Sep 2021 06:56:42 -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=QhW2b23SXyuEaheFD2fi3QY3VWRNyHwbOdpagD6nZXsmotZ5Ns1Egv9moaBLY5pcP5 mRmIveuhiIgVsZIkDFPUGLDTrO8GhrkJ3032PYsYBRWC2kMGMB+S8lM1qVgApxtVoYYR xaMlA6rdaRnugAFTlcPAvHBgt5qThesA7PgNwKDHXFripCL9Rxmiad690GANm/ki1QGc nLVfzVCHumPKyQvZhZsBVItv/noVmm+I3i2QfDW7q02ayzWnh1ViGQoyLMGDLaQYd1Pz JpmFZSaXFb0tW8CVpVuW9JmUdNmUJSWtyictuGG99WM3QhnAWwO7RBWbp+Cw4tN85ZnH nEzw== 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=zUyvCHL5ixOqSg/yGxfVIW4nQY0liCA6x1yHC+zF4QAPNPyMU4/KEU5nYAWYrC9u// 49gp8ETrC+fs0Hz8VNv+lIoYiSAlUAG3Mrlm2a1agPUnJ2OT9p5XPt9TMuQMNhLUHj1A HGch+d64p+tNn5+kFh3umz44P/563vQ10iwdMYmnvAUFA6ib72Ght8xx2iMRQxXQ23R/ RVV+FnQAYLT/Yk9/IRQK4Xf9yb8StcfHBN1gWamPPe288BDSEE5uoY/hWkvqE1gHUVXc QRSsNdrB/tXwRH+04bxy4LtSf8e1oB7B18O96gWeRZGClVQJqPioOOMx7x21MJmV9Eae +TsA== X-Gm-Message-State: AOAM533iwhHztzXjK9ZEiJcwjewPzvAZHQJdMeExX4gA3leV4WjrGoky kqa82oXYZ6KBebe/vwqQnoNV4g== X-Received: by 2002:a5d:4a4e:: with SMTP id v14mr27979375wrs.271.1632751001157; Mon, 27 Sep 2021 06:56:41 -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 b7sm20485606wrm.9.2021.09.27.06.56.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 06:56:38 -0700 (PDT) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org, broonie@kernel.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 v8 13/22] ASoC: dt-bindings: add q6apm digital audio stream bindings Date: Mon, 27 Sep 2021 14:55:50 +0100 Message-Id: <20210927135559.738-14-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210927135559.738-1-srinivas.kandagatla@linaro.org> References: <20210927135559.738-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>; + }; + }; + };