From patchwork Tue Aug 24 04:34:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 501786 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp2798940jab; Mon, 23 Aug 2021 21:34:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGsLkklHQ7x2k1FUuXmYsHiBxrooQrsy2YvjPTzzG8WWHqz7HeoM59l33l9+Yh3MO9qOcP X-Received: by 2002:aa7:c54c:: with SMTP id s12mr13548669edr.96.1629779688713; Mon, 23 Aug 2021 21:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629779688; cv=none; d=google.com; s=arc-20160816; b=0+woppNS78iDiSc+eadoj6s1s22iGIx0IKfU0NhKewM3BfkUZqZ2CoK4iMyFEuMTb9 q2ctg1VtP75QYEZ68O+BWSuBMEt2Ccsx0TK1OBLHX/aVRyd4E2JvRTzYSMnpD0lfUK30 dh/m3/pkSxCGABhC7SOPouHH0a2vW9jHCekiBIRNl2xY+B86btzadw6I7lsoEIlznEk3 0dm9NnJfLX9J92O4hfzqogN3ZUEx5RG19pwgunBaVwr3CStBggI+oeSInqL4oRQiG/hL WyXuNAqKjaxG9zuVtQ1ADx4lOBSVCyY5E7DD10i37bB5iB8AfkHi6U1mT7Zz9paKqn6D QUQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=WlARBdCH0G+Q0Gto74EDeCNkdp2jkLi1fyvWJUCNQck=; b=AlMB7P9Vrq7zIp+qynL+dZB3Ey7BF/YFxB7QfDAnQlK+nPIJa2wQprv6P8BMAD1/as etMwdzerOt7pYJeFa1eypyTobeUTNneopMlZbIEmwxH92eb+8UHCqjIq/BM80TmhcB18 yVG4STIb0jREQ8WslVnMZvTS1nMGGcGlEy6nUXVHM1pkmGBoJ9tydjAPddeMxWz2Wj/Q O4uavQZZDiC8p1C14jL7k/tp7AG4PnPeR2/Axlmdd+qbbQOZex9VT0Aj2LLyoQSU9gaq PBRQW8XxmYG+dhHZerVRRkkaS8v3z8HOVxSgQm5m2dgDvF2kBpUrc/nzrXYR+7EcYMDc 3wvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i8mgH6af; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gt9si2183422ejc.542.2021.08.23.21.34.48; Mon, 23 Aug 2021 21:34:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i8mgH6af; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-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 S229701AbhHXEfb (ORCPT + 7 others); Tue, 24 Aug 2021 00:35:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229630AbhHXEfa (ORCPT ); Tue, 24 Aug 2021 00:35:30 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63399C06175F for ; Mon, 23 Aug 2021 21:34:47 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id 28-20020a17090a031cb0290178dcd8a4d1so1244122pje.0 for ; Mon, 23 Aug 2021 21:34:47 -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=WlARBdCH0G+Q0Gto74EDeCNkdp2jkLi1fyvWJUCNQck=; b=i8mgH6afafIWcLr3/bxaHLNd22F+f+UHMMkbxKDu04L958bJB5GpP8mRswRU/xNlom w3Gpve+ZyVC+0BAsueL4vTkJdnooN2IvconYPiA645UTs0xKuNT5nI9A0TYOr8U40Tob mykXu38kKpwZoooU2guS8trQYzxUrkwBLpULyytM5chbT29hKjCWShmlV82aGvGhLFKl Q8jNLQx8lcgy67aXUPTTCfpmZ2Lt+ivroWp5VO5EJijLkhzFxFxPbHxxzcO8l0vKqbt8 mCq8lH4ri0qMbCXEqCAwBUZHEIJ/0WSwD5HYQMUUzLdUCXs0eDTz4fKVnIWzf4MxH/aj 4ANg== 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=WlARBdCH0G+Q0Gto74EDeCNkdp2jkLi1fyvWJUCNQck=; b=WYWvmcV0b3PZ1b4ezpOBBOoj2w5XAhtB4Dc+O1sVGPsJm8aOW+8uaOoPX2S7DTXh+E +6QhzuhMZ0sg7mOWhFuSVP1jowR6EzTz8/ULgxIuaj+kAw1uEZ4JErv+L42R5oQmreHh nFwKdBSNiYLZ2JRrj7grXcxX/FtAZK4oNfRBYP62AP95RUFmCa30cr9bnn2dOmysmE99 TLFNS3nwUNIfpElHo4dFgAqjy4wyrRzNWTAsDV61qxoawoX3fD/BLqjnytk3mWUxY3pe Ta1Z+Ymoi1ff9fVqUc4JVLIUx2YRSTyBWgOV30HocFfo1p1uQhABxrI2XPpubaAO5IOo L9bw== X-Gm-Message-State: AOAM531R5e6+FPPtK6MQ6+TAFjV6tziiqernkUDrgAOCSmRXglocpFlu jBiDwM8vWUY2YIgQGi/Zf8DeyQ== X-Received: by 2002:a17:903:31d6:b0:133:9932:6998 with SMTP id v22-20020a17090331d600b0013399326998mr9449165ple.45.1629779686991; Mon, 23 Aug 2021 21:34:46 -0700 (PDT) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id p10sm789401pjv.39.2021.08.23.21.34.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Aug 2021 21:34:46 -0700 (PDT) From: Shawn Guo To: Georgi Djakov Cc: AngeloGioacchino Del Regno , Bjorn Andersson , Dmitry Baryshkov , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, Shawn Guo Subject: [PATCH v2 1/3] dt-bindings: interconnect: sdm660: Add missing a2noc qos clocks Date: Tue, 24 Aug 2021 12:34:33 +0800 Message-Id: <20210824043435.23190-2-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210824043435.23190-1-shawn.guo@linaro.org> References: <20210824043435.23190-1-shawn.guo@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-pm@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 | 46 +++++++++++++++++-- 1 file changed, 42 insertions(+), 4 deletions(-) -- 2.17.1 Reviewed-by: Rob Herring Acked-by: AngeloGioacchino Del Regno diff --git a/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml b/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml index 29de7807df54..bcd41e491f1d 100644 --- a/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml +++ b/Documentation/devicetree/bindings/interconnect/qcom,sdm660.yaml @@ -31,11 +31,11 @@ properties: clocks: minItems: 1 - maxItems: 3 + maxItems: 7 clock-names: minItems: 1 - maxItems: 3 + maxItems: 7 required: - compatible @@ -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 @@ -91,6 +117,7 @@ examples: - | #include #include + #include bimc: interconnect@1008000 { compatible = "qcom,sdm660-bimc"; @@ -123,9 +150,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 {