From patchwork Fri Nov 11 11:35:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 18690 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp688059wru; Fri, 11 Nov 2022 03:37:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf6U8UaqI0WePK3PYwlGJYPq1LIsqRUSO5yx+DH7NLUmcHVVYImCX8tWo0gL8miVNPfOAbJN X-Received: by 2002:a17:902:eb87:b0:186:a27d:8e81 with SMTP id q7-20020a170902eb8700b00186a27d8e81mr2108152plg.133.1668166671802; Fri, 11 Nov 2022 03:37:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668166671; cv=none; d=google.com; s=arc-20160816; b=rv4eMmjed0MFRHl20KMyDSUJw2ClNOvYeERRmJbMsU7JrFo6nMbMl8JiLR4kFleikG /M9cLiqN6aAMRcGCiQW7mvZCM1unFXrPSnVbZLMmElv4jXNQ36pkwU367xOzZXVJXRH5 MrkoCwhKfKNXblKoj7973wgmRWWWY1nbDPkfpGLFfHP90JqRD4ONCrlJwEkL+feWtvDR rC8K7XeQeOi/5UxFItlDL3ffYo2yTD5KmUTwS7l5Q7M36fU2te6jlZ3165k9UhviDz8M ZDmGW+/daEBvnRxtvU0J5By6JQGQ9l85/6V7orSSqTUo655cGAPQGW4jvx0w+1nEfYkm kf2g== 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=jF161Eg7n0UygRaLy1ADIgA+vp2I1IUSYtCaqNOSavw=; b=riU7wnoNDr2DuLhrdhM9LhS3/82eDpBoweuDKVkMUKkSFOwR3xC7x1cwOrqtrOeAe8 Tx+C9RObgmuDUZf4hG5N4oUqGJ7fwWUUvdd5baapsoNBzb0y2KoG20THdmRw10dIzZi2 ukk87Pi54YJmiSUtTuDUKChE1fRkFDB/BmFwTBVkcdysVqSKkMVo7F40ZFfXWG4n4L1i kKVIJovm3bBngAJkwiZ+ry3sP25U+hd2CHkbaSYR/3MEMr1ktlaAxvUMqehdcTEwWwUq FU9hyOEQyhswxjxE0dtjcVRx0d1C3fUE251mdz7Qt7wFxAaF7Z9UL3ChBpqBM0K/slZX Wr3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ue597laU; 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 j70-20020a638b49000000b004701d95bcf8si2268905pge.564.2022.11.11.03.37.38; Fri, 11 Nov 2022 03:37:51 -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=Ue597laU; 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 S233677AbiKKLhI (ORCPT + 99 others); Fri, 11 Nov 2022 06:37:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233570AbiKKLgi (ORCPT ); Fri, 11 Nov 2022 06:36:38 -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 559B7657E5 for ; Fri, 11 Nov 2022 03:36:18 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id l12so7922326lfp.6 for ; Fri, 11 Nov 2022 03:36:18 -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=jF161Eg7n0UygRaLy1ADIgA+vp2I1IUSYtCaqNOSavw=; b=Ue597laUUdsvlmSluFDi0bDqOMbRTooWeh6UN8ZgrT87+FHaVXYCQwDXR5gdrnb4bc 1VqBB23tDxUYH3WxNghQdzLGxjXN/LEy+ZsBCFx7f6CRPMqQhqoosz2g02ZFldN+P9Pe BtZYZ/cuCVdx0vRKoRCsRN2RgzSmvXQimi8bxUFfompey0Mh+6j/ZI/w+dYp1+/xI1qV 3D9JzkhL+ROSx3YTROf0xLTfS+GHMrYJF3urc6lI47BjIF9Lcn2otKRecXGKG6WDL7lk jScQJbJeB24aYj3RTuxkX1mKLF1U+oG9uSeicF9aMbPJu70A9dYCHA6pYeRuL/4b186c skbw== 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=jF161Eg7n0UygRaLy1ADIgA+vp2I1IUSYtCaqNOSavw=; b=WQHSSp4Y/+hBrMDeNVyyUN4vAiST+EU6gxUeErAU3ACvwr8BsWAyQCUmv0H243BZ8i oi3wgMGltbms+XjnFEQYuKz65WoBaKFc/lAUIYdbfTEW9KM2rGRb0HWiTmWL5Ffw3nX4 ud91TEoBByln6pGY0NhSAYWpq/HFqv4S1NHG+JkdiyCVJY18GdGgRbKsZAMzGveJ8B4V FeqkWvmEi1TYqGbv++UJpn3ymo5NItP62bVIdnt8wXMoF7Zj0w6OP5Z8yah6nxBcVYJj vApEZAtO9fZknIw5wcWBep0Be6Mi4u99X0BxyEFZIaUkNrQfe9dBM1FTEtXVjQm8Dxlg Bcyw== X-Gm-Message-State: ANoB5pnprItniikVNxZMV6HPfSuor7hvKQ/KBPphKnr7wMGVltSEwDZR wNZIgLjvQYb2z4EldI/fQwXTUA== X-Received: by 2002:ac2:5396:0:b0:4a2:3a4b:5012 with SMTP id g22-20020ac25396000000b004a23a4b5012mr555125lfh.526.1668166576691; Fri, 11 Nov 2022 03:36:16 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 03:36:16 -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 07/10] ASoC: dt-bindings: qcom,q6prm: Split to separate schema Date: Fri, 11 Nov 2022 12:35:44 +0100 Message-Id: <20221111113547.100442-8-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?1749199536114199792?= X-GMAIL-MSGID: =?utf-8?q?1749199536114199792?= The APR/GPR bindings with services got complicated so move out the Q6PRM service to its own binding. Previously the compatible was documented in qcom,apr.yaml. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/sound/qcom,q6prm.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6prm.yaml diff --git a/Documentation/devicetree/bindings/sound/qcom,q6prm.yaml b/Documentation/devicetree/bindings/sound/qcom,q6prm.yaml new file mode 100644 index 000000000000..f6dbb1267bfe --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,q6prm.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/qcom,q6prm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Proxy Resource Manager (Q6PRM) + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +allOf: + - $ref: /schemas/soc/qcom/qcom,apr-services.yaml# + +properties: + compatible: + enum: + - qcom,q6prm + + clock-controller: + $ref: /schemas/sound/qcom,q6dsp-lpass-clocks.yaml# + unevaluatedProperties: false + description: Qualcomm DSP LPASS clock controller + +required: + - compatible + - clock-controller + +unevaluatedProperties: false + +examples: + - | + #include + + gpr { + #address-cells = <1>; + #size-cells = <0>; + + service@2 { + reg = ; + compatible = "qcom,q6prm"; + qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; + + clock-controller { + compatible = "qcom,q6prm-lpass-clocks"; + #clock-cells = <2>; + }; + }; + };