Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5390012rwb; Mon, 14 Nov 2022 04:06:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf59Lcrr2ym6SOVHIYNYaOeV2nTNgltRC6qpCDrh95bVtaMYcIgB+i7Ek0cGPCH8BtRTQlgy X-Received: by 2002:aa7:da99:0:b0:467:31d1:9aa8 with SMTP id q25-20020aa7da99000000b0046731d19aa8mr10646033eds.215.1668427606254; Mon, 14 Nov 2022 04:06:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668427606; cv=none; d=google.com; s=arc-20160816; b=s55dKinXY7XUaSq2CvkMJWGBDVPdcqqE79l58+eWZOTWAyT7xpLEjISVl578OaPXFn cAIUs8UvFhlUpg9UgzLVDB8pboQhld71N6yVAKLbt1r0MGuG8bjtRxLUIyGpXIUSK8oX KbAcpF2Xr9DUj9AcT5/p+/QGiZrx1EiDOc1nk4ovhZE+kCuWEIgWeDI25ZDqxOXn6RwN 4OdauAk5H9J/FzsgO7KUNk4It9+jAQ/fmoE+m6B+WxwNUxMA/f80i2KcNu8aF6R3lM7q Ukk/30KaTNi0407zEdGp5d4jHo9VcqnPrbJBW5jIKIsUG+Vdcyw2pabsYrhdTGLHUxts 1uJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=HD1FJFbm4qiZjnfWZv0nv02BdZLPwZIxvvXLBcQxcA0=; b=y8ibVgU/hlfvqS5leq1ScuP8J90cU0ifJJGH4L/nKfdRG3xp8mkwKUYhCR8bIZDciX FmSFAV/1di9FYxRWDIXPV4au0pSBIuMM1rixyfgq+gTuvHCjoL4INmD91mVB+dfRQ/1e /ypTB6rlRWHxT7+Rrh/7iANamhq9sL3ju2n2hfLNSoybmmMsiNFVK7xkVgCDhVrcafiP ZjFiOOcsQRtkDskHNwopicpvMoRzchg3KS1iBN0rbbMt6qfanWU3HLGDN7ojLDTFBvOH 0xZhiB63yZHH0PPyEhi+fPClEt75d8PbAjnEkbopIMBhOUMPLB6HU6Iui3sIwOazl6ty grdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="QmW79Pi/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc8-20020a1709071c0800b00779a3220c5asi8209986ejc.343.2022.11.14.04.06.06; Mon, 14 Nov 2022 04:06:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="QmW79Pi/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S236319AbiKNLlH (ORCPT + 89 others); Mon, 14 Nov 2022 06:41:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236322AbiKNLky (ORCPT ); Mon, 14 Nov 2022 06:40:54 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EE941A3A8 for ; Mon, 14 Nov 2022 03:40:53 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id a14so17696321wru.5 for ; Mon, 14 Nov 2022 03:40:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=HD1FJFbm4qiZjnfWZv0nv02BdZLPwZIxvvXLBcQxcA0=; b=QmW79Pi/kv1ijN/1fegsnzJHDHy3kLhMK5xERnfBLW2M0pZRGeAj1t27J/Oitxj/7g SG4XgfHWHcYusKaWxzs8mbsyMyfKVyFe0rim95+XX5d9lj4SBjwRUG4vspeAn/Vw96bY /5oy1I22lKS0ag4QNAyM6CfxxyYrOAG2JgyF4f1uepWaW5gL1lw1V/46Zziglr4Iv4LT gn4UPpVWv5WeJXmDfwWgOJ8KQTBmhnOBjwc88b8/YvtKuy4cnImwecsto9d9Haovdvrq 1WCMRLaGdNwVNcWxjeSGjndiK2bcshHuqv+WzxrzMLB4j6c1/1a3oqB4eiSDGjpJ050x IPtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HD1FJFbm4qiZjnfWZv0nv02BdZLPwZIxvvXLBcQxcA0=; b=3fbOVC+08eURaJKKjmWeyUqdm3JVelIk8iovQDz0OL4ErGIFvZsmdIVbBEBbMXwT19 HzcWMKoB8zttyjgS/NQWPa5SUDS5rFypBrTR5ZPL+7stCG63SZHc/jK3CAsnNBMpmV56 m0UDgVB376uNMN9sKqVz4bG+upmRqmx8iN8ZI/cG/mmQe6t+3GJS4H9Qpm9PW50MdOom Aj0l8Z76zaiyKU2iRQGjOmny5mGa8qgFuDCHmI2Ks2xjMK7y5HDXAMoXEEkqpwYf5v4b alUchBCeVsVW3NzUNqXpxGEcxSrCy6MXmBSSmPo7eqFejD4xp2FM04QZ3xHs2sJ8gpp/ lffQ== X-Gm-Message-State: ANoB5pkTKq43xt655bp/P7ctWUE7LGsnLvQXGbGtK7uCO48gUVHy5Ayi gO0fvv0uzAwlwB2GCAnp1ZN6RQ== X-Received: by 2002:adf:cd91:0:b0:241:695c:4eec with SMTP id q17-20020adfcd91000000b00241695c4eecmr7437995wrj.174.1668426052149; Mon, 14 Nov 2022 03:40:52 -0800 (PST) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id z15-20020a056000110f00b0022a3a887ceasm9327509wrw.49.2022.11.14.03.40.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Nov 2022 03:40:51 -0800 (PST) Message-ID: Date: Mon, 14 Nov 2022 11:40:50 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH 10/10] ASoC: dt-bindings: qcom,q6apm: Add SM8450 bedais node Content-Language: en-US To: Krzysztof Kozlowski , Banajit Goswami , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Patrick Lai , Srinivasa Rao Mandadapu References: <20221111113547.100442-1-krzysztof.kozlowski@linaro.org> <20221111113547.100442-11-krzysztof.kozlowski@linaro.org> From: Srinivas Kandagatla In-Reply-To: <20221111113547.100442-11-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/11/2022 11:35, Krzysztof Kozlowski wrote: > On SM8450 and SC8280XP, the Q6APM is a bit different: This is not specific to SM8450 or SC8280XP its part of AudioReach apm which deals with both backends and pcm. In old Elite architecture we had a dedicated service AFE to deal with Backend dais, now APM does all. Thanks, Srini > 1. It is used as a platform DAI link, so it needs #sound-dai-cells. > 2. It has two DAI children, so add new "bedais" node. > > Signed-off-by: Krzysztof Kozlowski > --- > .../devicetree/bindings/sound/qcom,q6apm.yaml | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml b/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml > index 7acb832aa557..cd434e8268ce 100644 > --- a/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml > +++ b/Documentation/devicetree/bindings/sound/qcom,q6apm.yaml > @@ -18,14 +18,24 @@ properties: > enum: > - qcom,q6apm > > + bedais: > + type: object > + $ref: /schemas/sound/qcom,q6apm-lpass-dais.yaml# > + unevaluatedProperties: false > + description: Qualcomm DSP audio ports > + > dais: > type: object > $ref: /schemas/sound/qcom,q6apm-dai.yaml# > unevaluatedProperties: false > description: Qualcomm DSP audio ports > > + '#sound-dai-cells': > + const: 0 > + > required: > - compatible > + - bedais > - dais > > unevaluatedProperties: false > @@ -41,11 +51,17 @@ examples: > service@1 { > reg = ; > compatible = "qcom,q6apm"; > + #sound-dai-cells = <0>; > qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; > > dais { > compatible = "qcom,q6apm-dais"; > iommus = <&apps_smmu 0x1801 0x0>; > }; > + > + bedais { > + compatible = "qcom,q6apm-lpass-dais"; > + #sound-dai-cells = <1>; > + }; > }; > };