From patchwork Wed Sep 15 13:13:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 512210 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp170484jao; Wed, 15 Sep 2021 06:14:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbzu9OxqN5zhpxkVob9062uqwTT0ixM+jS1siEWbRLWfRglyUH7a7tHgK2IRcQHkQ8/3HG X-Received: by 2002:a05:6e02:144c:: with SMTP id p12mr11280252ilo.292.1631711698761; Wed, 15 Sep 2021 06:14:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631711698; cv=none; d=google.com; s=arc-20160816; b=0ivkBIpBAfO24OC+jQKZN8brujxNKwSpvDIN3cWnd3CveoO+BvRWdH83zmyrB2jZQD 5g/kYhaEFTdaB+zBCOOw0vb38F0BwSlvbhYgFTcqETb6ghBLneFhhMriPYGQZiVBwBCn KaAWTVJaDlZLIim7cVTLStl7v18cv2rHaoiscfV2O73kIrsMfuyMTFjRuvUFrYlckewq YE3WPbHrCWc5iLkUP96ydV+/Ul5qkAJXJ098cJSRTHH0NHojspNsrQLT+Qo+y7f7llAn LLL2eN6iXes0Mo6nA8RIzYdutQ0APWXfeN3pmbBjytAF7XUui7Nmb0gGj/Enz9IUJ3i5 SeAw== 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=0TebeQ0TXJpETl5yyZtrFs6HbXMx9cchKOW5rtUhE/g=; b=eW7oAYYDk/LHR67iQLDqMt8F9lyzy9QVvnAO7/xm0UpbGOxaFyIPhZXxiXZD+NCrKu ii8fQTGhrPxhzbEnbE+DQWCszUK6m7RhzFkYOnZzIUqb6GdcL4lv5GlTdKPHol16Gxrj y6YjqpMX9sP2Y7dnwRYOmCxJqTWZZW18Gls0OaWs0OwnuxURHVLT86W2w7ZDDLgsb0oF sg3y33FycKa8q2F+zl6fNBjrq8rV13BGwm+0gvARYb3na/MUgvruIfvDNDXx0XSTsbod YVfVen8SE1GKsBB6+zKNFwtlN/mVK6m3y1CleRPI+/9XxcG5etW0GzmdH7A+UJLZIPHj +4UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VKAKkRSc; 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 t6si3200041jac.110.2021.09.15.06.14.58; Wed, 15 Sep 2021 06:14:58 -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=VKAKkRSc; 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 S233450AbhIONQQ (ORCPT + 6 others); Wed, 15 Sep 2021 09:16:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234205AbhIONQO (ORCPT ); Wed, 15 Sep 2021 09:16:14 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FACCC0613CF for ; Wed, 15 Sep 2021 06:14:55 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id t8so3860479wrq.4 for ; Wed, 15 Sep 2021 06:14:55 -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=0TebeQ0TXJpETl5yyZtrFs6HbXMx9cchKOW5rtUhE/g=; b=VKAKkRScP2Ss7XNPItGNsO1kHw6FNFTif5cWTVXhySk5F6VRJ+fLUog7QgeiShPYUO mUGT7+IkarbckNzxoqp1V70mN1dB76PTVj5vvR1h3zV/4NX0U2MtxYAHauRfwPOFaiwE csDWwu6irQRRt0n7bvz0AkWEPP0YzHgVGhXJAOm0akilJsumku1paDzbNAbtH0CHT9bz uThRfPR306qXDNCp3JOpFADItDX7fi0XcFQK1psecoQQfiLRu9Z7gQDPiiUJIBj79rN3 DRv8OYFTlWjlCeEoErQq1qkR/sz9ICbFKwZdQFYwXABSA6XYhBjgnOjTENtQdYoXk0uc WlEw== 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=0TebeQ0TXJpETl5yyZtrFs6HbXMx9cchKOW5rtUhE/g=; b=JmRvrydD+xZlb5s/2weQHP9Ox9xlqmVMSi3gh6+Noh0rd38e50qqYz5xlNye2myUyk sGGZpOGUmYUnjZnqEVK234oikawoic7sql56xNTDE1OM2I8Uwzgou8pXNAD18rBy2CKo EGYVGY0awm2ySibvczTl82aDKcd3DxS0K4FREHUE8yCRS0w0+qjPYKZerxHS6x+hzeRq KsYPF2xLly8qLGqi+tTZG0rz4jlEojwqqGCRw1Z1JaGFGzWnpYiD4HRp9Zwh8Yg1qNXr 4zZT/jFs8g6W796Oomt9yh1sxd5sp9rBzXLZemJkVQyyj5gs6Y4Dh+ouDmBpaZwhaE/c 5yDg== X-Gm-Message-State: AOAM532ELBsNwpfvLWPoMM40qVBrvfbJhYLXeT1ohlDFih9xpfj6X6gs pJSAoGXT1laClDEFgWZxUl1FnA== X-Received: by 2002:adf:c550:: with SMTP id s16mr5138535wrf.25.1631711694296; Wed, 15 Sep 2021 06:14:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Sep 2021 06:14:53 -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 v6 11/22] ASoC: dt-bindings: q6dsp: add q6apm-lpass-dai compatible Date: Wed, 15 Sep 2021 14:13:22 +0100 Message-Id: <20210915131333.19047-12-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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org on AudioReach audio Framework access to LPASS ports is via Q6APM(Audio Process Manager) service, so add a dedicated compatible string for this. Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../sound/qcom,q6dsp-lpass-ports.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) -- 2.21.0 diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml index e6148c17419b..dc7fba7b92d5 100644 --- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml @@ -16,6 +16,7 @@ properties: compatible: enum: - qcom,q6afe-dais + - qcom,q6apm-lpass-dais reg: maxItems: 1 @@ -169,6 +170,32 @@ examples: #size-cells = <0>; #sound-dai-cells = <1>; + dai@22 { + reg = ; + qcom,sd-lines = <0 1 2 3>; + }; + }; + }; + }; + - | + #include + gpr { + compatible = "qcom,gpr"; + #address-cells = <1>; + #size-cells = <0>; + qcom,domain = ; + service@1 { + compatible = "qcom,q6apm"; + reg = ; + #address-cells = <1>; + #size-cells = <0>; + q6apmdai@1 { + compatible = "qcom,q6apm-lpass-dais"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + dai@22 { reg = ; qcom,sd-lines = <0 1 2 3>;