Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4113561pxv; Mon, 19 Jul 2021 17:22:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNHdrZr7+79rtgVWrKv9dHMNnfPHa9a0uDLTmAZ6B3fh2U5qvQJyxF1L/1egvH/ufXVyiI X-Received: by 2002:a05:6402:498:: with SMTP id k24mr38374486edv.25.1626740567889; Mon, 19 Jul 2021 17:22:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626740567; cv=none; d=google.com; s=arc-20160816; b=Mf0860LC/PBhDz+T3SWN6edkVFQQT7hOAdYumVFWcET40wes4mzRt8JheJVfxcdGiq xe6cBiH8TRhzIDMEnK2UMsXBR3HuPnazHrmwLK6axkC+tTinOE4qLDwSjGfwq0EUBBuJ bvMVuZk37NEKlLQWh83eK+ye0MnRrawjUaXH3Ez9vD5CMYS25jrtb2vGKaPVQDQRju9j mk+SK86WK8iFvfHwIJPC6iBhiWweRiWvr1igWCH9LPYgi9yOqtOOYTdACMXNTA3pHh5W l8tDdvAhudlUsEB7EWfW6yNV8IFKrUepC38TRbBA3XgSbETICDr+9Yqwj4uizR9+TGFV NbPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=KsSqPnOKXzUDkjkKz916uS2F4jfUfpSikrt0gPU4ujs=; b=jUsvPZZw4EfRt2WQ6Ki3fjthHocB4TQFh3p5IyoxPeLALWHytTkM7z8GkW8C55ksA4 5z6P0ziuqdrkKLoJg/LtkJKQThlPkdWOqygICT5+3z6DXsz33QAwqWe/6PRIucJYjKim zG9lrBnd76UEmu0Po118vpJxrdEVuI0gRUqe1udgK1/GPhTMj/M1JUfN4py5RkMOJ/lK n6ryNAgtHnP7CX/vv879cKIarCGn62/LcER2cai8jqfY+g5PvNTK1MwC11v0MABja8Xh iNudAmDvk/OhxQ1s8P+klrISL10DRk4/5b6FR/2eS2OHHPwjN2pMFqG06s1LRsgzzz4G 4+oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FnDo6BSq; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a18si24993072edb.473.2021.07.19.17.22.24; Mon, 19 Jul 2021 17:22:47 -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=@linaro.org header.s=google header.b=FnDo6BSq; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230449AbhGSXiJ (ORCPT + 99 others); Mon, 19 Jul 2021 19:38:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1441828AbhGSWN7 (ORCPT ); Mon, 19 Jul 2021 18:13:59 -0400 Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37CE5C061786 for ; Mon, 19 Jul 2021 15:44:31 -0700 (PDT) Received: by mail-qv1-xf2d.google.com with SMTP id i4so9220013qvq.10 for ; Mon, 19 Jul 2021 15:44:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KsSqPnOKXzUDkjkKz916uS2F4jfUfpSikrt0gPU4ujs=; b=FnDo6BSq5ek6KNmpUa/nNGm0q1xDQdeYnwwcltGagTCUujdDC4OC/gf2xNNinEgrzw 4bCtjeq+McwFHwzzbk4VOP8fXyp+rxC1zfo82Rhu7d5UsDr1BrfksI6zId6t1f0X7a1m n6jqBW/PeTHX6ukZoJW7usONW3IP4jEGJGD+B36Iby57j3YjdJ4vwoATivQTorSBe/0u 75pLS62JNWtYD5obEQyxV4dBQQHIQpqPzCaIT0RakyEMn6i1ro1b/k7rQIC/PkGzIl6A O+oqFyhFPwCsScGy3HRbPT4Mc1fMFb2OKqtrqxzhGesDFTShHC/25VZX2Vlnptt4JNnO j/Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KsSqPnOKXzUDkjkKz916uS2F4jfUfpSikrt0gPU4ujs=; b=QDP4UUp7L1BICYEe65/SpxVVTTdi+up0NpZx8/yzByTsOWCtbtkc5PD14E3cqiUjZ4 LV1dirkCwjYueHVKa82cUnDa7wDVpgEoSNvWxzH1uDd/rHo3rMJzKl54d94A71Ou2hoX +KGgNbVIs1f9y4PtgEswAsLjqsSx9vClp/ZIKS1hz6INS9RR+oCfwr3qm3seLkNaeA9x QqaY3ei4f07akRemLIr4Vl1OovJ5rXoRK3EWRBpHEhkfr/rkHP9K0hosuH/zcDVXQzSC 8xjnmrlNBm757BjFyRf4Rd3UMmGam6KVkle1M8/j9AqGnzw+HqhI90nENNkziv2JFcpK +9cQ== X-Gm-Message-State: AOAM533uo6b5XWxnKWEHpkt19DxnsBrf5UirUNg4iXEIewEJ3ES4Oi44 nOiqt3OwLJL1k2Q2+nMnCciIpw== X-Received: by 2002:a0c:fa08:: with SMTP id q8mr21918403qvn.8.1626734670372; Mon, 19 Jul 2021 15:44:30 -0700 (PDT) Received: from [192.168.1.93] (pool-71-163-245-5.washdc.fios.verizon.net. [71.163.245.5]) by smtp.gmail.com with ESMTPSA id o2sm6625742qkm.109.2021.07.19.15.44.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Jul 2021 15:44:29 -0700 (PDT) Subject: Re: [Patch v3 4/6] arm64: boot: dts: qcom: sdm45: Add support for LMh node To: Bjorn Andersson Cc: agross@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org, viresh.kumar@linaro.org, rjw@rjwysocki.net, robh+dt@kernel.org, tdas@codeaurora.org, mka@chromium.org, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20210708120656.663851-1-thara.gopinath@linaro.org> <20210708120656.663851-5-thara.gopinath@linaro.org> From: Thara Gopinath Message-ID: <4ae91093-625a-f2fa-f0ce-79ec391f6463@linaro.org> Date: Mon, 19 Jul 2021 18:44:29 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/19/21 12:33 PM, Bjorn Andersson wrote: > On Thu 08 Jul 07:06 CDT 2021, Thara Gopinath wrote: > >> Add LMh nodes for cpu cluster0 and cpu cluster1. Also add interrupt >> support in cpufreq node to capture the LMh interrupt and let the scheduler >> know of the max frequency throttling. >> > > Just noticed, could you please drop "boot: " from $subject and add the > missing '8', as you're resubmitting the series. Sure.. Warm Regards Thara > > Regards, > Bjorn > >> Signed-off-by: Thara Gopinath >> --- >> >> v2->v3: >> - Changed the LMh low and high trip to 94500 and 95000 mC from >> 74500 and 75000 mC. This was a bug that got introduced in v2. >> v1->v2: >> - Dropped dt property qcom,support-lmh as per Bjorn's review comments. >> - Changed lmh compatible from generic to platform specific. >> - Introduced properties specifying arm, low and high temp thresholds for LMh >> as per Daniel's suggestion. >> >> arch/arm64/boot/dts/qcom/sdm845.dtsi | 26 ++++++++++++++++++++++++++ >> 1 file changed, 26 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi >> index 0a86fe71a66d..4da6b8f3dd7b 100644 >> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi >> @@ -3646,6 +3646,30 @@ swm: swm@c85 { >> }; >> }; >> >> + lmh_cluster1: lmh@17d70800 { >> + compatible = "qcom,sdm845-lmh"; >> + reg = <0 0x17d70800 0 0x401>; >> + interrupts = ; >> + qcom,lmh-cpu-id = <0x4>; >> + qcom,lmh-temperature-arm = <65000>; >> + qcom,lmh-temperature-low = <94500>; >> + qcom,lmh-temperature-high = <95000>; >> + interrupt-controller; >> + #interrupt-cells = <1>; >> + }; >> + >> + lmh_cluster0: lmh@17d78800 { >> + compatible = "qcom,sdm845-lmh"; >> + reg = <0 0x17d78800 0 0x401>; >> + interrupts = ; >> + qcom,lmh-cpu-id = <0x0>; >> + qcom,lmh-temperature-arm = <65000>; >> + qcom,lmh-temperature-low = <94500>; >> + qcom,lmh-temperature-high = <95000>; >> + interrupt-controller; >> + #interrupt-cells = <1>; >> + }; >> + >> sound: sound { >> }; >> >> @@ -4911,6 +4935,8 @@ cpufreq_hw: cpufreq@17d43000 { >> reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>; >> reg-names = "freq-domain0", "freq-domain1"; >> >> + interrupts-extended = <&lmh_cluster0 0>, <&lmh_cluster1 0>; >> + >> clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; >> clock-names = "xo", "alternate"; >> >> -- >> 2.25.1 >>