Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5477889rwb; Mon, 14 Nov 2022 05:22:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf7v1FpDxzODi2a5+Ru4lk7ZzgLdWWW2e9thHB9lRX2LjWCcLayFEUqkZWzotrE2PLKWM3s3 X-Received: by 2002:a63:5554:0:b0:46f:7e1c:77be with SMTP id f20-20020a635554000000b0046f7e1c77bemr11988181pgm.32.1668432162187; Mon, 14 Nov 2022 05:22:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668432162; cv=none; d=google.com; s=arc-20160816; b=EylxMxLSGkOGDQoYDLJ0HfE0b+oBzXxe8hwMf24kOL48uZ0STQEwxvapbbP6py4CBi DF/mkeD69U3ZALJXpWj2DWbOzaz+ybC3EC/hZJBubTO5NrG6aYPQ9FUfXjRjBqKrhcyt OYkhnnxQmOxnbz1vyF3Z1icq2ILODaawPeTfanxIIfIooJgmxcfUUHa6MDc9CmVdWcQE RMV6bFEsM8zPGBFqvbIlXNowMPOAufab0BFAS0Re9xt8chy3YaqmkohvGRRdBkPVqVCI VPY1m5LqNA7lUImUMUHp8/70x51MEb6K6rHhOT0LZvEBBxDZTwWlcYlSDiXxnTt+dQu3 Q8Ig== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xq2tLSCLZkgPzxgMCTyBgdDINhDq1LxipubitB9NtGc=; b=obaLrvWyqPKm9PIgYlrw7ip5ixeGM/0Es39ZjYsbw5fur7G8fspYRZifx1brVnKchi VC2Yx3AgOvIZtmYSQ1+R9Ehfc3l8+3VWDkUP5Yqyk9ChZIt/vGv04U8OmJ2bzc3Q3vC9 2E8IyEwFJfJy2QzTPugXxRUJjssK9SXmxR0Zf2BODXasm1rNdPuE8Ywo7yUjS/ndI3JK 6/ksenIsNHDwGpvbhnhF19gUg3XEMwWxOoaXXJZ5cm2fhAJ33WexJUt9LtNya4fyjuQP tLJCN74TzfGVfxCYnuSf4hHIKVzvVmF8mZxuzWiAzJmF7UdHGDqtr5LZmQS5i0aCs9cN ws0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jp5LIGFy; 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 o11-20020a170902d4cb00b001869ef16477si10855042plg.356.2022.11.14.05.22.31; Mon, 14 Nov 2022 05:22:42 -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=jp5LIGFy; 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 S236793AbiKNLzL (ORCPT + 89 others); Mon, 14 Nov 2022 06:55:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236725AbiKNLys (ORCPT ); Mon, 14 Nov 2022 06:54:48 -0500 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 A7D672E6BF for ; Mon, 14 Nov 2022 03:50:22 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id h9so17759122wrt.0 for ; Mon, 14 Nov 2022 03:50:22 -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:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xq2tLSCLZkgPzxgMCTyBgdDINhDq1LxipubitB9NtGc=; b=jp5LIGFyzgk18hF30BUu0NW++CriKjixjmz09zSAaf+g7nwjzDof+dXGKg6RhtzK3B vWzHHt82Av++1rTsXceQ0OgBcf+nrBHDKS7ZZakYiZP5LEP4PSp5lGeo6zXWZdjCZSGy uVCQpaR/YYBwADrGEdpTEvFgl44KhnkYC2qbSL7nGNY/C8PHlVmuWGLVq3wvjzlRmBVq l6D52DiE8OySgVb5fHw7yeAsNdx7u6ANS/KGSLWfALg9ccfhigNYytzy1CzCqpu6JPtJ OoluBvWlyFEGwRPUyR6NpzC7XvNTNbaCUalAp8bXsdu0EObbhpNNmdBJNLXJaOJPIVph lJdQ== 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:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xq2tLSCLZkgPzxgMCTyBgdDINhDq1LxipubitB9NtGc=; b=OaJ6TMkOCDeOkUxjS9WPJ3b2ju1QsxMwvyiEKUMAAFV010NNUJUVZj+NDXGw+MNwgv BjI/ABDVHVOW8o29+HPaghourZlK7oZ5HZy3iWsGTpC1oED5XeeNrie1hDrhO1iPoPqn 5LVflhpEQ1xPp1P6AZZc5QVB7Psb/4QtVRGhk12LuWyujTK1G46OiVJHuGIwA+4t3SSP 6q4RVfqk3mnavTyDN4EMAX6BbRr+FFFOkp87oFtxgswfHA+8urO10g+AxAXnI89IR+ab HaeqOo60OWSmmNmEAosReGDnAQIpd92qx8Kod2YFs69QxvB8tpsFlZFENPk8ZZh7V8xq JHuw== X-Gm-Message-State: ANoB5pkWYvWgnHN8qpYB8peOonAqEaOCCwwuE7aQD5ucaUF5LXPVhsMj ZgC4kL4JF1lPP1TLqMbB+AqnSA== X-Received: by 2002:a5d:6e55:0:b0:23a:239b:7e73 with SMTP id j21-20020a5d6e55000000b0023a239b7e73mr7200305wrz.233.1668426620997; Mon, 14 Nov 2022 03:50:20 -0800 (PST) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id x11-20020a5d54cb000000b002415dd45320sm9329910wrv.112.2022.11.14.03.50.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Nov 2022 03:50:20 -0800 (PST) Message-ID: <48883bd6-217d-f513-316c-2b5caf486e5e@linaro.org> Date: Mon, 14 Nov 2022 11:50:19 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 00/10] ASoC: dt-bindings: Rework Qualcomm APR/GPR Sound nodes for SM8450 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> <06da072c-8cf0-8181-3c32-4592fe41f9c2@linaro.org> <0ee5db9e-d80c-947d-73d6-6214e9299b23@linaro.org> Content-Language: en-US From: Srinivas Kandagatla In-Reply-To: <0ee5db9e-d80c-947d-73d6-6214e9299b23@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=unavailable 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 14/11/2022 07:48, Krzysztof Kozlowski wrote: > On 11/11/2022 17:15, Srinivas Kandagatla wrote: >> >> >> On 11/11/2022 11:35, Krzysztof Kozlowski wrote: >>> Adding sound support for Qualcomm SM8450 SoC (and later for SC8280XP) brought >>> some changes to APR/GPR services bindings. These bindings are part of >>> qcom,apr.yaml: >>> >>> apr-or-gpr-device-node <- qcom,apr.yaml >>> apr-gpr-service@[0-9] <- qcom,apr.yaml >>> service-specific-components <- /schemas/sound/qcom,q6*.yaml >>> >>> The schema for services (apr-gpr-service@[0-9]) already grows considerably and >>> is still quite not specific. It allows several incorrect combinations, like >>> adding a clock-controller to a APM device. Restricting it would complicate the >>> schema even more. Bringing new support for sound on Qualcomm SM8450 and >>> SC8280XP SoC would grow it as well. >> >> Why would this grow? All the dsp services are static and they will not >> change per SoC unless there is a total firmware change in DSP. > > They grow now with SM8450 which requires changes there. Otherwise DTS > does not pass with current bindings. The bindings before my fixing in > 2022 were really incomplete. Now they are complete, but: > 1. Not for SM8450 - this will bring new things, > 2. Very unspecific as they allow multiple invalid configurations. > Okay, I looked at all the patches, they are fine as it is, the confusion part is the subject and comments which are misleading and trying to say that these are specific to SM8450 or SC8280XP. Infact this is not true, none of these changes are specific to any SoC, they are part of AudioReach. --srini >> >>> >>> Refactor the bindings before extending them for Qualcomm SM8450 SoC. >> >> I dont understand this bit, what is SoC audio support to do with DSP >> bindings. DSP bindings should be totally independent of this. > > APR/GPR bindings are for SoC audio, so while adding SoC audio the first > are affected. If you went through the commits here, you would notice the > changes. > > Best regards, > Krzysztof >