From patchwork Tue Nov 15 12:02:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 20340 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2679724wru; Tue, 15 Nov 2022 04:06:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Hje0E8NNJAtzYiPpGIFWD726OrNkVCTR28bjHV/yrneqFwlT1cUQZZiuo1yyz9lbRKDuE X-Received: by 2002:a50:cc83:0:b0:461:9183:834b with SMTP id q3-20020a50cc83000000b004619183834bmr14579819edi.196.1668513966906; Tue, 15 Nov 2022 04:06:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668513966; cv=none; d=google.com; s=arc-20160816; b=LmMh5Sr09qD7C/ZsURnqkVUc6RGUJmQgGb0U+7vaFpVvL1RF7EkSJA2pUDty56tJak +/OJPMC4K4IX4ldrN+XJVy8i845WBwhO7J9c3XZJgOxtbwj0w0gw0cAz0i48479BWGJu L1NM+xAsV6HNR2BL+nAn2Y37hUKpZzGQe1gqMtSj45+Szx7LlY95okGYy/RQZEAcM3k+ BrOffQw9k/Cm6YdWDC9VUzeZF89PQqDARV7PzuytHlMFbkYy6lLyV9zMGOMjaBt/+wuR YeeZadWIQ1TDkQWF3hgOircbPVrKQEUjz/ySvyZmulFYeKmufDMZzcoS0o78vI2HAAhs OmIg== 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=RjIcwISYizTMd4GfNjSCEyTXmXHAf6CHHATueef/HN8=; b=Rio1aUBg4tFOcTtCMr9DbF6a3L8qb9t0qyp6TWgglxCyUuIPVyUCf0/UNQOptKkqC8 HpA6kvB6kytZtsFJQ3g9bEbqvSmh21mRIxOLvZ3D5criDoiC0PiJcjzoBJ9QvIbrRB9n 1gBBBznYt2S28D0VS/wVNiwBEgPnaRTd2w4FxQ/wTC6cAyVGbxS9xNK48AjvlsrKmn/g uSUkzqJqHN+T6rt8pYJbWp4CVzJ3GRIKcIYt6AMS9wQ8PdWGg6wGZwjkJQ2tUS/CKvXz MoLsyp//lfDbRVpjawAe6R7DRRpPPJw7JBy0gZGeLxGl3zbynLhH/7R1vXR5Ea0plfHw tKgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eFOxtUSL; 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 qw3-20020a1709066a0300b0078de83a052csi11001719ejc.483.2022.11.15.04.05.40; Tue, 15 Nov 2022 04:06:06 -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=eFOxtUSL; 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 S238095AbiKOMDv (ORCPT + 99 others); Tue, 15 Nov 2022 07:03:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238072AbiKOMDU (ORCPT ); Tue, 15 Nov 2022 07:03:20 -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 F0F8229343 for ; Tue, 15 Nov 2022 04:02:58 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id s8so6928944lfc.8 for ; Tue, 15 Nov 2022 04:02:58 -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=RjIcwISYizTMd4GfNjSCEyTXmXHAf6CHHATueef/HN8=; b=eFOxtUSLZmpzuZ+rOIG8oQ+VUcQiqQP7CPntwlOX5IfDXrOr27TVUvcIeQJKozFIYu X45MGLLpJe2FJi9RZZjhs4nfoG6PzrFm8Ml+/PbDJMp/PDoh7Axl0PCfZ++vBjRsTVmj CgV3nZtDJ0/rgDCVac5hBKrONLjsXSjjb+nnzB3w+l0rlI3gsJ8cYtwVygTDjYq4XH5D j9KkAZCo04xy8GZ/LNuqQO0IYFu5LqKEazZ5VVnq/N8R7tXJ01lCOfuq0rbOeNh53Lbc WSqIsj6ZgQ3hEfWCqwpUIGA8UvQ1gUvKzwPYJw2J/T77dsRzpZz0wCminqXR2r/GWHJr 1x6w== 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=RjIcwISYizTMd4GfNjSCEyTXmXHAf6CHHATueef/HN8=; b=Hq+PfafjJfNcgDcjYzFPrDXw3mSl13ezhwiMcOsq0iysky4abiIQ+5rKDExH3j6clX UK+ME3dJTjQR28Ck7X3SRkX/KPy28tBZ8QaEzbuPb8qzT74oUJJJHL6cCBrq2wWoJPW8 nyyZyUrFDDqDghHipBJxqGMzV53yRD529sllOKC8Nc9pZ3Ur1+w4wv7FoN694+c+8DEC wQ6VZSbuU8xG4AsyhLGcXpbdRr76MXaS+qoEZnfBDiT0eMp58xOkX6q6l1pymv1D+kiC WQlxFem/RWO+MLg3LmZ9SEgliT8SBDrB/PgGVJ4ItIPNJDDGP6t+jPaA6Gzxvi57zWQx 8Bew== X-Gm-Message-State: ANoB5pl4RdZq47MomTLmDwqhLwN9cShaDdwOfRKi23xDaoksgQTDM9cK DsvGFqou4aV4peoQEB/sSdrl0w== X-Received: by 2002:ac2:55a9:0:b0:4aa:da5d:dfd8 with SMTP id y9-20020ac255a9000000b004aada5ddfd8mr6090205lfg.677.1668513777308; Tue, 15 Nov 2022 04:02:57 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id i13-20020ac25d2d000000b004b0b2212315sm2176233lfb.121.2022.11.15.04.02.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 04:02:56 -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: Krzysztof Kozlowski , quic_srivasam@quicinc.com, quic_plai@quicinc.com Subject: [PATCH v2 09/11] ASoC: dt-bindings: qcom,q6core: Split to separate schema Date: Tue, 15 Nov 2022 13:02:33 +0100 Message-Id: <20221115120235.167812-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221115120235.167812-1-krzysztof.kozlowski@linaro.org> References: <20221115120235.167812-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?1749563701384322391?= X-GMAIL-MSGID: =?utf-8?q?1749563701384322391?= 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 Reviewed-by: Rob Herring --- Cc: quic_srivasam@quicinc.com Cc: quic_plai@quicinc.com --- .../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"; + }; + };