From patchwork Mon Jul 24 14:06:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 706508 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96508C001B0 for ; Mon, 24 Jul 2023 14:07:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231824AbjGXOHJ (ORCPT ); Mon, 24 Jul 2023 10:07:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231668AbjGXOGu (ORCPT ); Mon, 24 Jul 2023 10:06:50 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AA8810C0 for ; Mon, 24 Jul 2023 07:06:40 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fb41682472so6551084e87.2 for ; Mon, 24 Jul 2023 07:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690207598; x=1690812398; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=oIWP/QEBqIwvEO1ZvlsT+hGzgdJVbSKZwvToxKkmWfQ=; b=Xs/i2A8+we1PMrkIxfbFFTl2dr3fH5l6IUInS5NV8V5odwhqA/Hf6W6gyE5WnsoYeD nba8WJJpzbtZecFBkPyJWbscNTWQWG1TpB5Rc6ScPhzUn77o54kEbAt3+RwUAIlcG9y3 adPKbbuzjn/Fki1lBU6NUkThB7AeHhJZRupUhAX64NXHwzp5XqMDy9jimx4S/MxVPNmX 2YHxoZ32p7J0Oro1MEySZSL+M52KMegMqudf/OQ3OhSdRQOIAOMO1gZXGalYQMqQq6zF fX0LaJ+Sdu3m6kyHOnUTQUUDH52VWgfQ0c1Xhc2mcxUSnJflhPn9icZp67lg+rZUeZaY Cy7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690207598; x=1690812398; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oIWP/QEBqIwvEO1ZvlsT+hGzgdJVbSKZwvToxKkmWfQ=; b=kEEn7BwqDFogWZWDKT0HewhKkx2p8CGuACY5dV2rPw4NtA3mZqN70SpBIUPYZk9PFb 92JZlEfC8qBZncxGfHVgm5y+crfFwuItg0FWxriD2XmAX3oeb77KucmVh+4HZGOn0OTc mxmBKdtJIyfHzMBE/YglWqk1Ra8ojRvwEYS90MBdaA3hqMTI84FepvLbJodlg2y2QyjZ vYyXJofdaSa4iZ/jrAZQ4R+GbqAQfSiVj/rhFqRO8Wqj1uF13gN7VkYhAUVcZEpWeZ7t YDNwNR+jRSSE3tBtni026OWHUKr0v1A6i+5ywL//98r5UuzKQLjdOk3iYl2LTNOqIBGC KoIg== X-Gm-Message-State: ABy/qLa+TLgh0u4FAk4Znh81lQEOjyoWkehup5rLi1n+uGC/YMSSy7Yh E5fpOjAuPBuenkHxXP5FoIMtPg== X-Google-Smtp-Source: APBJJlHXgZEFOg+fhmLn3/EQ10XQLxKTRfz7x5KLZ7cAncTprx2jJ6nDH3lgd1FO7W4r0ApEw+eWWw== X-Received: by 2002:a05:6512:234a:b0:4fb:7da3:de4 with SMTP id p10-20020a056512234a00b004fb7da30de4mr6565353lfu.13.1690207598364; Mon, 24 Jul 2023 07:06:38 -0700 (PDT) Received: from [192.168.1.101] (abxj221.neoplus.adsl.tpnet.pl. [83.9.3.221]) by smtp.gmail.com with ESMTPSA id er26-20020a05651248da00b004fbab1f023csm2223481lfb.138.2023.07.24.07.06.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 07:06:37 -0700 (PDT) From: Konrad Dybcio Date: Mon, 24 Jul 2023 16:06:32 +0200 Subject: [PATCH v2 6/7] dt-bindings: interconnect: qcom: rpm: Clean up the file MIME-Version: 1.0 Message-Id: <20230721-topic-icc_bindings-v2-6-e33d5acbf3bd@linaro.org> References: <20230721-topic-icc_bindings-v2-0-e33d5acbf3bd@linaro.org> In-Reply-To: <20230721-topic-icc_bindings-v2-0-e33d5acbf3bd@linaro.org> To: Andy Gross , Bjorn Andersson , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo Cc: Marijn Suijten , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1690207588; l=3463; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=bGS+wZ4wxJ1M2DOl0T465GxrXnxbIet1hIWF+XoM3Dg=; b=O4FGsnB+Bb053iiFvieIbiWq8lRlj/T4OhYDK0G75aWvfDE+1A0TupIu3/YEsSdcvolFBC63h /AI/qUj42iACys4I1UJrZI8LirEtRd5Vne3cKn5yiTuGN8XRtOq38c9 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Following the recent cleanups and untanglements, remove abusive direct references to RPM bus clocks, include the rpm-common YAML and update Georgi's email. Signed-off-by: Konrad Dybcio --- .../devicetree/bindings/interconnect/qcom,rpm.yaml | 62 ++-------------------- 1 file changed, 5 insertions(+), 57 deletions(-) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml b/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml index 72856b1c4210..157efd47904d 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml @@ -7,13 +7,16 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Qualcomm RPM Network-On-Chip Interconnect maintainers: - - Georgi Djakov + - Georgi Djakov description: | RPM interconnect providers support system bandwidth requirements through RPM processor. The provider is able to communicate with the RPM through the RPM shared memory device. +allOf: + - $ref: qcom,rpm-common.yaml# + properties: reg: maxItems: 1 @@ -27,57 +30,11 @@ properties: - qcom,qcs404-pcnoc - qcom,qcs404-snoc - '#interconnect-cells': - description: | - Value: <1> is one cell in an interconnect specifier for the - interconnect node id, <2> requires the interconnect node id and an - extra path tag. - enum: [ 1, 2 ] - - clocks: - minItems: 2 - maxItems: 7 - - clock-names: - minItems: 2 - maxItems: 7 - - power-domains: - maxItems: 1 - required: - compatible - reg - - '#interconnect-cells' - - clock-names - - clocks - -additionalProperties: false - -allOf: - - if: - properties: - compatible: - contains: - enum: - - qcom,msm8916-bimc - - qcom,msm8916-pcnoc - - qcom,msm8916-snoc - - qcom,qcs404-bimc - - qcom,qcs404-pcnoc - - qcom,qcs404-snoc - - then: - properties: - clock-names: - items: - - const: bus - - const: bus_a - clocks: - items: - - description: Bus Clock - - description: Bus A Clock +unevaluatedProperties: false examples: - | @@ -87,25 +44,16 @@ examples: compatible = "qcom,msm8916-bimc"; reg = <0x00400000 0x62000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; pcnoc: interconnect@500000 { compatible = "qcom,msm8916-pcnoc"; reg = <0x00500000 0x11000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, - <&rpmcc RPM_SMD_PCNOC_A_CLK>; }; snoc: interconnect@580000 { compatible = "qcom,msm8916-snoc"; reg = <0x00580000 0x14000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; };