From patchwork Fri Nov 11 11:35:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 18692 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp688094wru; Fri, 11 Nov 2022 03:37:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ANQscoef8W5+AxPGkV7MIzAJTP4YZMUGeDqlykZVckJNcmKSG5uvpL5XRtKq463pUZMEc X-Received: by 2002:a17:902:d191:b0:186:c483:f017 with SMTP id m17-20020a170902d19100b00186c483f017mr2138784plb.136.1668166679498; Fri, 11 Nov 2022 03:37:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668166679; cv=none; d=google.com; s=arc-20160816; b=LnWZfz2UpICcU3ELra07gniSqQ4L9rw7HnTuoLlstjV3gKOpXsCIrguCcK+2X4AVXn cEUhapj9+W82mJq41uuL4D0IHefcG626Iig+oSob2H2tHAYl+p7xOCzqddhWAtWMnn61 YjmMQ+siGZN+1flt70BdSSuN/0JtFCDHQzMFrrKsc78tdHUwdJxZ20Z0g0D0I67k6ucx q4akVzx8lrkN6/1NARhvpenzhxyTVHHljP33thd8FVn6L4Amc6MK2lCGUWppLiUBvtCB JBocKK2wNcQkIdz84CLCkl52iWl8KGY7drhWwJTJRBgXP0UdsQ7aWgWKiDswpf3vgrBU FOuQ== 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=oEBoGr3X7IB7lANWmyJ0vo8TD49udt1SAuFDZMae92Y=; b=FAwHjaotBNRJC0OXJs2BovI7DwVMxGFOOhTa7NlPdhDevm6WIY8G6kBG2guQIxqBqD 1HAjV66YEg6mBxz5qKrO8ZkcJ8vYu7WDiHEew3Ep1Crqg6KnFHGOb2tyVt+modRn21uF kmLaB2R54BpnYxlzRBFsg7bdJX7GkWF0F/0Hty6q4VG92mS4ZxjjKVNQNGz7DBDdKf66 /faKSN6pAo0/pilWSNBRQybUKgGfLmxwrssAec9cSpdW0iYxcV9M29ZF4pg1I8iqcvsU LD0vnS7RmY4+YQLTm51/+UGOTh8F1YFBeE0J5d9BBOXouXv3cBP9BZPd2HCHfVUXpokH s/5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WFz3Cp9s; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12-20020a17090acf8c00b00205d6cc25cfsi2478167pju.72.2022.11.11.03.37.44; Fri, 11 Nov 2022 03:37:59 -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=WFz3Cp9s; 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 S233542AbiKKLhN (ORCPT + 99 others); Fri, 11 Nov 2022 06:37:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233629AbiKKLgk (ORCPT ); Fri, 11 Nov 2022 06:36:40 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E71377C8C4 for ; Fri, 11 Nov 2022 03:36:19 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id u11so4225622ljk.6 for ; Fri, 11 Nov 2022 03:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oEBoGr3X7IB7lANWmyJ0vo8TD49udt1SAuFDZMae92Y=; b=WFz3Cp9sXDJehJxF/+D7tFxIq7jlzy31R2WdUCszgtRsVgRyRjUzckqjFh4mIRrlW6 tcs8Me2SpXcBkc4YiiIM+sMTOGQEyXWMmFgvcr1ncAIFNDr8QBwQ94LrnpQrF+KED1Tc NSlMWNiVFTJ/nZz66HKF1bcXMtcvwAZXkJYqaBRqTt2K6gaNiLEiJgadwb1ne6Suv0cQ 8U+WdV6TuX+fbdycyVV1vwfEpfiuynzPeGc6JKpATl8RY2nb8BSYAsJYc/jB0UA1lM8Y c+kUWFWpwcuslThBCVXMAG8okz3wWrX0TnCaeuCXonhyZ5/90i7Ufh2NVxhZuh9locJf spKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oEBoGr3X7IB7lANWmyJ0vo8TD49udt1SAuFDZMae92Y=; b=4FGiLzygw6gK96UcbxVUjqZX+P5vfQm58gS9iEBOUrwzy0QTo50J89P5Uid0QP+dgn kjuj1j6r8wyj52ZapyF3LDMYBbTGiSyqVZLAgMejSUljVJN0FuuVMhVEsdsW79gEmHtm 1MW0q3CgS/ILCpr4d3vYQylWu3IduFWPXPcZopp8+u4poyo2/3LZC1FdvXXYSI1KGjx1 UZWowmDvHfA9xjm/f/2supF4epY17OLHCtxbt3UvWvMZeYNCW8TRNHw8MOtNL1i7zTOT WS1nzb8fyk1Jh7JyFWpVLn2OMe1jmtvXmjf00kD2BL4wqcHXLmk68u3deFzGiRwAveRS 8Vvw== X-Gm-Message-State: ANoB5plpXIKl9hhtT6HWB4LlxBMoyFFEpxk6lJ64BFDuCLnmfu5jAWCC xBT4HZJnKsALYeWY79srspXTKQ== X-Received: by 2002:a2e:b056:0:b0:278:a7de:54e6 with SMTP id d22-20020a2eb056000000b00278a7de54e6mr530694ljl.367.1668166577831; Fri, 11 Nov 2022 03:36:17 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142199.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.199]) by smtp.gmail.com with ESMTPSA id bi30-20020a0565120e9e00b004acb2adfa1fsm274970lfb.307.2022.11.11.03.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 03:36:17 -0800 (PST) From: Krzysztof Kozlowski 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 , Krzysztof Kozlowski Subject: [PATCH 08/10] ASoC: dt-bindings: qcom,q6core: Split to separate schema Date: Fri, 11 Nov 2022 12:35:45 +0100 Message-Id: <20221111113547.100442-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221111113547.100442-1-krzysztof.kozlowski@linaro.org> References: <20221111113547.100442-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749199543957383152?= X-GMAIL-MSGID: =?utf-8?q?1749199543957383152?= The APR/GPR bindings with services got complicated so move out the Q6Core service to its own binding. Previously the compatible was documented in qcom,apr.yaml. Signed-off-by: Krzysztof Kozlowski --- .../bindings/sound/qcom,q6core.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6core.yaml diff --git a/Documentation/devicetree/bindings/sound/qcom,q6core.yaml b/Documentation/devicetree/bindings/sound/qcom,q6core.yaml new file mode 100644 index 000000000000..e240712de9ca --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6core.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6core.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Audio Core (Q6Core) + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +allOf: + - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# + +properties: + compatible: + enum: + - qcom,q6core + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + #include + + apr { + #address-cells = <1>; + #size-cells = <0>; + + service@3 { + compatible = "qcom,q6core"; + reg = ; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + }; + };