Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2371787rwb; Fri, 11 Nov 2022 08:24:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf6dBB/7BfbZa/Pldy8KWOtKgFVnoa4d+bEmdhJPrIhqlTy8UtvUO/WEehSWct+CijXLf3KF X-Received: by 2002:a17:906:6d88:b0:7aa:7c3f:8603 with SMTP id h8-20020a1709066d8800b007aa7c3f8603mr2500389ejt.322.1668183863973; Fri, 11 Nov 2022 08:24:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668183863; cv=none; d=google.com; s=arc-20160816; b=DEbIVs2wI3hzDqAxGjDkDGHgPnoVJzcxuArH0Cgmise50Isci34PeCnRFnKmquFDlv Zc4ZpMrvJeU0vMkjuBNQG2kuT4pead7bip270CCgZHaJiiP2fxWvyL4o3lgWczNQi2Rt Ql3jU9Zh4eN3NquL2sOlVHfXSfm1FdNYa2qvd8dmpktj+MCVKoA2YPYnDMj0U5TzPrEW GCZ2EbrdCBAchxxi1jnCBbiJ5qLBQTUQZ7HBpvtc/9wK7eU6S+fhwxClD9gmuhCuwUJj XKdcNebuTthZXFgoQnLrOlyVr9wWGrVCiFis1kvaOl0wHRBSTneaeHoop68cRCpZWNOh TuFg== 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=+g7U9kSnqY5Btf1Uczn6Yzb9ePFiuOCe7hrx3U2q9eg=; b=pmsWopOhXgnZYM//+1e8xZbiJvHAIw4U3K8pk2wCWuUB6ghgyJrQjGMyWmnCraJ59i dlW6m2o6ee6acCmB1WISD3v3Pqy2BF6AcKZGx+Bnra6+HnasicTeOB4MG63s8MiT/oFp 0i0u5l1daLZQ5XPBubHYuB3ZLIrySE5WWULqacmNfBq4tDmqPQxlnaQH9NviS8Aw9UYn kBCoS3fF4ElCK20F1zQ7ueuJKZpaQHodcor+9wHLUa8qMzxpR6G/3WdE9dIU464XMzwd PtZTCXsH8Bw25jzYpKfYIGj5fiRDvCuJ4QqVm2gKvcs/B9P0AXOuVcqTSno8YzWDxjpY uB0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dXV1z/nL"; 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 r22-20020aa7c156000000b004615ccd71a0si2272640edp.162.2022.11.11.08.24.00; Fri, 11 Nov 2022 08:24:23 -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="dXV1z/nL"; 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 S232985AbiKKQPg (ORCPT + 92 others); Fri, 11 Nov 2022 11:15:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232979AbiKKQPd (ORCPT ); Fri, 11 Nov 2022 11:15:33 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66F74DEE8 for ; Fri, 11 Nov 2022 08:15:32 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id d9so2382496wrm.13 for ; Fri, 11 Nov 2022 08:15:32 -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=+g7U9kSnqY5Btf1Uczn6Yzb9ePFiuOCe7hrx3U2q9eg=; b=dXV1z/nLCtHcsGAbmd4/sx14M+hs3Ax/nNV5scN6gizbeIVexySlOyS5zUoS3OPt/p o+zw1LKg3h2Q6D5yNE/TV7M1kr/AEnFQwoIl9pu0WrtUbTRqnMs5IAQfkSYZP8cINSSB uORi5kmGGzyosszvsx/vS+4dd+HrBMnNxkwCR3yPzStI/daNQ2eWf7IvtB4dCGcWJNBR LPyfGjOKIHeBUjFyiC+HdZspFxlmUEcdVi2AVVNwIx2NWWEr9B16FyGLKPiiJUZHBU9e 9p7Lb46FAK2V8ddFLF+FXU7BuouHtvHiH2pe/7nA6jS/yjN2c09MZ7lFM5XqOJxIsfwe 6Mig== 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=+g7U9kSnqY5Btf1Uczn6Yzb9ePFiuOCe7hrx3U2q9eg=; b=sF8z2sNcgmR7VyrEFgLxG+/UGETn4ch91tmLZ6vJMyk+6Fpp+5vsCs5RRw4j5wCOgm uneEi8Y04W2T30WHNI16BUMOohDhbcTJduCTj4RtbGU/TMFpYnqu/370o5zoZyujSWd6 SaPDaaSd+LeXLTQXmsvs1CF/nD4jDuqb5PUUmPizpu+odijMRBehAXmawv1mVWXLDpQc 9YddvlPOMXm4mJ0qpUgifMZAj7o5SVkjR9J+V8DBCbe6mrxM49ITeiSgYvZMmnIXUjyX SSKuFrjadta8h0elDgSOtZR7Q1vv0IMitTjeUz3czLtjHi+MDqDXk2hS+eWX4MNXyAq6 lITw== X-Gm-Message-State: ANoB5pkSkffoZXoGYStQE9YlDFlvr++ajxwIFlkDup4U+b8U/q/+PMyF Y6U3v2a3k3HgjY2+zvkr8jd7nQ== X-Received: by 2002:a5d:5913:0:b0:236:e0d:9ad with SMTP id v19-20020a5d5913000000b002360e0d09admr1751304wrd.692.1668183330925; Fri, 11 Nov 2022 08:15:30 -0800 (PST) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id j5-20020a5d5645000000b0022da3977ec5sm2183279wrw.113.2022.11.11.08.15.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Nov 2022 08:15:30 -0800 (PST) Message-ID: <06da072c-8cf0-8181-3c32-4592fe41f9c2@linaro.org> Date: Fri, 11 Nov 2022 16:15:28 +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 00/10] ASoC: dt-bindings: Rework Qualcomm APR/GPR Sound nodes for SM8450 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> From: Srinivas Kandagatla In-Reply-To: <20221111113547.100442-1-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: > 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. > > 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. > --srini > Best regards, > Krzysztof > > Krzysztof Kozlowski (10): > ASoC: dt-bindings: qcom,apr: Add GLINK channel name for SM8450 > ASoC: dt-bindings: qcom,apr: Split services to shared schema > ASoC: dt-bindings: qcom,q6afe: Split to separate schema > ASoC: dt-bindings: qcom,q6apm: Split to separate schema > ASoC: dt-bindings: qcom,q6adm: Split to separate schema > ASoC: dt-bindings: qcom,q6asm: Split to separate schema > ASoC: dt-bindings: qcom,q6prm: Split to separate schema > ASoC: dt-bindings: qcom,q6core: Split to separate schema > ASoC: dt-bindings: qcom,q6apm-lpass-dais: Split to separate schema > ASoC: dt-bindings: qcom,q6apm: Add SM8450 bedais node > > .../bindings/soc/qcom/qcom,apr-services.yaml | 54 ++++++++ > .../bindings/soc/qcom/qcom,apr.yaml | 119 ++---------------- > .../bindings/sound/qcom,q6adm-routing.yaml | 22 +--- > .../devicetree/bindings/sound/qcom,q6adm.yaml | 51 ++++++++ > .../devicetree/bindings/sound/qcom,q6afe.yaml | 69 ++++++++++ > .../bindings/sound/qcom,q6apm-dai.yaml | 19 +-- > .../bindings/sound/qcom,q6apm-lpass-dais.yaml | 32 +++++ > .../devicetree/bindings/sound/qcom,q6apm.yaml | 67 ++++++++++ > .../bindings/sound/qcom,q6asm-dais.yaml | 48 +++---- > .../devicetree/bindings/sound/qcom,q6asm.yaml | 68 ++++++++++ > .../bindings/sound/qcom,q6core.yaml | 39 ++++++ > .../sound/qcom,q6dsp-lpass-clocks.yaml | 40 +----- > .../sound/qcom,q6dsp-lpass-ports.yaml | 57 ++------- > .../devicetree/bindings/sound/qcom,q6prm.yaml | 50 ++++++++ > MAINTAINERS | 2 +- > 15 files changed, 477 insertions(+), 260 deletions(-) > create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,apr-services.yaml > create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6adm.yaml > create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6afe.yaml > create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6apm-lpass-dais.yaml > create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6apm.yaml > create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm.yaml > create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6core.yaml > create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6prm.yaml >