Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6711172rwb; Tue, 15 Nov 2022 02:35:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf47lZQ9OglkEuwi1IxG24g9OrCyn5IDHQDpT4xwUyfQK0SS1b3pZYVqWiOJNKn6Ia5Al45n X-Received: by 2002:a17:90a:4207:b0:213:c06e:348f with SMTP id o7-20020a17090a420700b00213c06e348fmr1640489pjg.5.1668508543874; Tue, 15 Nov 2022 02:35:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668508543; cv=none; d=google.com; s=arc-20160816; b=MufzStCVnFOc5JkVBe21nh2uAHmemXJjDtVXgWnT39qTXOm55cN5deuavyubsHpK+q NbVJc6nKrWhgL5dlq9YyIJoMXGI635J0I4FTNaELQLz5FSyzettFWgMw6dDWVO4dzJRQ eKgEa2qiahmhxo67Z69GkAYorely5sBAr2IwozO0Z4MQaRoxlghU2TxU46lNhoaf0zac YPC4Jk8ryXCo46q9g31bWuMTeA5g1y1R1ru9LzLYN+u4rLX8f9/ixZMML+MS+7jT6iT7 RrG8oDTp8sBzHY4GqADXdRMOk1vr7sWmW1ZlmONz8JqaRJFUaO64mvrbxe8y0zO/998H uAyg== 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=3ZbREAzKGWsIEWUQJpy4XElK+ime7W53jXwcpw2dqzo=; b=eQtowV0Zwe9Ffa/GyhyoOuSzGKDf/W808HPaZn+LveZTSR7zTKNlOsz5pRA0Thv6pv AO9h5FmZB5u+pkEfpysbmDcwiuD10gfTb8aQvLV0qaPO5vWqdnauNSfpgQfyXKMERGJ2 9q88L/l0Udc58/2Aqgr5Z7/CYqce3aPzk6PD6D195/Y4tHiFtEE6QmBEHA6kDf1rivWi lBjgPpyLewENHj8L7bepu+x/dVvPaBaD5UZa8lZZMnyUsR6jQNtQwBlWkLHpiaorrnk3 y5UWeFcNVSC6P8X0Up4g1g+kK85Gd8RDIDC98s7Mwg2s06kOMfiE0bWD4Waf6EwVRgem xngQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=URWmS52K; 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 b9-20020a170903228900b0017bcea4e6b6si12743211plh.234.2022.11.15.02.35.31; Tue, 15 Nov 2022 02:35:43 -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=URWmS52K; 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 S229501AbiKOKWq (ORCPT + 89 others); Tue, 15 Nov 2022 05:22:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229917AbiKOKWo (ORCPT ); Tue, 15 Nov 2022 05:22:44 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F7DD1A05F for ; Tue, 15 Nov 2022 02:22:42 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id g12so23753888lfh.3 for ; Tue, 15 Nov 2022 02:22:42 -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=3ZbREAzKGWsIEWUQJpy4XElK+ime7W53jXwcpw2dqzo=; b=URWmS52KU77TWjmjG6UB4lH6yXLsHtFdFoDjqDZDTqW8s8fgbpukZVncpNKzxXkXiK Ig37LGNmjMnu1U2f/1pomq95OJLikyGVyB+4ABQ0POWetHCFlHhL94EXdNn5+7UpOX4Q ZhKHee8n+38c/rLKiVvjJQ8SSexQrhnSFzsNoRNLejRYqPK/7mdYwYG5stAufYWtyK+O 7jp0YZoE+rK/1zIWDtCV4jMq6ttRkqDgjFxIo/+bG5zNIpxmTe73E5QIux/rYqHA+M0n +w4RiGEYZ599h0aPvRTuCJ4evleTgjqQ/pZsMEpOn1E4kCr2nM6UkMljIEeQgqCv7ecL Mx8A== 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=3ZbREAzKGWsIEWUQJpy4XElK+ime7W53jXwcpw2dqzo=; b=utWUGL9au3rK2LQdG6GZQqkUqhRBsBpr9cjVF4ds31380exCArKwzXdFMqnmTEezVp 59NP1Y4GOkug+0a+cMvOZpazXeN6v5bI4yYkW9C6+FLflWY9qFSH9bLP1ejmoDBe0wro mpQtZ3uAbMuKeDvJcnJNl3XFq2MIfl6Sr26eOdyETfoYaEnnPqBVZQdcBX3glyYvuct1 +YZ0YtdiPc+WnIjeUrbxv3gML+tDERy05k2MF/u1NdPm4yHNeoyTeFn03+nAFLrz0DvR GW9qR4ulifP2MD3IkZQZQWoiiwW4qIyWfRLctJoRKwHXNkoiGREfImSktDz9ckqexB2e GsXw== X-Gm-Message-State: ANoB5pnyvmAf/9Dl6QnC5A5ASrhu+dbn+6GXzOJXV9kZoxNiEZ11vmVr 6uFcobrBjwtNXMveK4ag/rPm3g== X-Received: by 2002:a05:6512:258f:b0:4af:ad16:8a08 with SMTP id bf15-20020a056512258f00b004afad168a08mr5231106lfb.664.1668507761001; Tue, 15 Nov 2022 02:22:41 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id c18-20020ac25f72000000b00492dc29be7bsm2148197lfc.227.2022.11.15.02.22.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Nov 2022 02:22:40 -0800 (PST) Message-ID: <5dae76ba-bd48-233d-4d4a-14111ff1b2ec@linaro.org> Date: Tue, 15 Nov 2022 11:22:39 +0100 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 02/10] ASoC: dt-bindings: qcom,apr: Split services to shared schema Content-Language: en-US To: Srinivas Kandagatla , 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-3-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20221111113547.100442-3-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 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 12:35, Krzysztof Kozlowski wrote: > The APR/GPR nodes are organized like: > > apr-or-gpr-device-node <- qcom,apr.yaml > apr-gpr-service@[0-9] <- qcom,apr.yaml > service-specific-components <- /schemas/sound/qcom,q6*.yaml > (...) > +additionalProperties: true > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml > index 0a7a34cb2497..9302ffe567d6 100644 > --- a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml > @@ -80,115 +80,13 @@ properties: > '#size-cells': > const: 0 > > -#APR/GPR Services > patternProperties: > "^service@[1-9a-d]$": > type: object > + $ref: /schemas/soc/qcom/qcom,apr-services.yaml > + additionalProperties: true > description: > - APR/GPR node's client devices use subnodes for desired static port services. > - > - properties: > - compatible: > - enum: > - - qcom,q6core > - - qcom,q6asm > - - qcom,q6afe > - - qcom,q6adm > - - qcom,q6apm > - - qcom,q6prm I think that this piece could stay here. Otherwise we allow any compatible which matches the qcom,apr-services.yaml binding, but that's easy to achieve. Best regards, Krzysztof