From patchwork Mon Aug 23 09:56:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 12452253 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 017F1C4320A for ; Mon, 23 Aug 2021 09:56:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CF30161374 for ; Mon, 23 Aug 2021 09:56:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232526AbhHWJ5F (ORCPT ); Mon, 23 Aug 2021 05:57:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232956AbhHWJ5E (ORCPT ); Mon, 23 Aug 2021 05:57:04 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75CF1C061764 for ; Mon, 23 Aug 2021 02:56:22 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id k14so16187971pga.13 for ; Mon, 23 Aug 2021 02:56:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9ZeBnnHmrDX1DWbaqOnNymOQXq0AvS6DifxDoxvu4dA=; b=zj2IfVFeA4lseTLPD9zBRySoSoX5hfnEX0Lj+QmtgxNrE/h/wVCU/4TPtQaYAjlmqW xKIDMM4fWQVTe8frhLuJMUudjJRAA3BZZJdSCmzxO8At1mrCZG1hAe9rPGJLaT9B2kz2 gRVjQ5+rkWNl+GV77F+2QDtMr7q5QFjYAXny7AKLrb52x1ePzNHY1h6FCNCEPMjqVvtx l6TkxPMoTOQzLBCaznHv6scgmqwmvBnqxRVJ9ueWdLMfvRwJu2vQBKtzi9+X9oPVldlG oViIWO25QNCnxLFokeFgtmFlxCirxVAvpOIHmVUFnfyPmsEKqy/c4md3qSyzSk69vZ7j uc9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9ZeBnnHmrDX1DWbaqOnNymOQXq0AvS6DifxDoxvu4dA=; b=Q3gcl+es8Uz1wp3LdDQ9v0IsdSJSCX5I9oJUr7bxuDsdXdrCaaARk55QFZwHT5MStB F1O3j58Ydnb6jKaCNZ9hpmGP0EPXzUFVz/+s3sfidCEI2EkSgFSfWAPYfde47/yRoZk4 p1rs6Adw+K8ZT1Hw92tRI1AF10lg1L+h/YLuDiFt9DqH9gcVpzX3x0fhzsvV7lxwUJyC O4szRELc/HNI2vfRsUnUaPttiBIAZ+Z4JJpFGDko8yIPaC+JdVpT6s7gbHgOGr0Xc5/P q7Gzy4IDGSOXH1hyQPMEQ7tzgzRhn32nzkTW0KvidWiJmTI5fwkhlgarwkZY+10jW4cp s3zw== X-Gm-Message-State: AOAM532TkVYrpTIhQBzmh7KtW4ksxYEcUaCapASfoWo+nb4xqekXze6z FcVtH8gmVX6VBtND9AE2tIJr1w== X-Google-Smtp-Source: ABdhPJy1v8GPKxg3BzAIJ9B4D4r7j9aBSOpmzmKZL95u2YJ23Q3i8Uzwc8ssO+Cul467MZaBCQ+NNQ== X-Received: by 2002:a05:6a00:aca:b029:392:9c79:3a39 with SMTP id c10-20020a056a000acab02903929c793a39mr32914439pfl.57.1629712582014; Mon, 23 Aug 2021 02:56:22 -0700 (PDT) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id z24sm18708230pjq.43.2021.08.23.02.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Aug 2021 02:56:21 -0700 (PDT) From: Shawn Guo To: Georgi Djakov Cc: AngeloGioacchino Del Regno , Bjorn Andersson , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, Shawn Guo Subject: [PATCH 1/3] dt-bindings: interconnect: sdm660: Add missing a2noc qos clocks Date: Mon, 23 Aug 2021 17:56:01 +0800 Message-Id: <20210823095603.5538-2-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210823095603.5538-1-shawn.guo@linaro.org> References: <20210823095603.5538-1-shawn.guo@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org It adds the missing a2noc clocks required for QoS registers programming per downstream kernel[1]. [1] https://source.codeaurora.org/quic/la/kernel/msm-4.4/tree/arch/arm/boot/dts/qcom/sdm660-bus.dtsi?h=LA.UM.8.2.r1-04800-sdm660.0#n43 Signed-off-by: Shawn Guo --- .../bindings/interconnect/qcom,sdm660.yaml | 41 ++++++++++++++++++- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml index 29de7807df54..19bc3091ea40 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml @@ -72,6 +72,32 @@ allOf: contains: enum: - qcom,sdm660-a2noc + then: + properties: + clocks: + items: + - description: Bus Clock. + - description: Bus A Clock. + - description: IPA Clock. + - description: UFS AXI Clock. + - description: Aggregate2 UFS AXI Clock. + - description: Aggregate2 USB3 AXI Clock. + - description: Config NoC USB2 AXI Clock. + clock-names: + items: + - const: bus + - const: bus_a + - const: ipa + - const: ufs_axi + - const: aggre2_ufs_axi + - const: aggre2_usb3_axi + - const: cfg_noc_usb2_axi + + - if: + properties: + compatible: + contains: + enum: - qcom,sdm660-bimc - qcom,sdm660-cnoc - qcom,sdm660-gnoc @@ -123,9 +149,20 @@ examples: compatible = "qcom,sdm660-a2noc"; reg = <0x01704000 0xc100>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; + clock-names = "bus", + "bus_a", + "ipa", + "ufs_axi", + "aggre2_ufs_axi", + "aggre2_usb3_axi", + "cfg_noc_usb2_axi"; clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>; + <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>, + <&rpmcc RPM_SMD_IPA_CLK>, + <&gcc GCC_UFS_AXI_CLK>, + <&gcc GCC_AGGRE2_UFS_AXI_CLK>, + <&gcc GCC_AGGRE2_USB3_AXI_CLK>, + <&gcc GCC_CFG_NOC_USB2_AXI_CLK>; }; mnoc: interconnect@1745000 {