Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp768322pxb; Wed, 15 Sep 2021 12:43:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsMN6k5YsjRmW+l/Z3atP8f2D1TNrDkCgreHB/ZxWQUraeSAMmjjM/rRIwJEXn0Whvp3zd X-Received: by 2002:a17:906:3e08:: with SMTP id k8mr1839638eji.361.1631734999071; Wed, 15 Sep 2021 12:43:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631734999; cv=none; d=google.com; s=arc-20160816; b=hTYkcVv0ATTbayaMZVJN/3IMYYHQlMj/R5+Y8BhFxCwOid/th3Ol/p3JaL9P404A/w 74+94VfmNSXIW+VG/T2S/Xlnej1V3GUUOJKFYuecihPZkNd7LQY9nChLrnNmApkIGBIY lCGDQ9kNlxgMUV0f4YcztGUlr/Uo/gpL/u0wohEjkZVxnAbPhjaCpDMs7xjn8Epb+UEF UCmZDbQYhaMqEOO/+ksCMwi9t5D/2KDSrGAzHriHohhIS2DnKz1F3+N2CApf1oJGnKfY f8rv89YkNlXmwXB4PlplckrsWnJxZU0iCjbyB+phnPViD7la8H8YZQi3urXdOhgGj68K sDTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=mDzdWtBB1uSsJFNpS+LW0eoU/BmEDcIzioUx3tBX9MQ=; b=yD8YWEY7A10LnozbqF4YJtDsAQYT07UoPlJ9lO8cAgRjRHCEFn4BnagSQTMn4ThR00 CVB/zX/dvT1MNgudH/hjtPHZcwod4OLBkuk3BRcMXhbIjGRnpdJRFS8Y33JjcD58S4xZ iiTNYpNC9/my+cwQ30VkbxirLfhDgvOClBmMKc60/iI+0LEL6XICTPKjAOBMcmV9OwW+ WVrRfVB0FDAfAvK+5g9kwj0OK39Lw8DP4EIMMeHQiIgMbgDWX9y/xoHzuNsAagKYrBAq AkR0tPvSzgZX9h17v3h2olcF0l5ZB+9XcC7G8r89I06nWHQ1EeyC8veztlMD+/IGD21v vkPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ly9kyawm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr6si1344697ejc.711.2021.09.15.12.42.54; Wed, 15 Sep 2021 12:43:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@chromium.org header.s=google header.b=Ly9kyawm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231486AbhIOTmT (ORCPT + 99 others); Wed, 15 Sep 2021 15:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231611AbhIOTmS (ORCPT ); Wed, 15 Sep 2021 15:42:18 -0400 Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13A08C061766 for ; Wed, 15 Sep 2021 12:40:59 -0700 (PDT) Received: by mail-ot1-x32e.google.com with SMTP id x10-20020a056830408a00b004f26cead745so5084630ott.10 for ; Wed, 15 Sep 2021 12:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=mDzdWtBB1uSsJFNpS+LW0eoU/BmEDcIzioUx3tBX9MQ=; b=Ly9kyawmN861/4Wr1C8M9aEGfTfVB+G/JQ7VM6jBRtd5RWpnuD2lPePwRMRuLavd/Z l8suHz6HXSPxNA92D6B5fDECCdQZfwfXlT/5HCGbUPotXdK7yhmz23qRgEnePR+XiRHf BSt2Q4tYyys9osDsdTtmsmngLHLwlhPe6oNPU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=mDzdWtBB1uSsJFNpS+LW0eoU/BmEDcIzioUx3tBX9MQ=; b=wIeiior4Wg2DT+9yQx57qrqds5qWzW6/VMunZMo85Fhd4kVquxHJ5zKBpVK1G+yPxf Td3mOKE/Q90fW00y4yqam0ZSm9dN9b8XlJ2dC5VSvvrqWeiQYVKWHNCYmsTSyuk1lXI2 PHDtXqzfYFxRiizqAFEDvJdpmInmIuEKVKL3FdVZhVkpSRoV8v/savBZvu+gTgjbGaY+ 9JaXPcxAOEtGwl7/cHih7HjVDOIzb/LD13zbKk0OEv8lAREYUkRsVzPb7ojaum91px9U Cmlkfofilh4CQTwgfqrdteKVg7JwnjiymUemxDn12esyY+qipxQQFxZT9AWakdYZ41SC 01Ow== X-Gm-Message-State: AOAM530aQ0cH8j6K3X+wJLpDlYPVVCnJ1oTIz8BHaew0YQnY6Y1XWXVD VW2Yun8ArkFsjr+plU0pyV6oXbxNdphfjfzp3FNkkQ== X-Received: by 2002:a05:6830:18c7:: with SMTP id v7mr1527419ote.126.1631734858214; Wed, 15 Sep 2021 12:40:58 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 15 Sep 2021 12:40:57 -0700 MIME-Version: 1.0 In-Reply-To: <36fe241f845a27b52509274d007948b1@codeaurora.org> References: <1629458622-4915-1-git-send-email-okukatla@codeaurora.org> <1629458622-4915-4-git-send-email-okukatla@codeaurora.org> <749157bdb4613ae370adfb7ba055a2a9@codeaurora.org> <36fe241f845a27b52509274d007948b1@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Wed, 15 Sep 2021 12:40:57 -0700 Message-ID: Subject: Re: [v7 3/3] arm64: dts: qcom: sc7280: Add EPSS L3 interconnect provider To: okukatla@codeaurora.org Cc: Andy Gross , Rob Herring , bjorn.andersson@linaro.org, devicetree@vger.kernel.org, evgreen@google.com, georgi.djakov@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, mdtipton@codeaurora.org, sibis@codeaurora.org, saravanak@google.com, seansw@qti.qualcomm.com, elder@linaro.org, linux-pm@vger.kernel.org, linux-arm-msm-owner@vger.kernel.org, okukatla=codeaurora.org@codeaurora.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting okukatla@codeaurora.org (2021-09-14 23:26:19) > On 2021-09-15 10:35, okukatla@codeaurora.org wrote: > > On 2021-09-04 00:36, Stephen Boyd wrote: > >> Quoting Odelu Kukatla (2021-08-20 04:23:41) > >>> Add Epoch Subsystem (EPSS) L3 interconnect provider node on SC7280 > >>> SoCs. > >>> > >>> Signed-off-by: Odelu Kukatla > >>> --- > >>> arch/arm64/boot/dts/qcom/sc7280.dtsi | 11 +++++++++++ > >>> 1 file changed, 11 insertions(+) > >>> > >>> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi > >>> b/arch/arm64/boot/dts/qcom/sc7280.dtsi > >>> index 53a21d0..cf59b47 100644 > >>> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > >>> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > >>> @@ -1848,6 +1848,17 @@ > >>> }; > >>> }; > >>> > >>> + epss_l3: interconnect@18590000 { > >>> + compatible = "qcom,sc7280-epss-l3"; > >>> + reg = <0 0x18590000 0 1000>, > >> > >> Is this supposed to be 0x1000? > >> > > No, This is 1000 or 0x3E8. Wow ok. Why is it the only size that isn't in hex format? Please try to be consistent and use hex throughout. > We have mapped only required registers for L3 scaling, 1000/0x3E8 is > suffice. > But i will update it to 0x1000 in next revision so that entire clock > domain region-0 is mapped. Doesn't that conflict with the cpufreq-hw device? > >>> + <0 0x18591000 0 0x100>, > >>> + <0 0x18592000 0 0x100>, > >>> + <0 0x18593000 0 0x100>; > >>> + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc > >>> GCC_GPLL0>; > >>> + clock-names = "xo", "alternate"; > >>> + #interconnect-cells = <1>; > >>> + }; > >>> + > >>> cpufreq_hw: cpufreq@18591000 { > >>> compatible = "qcom,cpufreq-epss"; > >>> reg = <0 0x18591100 0 0x900>,