Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4164692pxv; Mon, 19 Jul 2021 19:00:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFH+ulAJrCCUSKST2DxUzixd/2tDVpNhEk6JLdlAxEuQT35eFSpjDrfXqPudoRCJpPWdp4 X-Received: by 2002:a17:906:48cd:: with SMTP id d13mr29320256ejt.311.1626746411863; Mon, 19 Jul 2021 19:00:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626746411; cv=none; d=google.com; s=arc-20160816; b=bneBuRJT5tYAI5xCHRCWLinVcB5Wm5CJUpt6o6Z1pi7LECfE2sBdITVYb1NKDXwoyl tfjY7qu4knc0keQnK095bWfjFdRLF9np+Zh/Gqe3BFC6nKMt8jq4bKo/FLi6IqimrdmZ 12sENQ1aD5K8aUqMzzqp/I33XJ8XiDCHJm0tRYI58uEyVj95MXdB1oaVjMp4KJtKoqnr 2WmBIS+XKWZx/HPbkZDXaWp+CfbwzAETNgIpZFYP+kkhbNUoXH0MYH21+WkaAnM55A3p t7GXbBJvKgjlblm/uAYOq1rlSHS7Uz1fmzu0CoayJdupFwPiPDc7L0pHUhUPmNRVn84D 9Z2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5pip44uz8G7BvdketPGGb7rO6ArAVuWxJOw8cYl5Dck=; b=exc/hsQXuHcCyoSzjx3hBNuROuG4Chr/Kn7FKeWPxr0sWTVii9bcCawvyI56oAsrCi 0AtoNovznitHnTLwck2kalm+omxSbqd1FYd7+j29/2lNAnnmEon/6anwaGlB/qs5n3D6 VOJ3TTQILcE/QeNkvzTSKGOnoNGvfZYwqJe5Sf4tC1Ox4pp+LCFKrcvLAbg7NYEEGEs/ 5LnLhgX8zZ/6wcdthVvKlUu67/ghvEU7g3JG59V2PAXRV1x2qbnO9+hEZIZTsz6cDxlh PCPFkaSjUEwqoP6S6EJ3XhZZ2k4MxqV9iyqwye+KjGsFEwNU0uOGWif0/Wqk7Eh0w7f1 /cTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pTokBLHD; 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 f14si23631595ejj.667.2021.07.19.18.59.48; Mon, 19 Jul 2021 19:00:11 -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=pTokBLHD; 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 S1382424AbhGSRjU (ORCPT + 99 others); Mon, 19 Jul 2021 13:39:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352758AbhGSQOh (ORCPT ); Mon, 19 Jul 2021 12:14:37 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5057C069A4D for ; Mon, 19 Jul 2021 09:09:47 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id r80so7588205oie.13 for ; Mon, 19 Jul 2021 09:33:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5pip44uz8G7BvdketPGGb7rO6ArAVuWxJOw8cYl5Dck=; b=pTokBLHDVKUO6/S3IXyWzU0zhd+tz6Gtzh0fmA122RJbECmVbws0irqr5MuT96wcv1 cp95ZgMJQI6W+8Gsvt1v/hPalzRu+gYem1Vnp2KzyIzvDe3+Bk1lwZz4D3UXHlEDEMpr gMlzSmzTVzSvTtMNRj38dm7zE9SY9GZRn5FzqPFL0/jf2qLcAyHyyA0addRmRIbFXTPN 8JXWYDD/ertD1+MhskCe8Ht+Fsxiej2r2UeMh4swFdfAxHW+WKIrSIKzfXj3AVsVUbaB cjy5NuLdvuP1ZM4xpDC9qN78HCI5Rv5U2P/PPBkBWk/DRdhpgOEHPmSZZl8DILw5qtNn oiUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5pip44uz8G7BvdketPGGb7rO6ArAVuWxJOw8cYl5Dck=; b=qxU8wtnW2pANZWwFjARh3ZueqoLKor6vrK9j9Vd1OthqrLWLu1FDckEVscxZ7NEnh4 94l9un878i15SDDYzvtkUwMPrYdAYlTB0CsP8DFqlTdpj2ipMVOuVTAUK+sgPeo/0Vf0 4/mt0SmpJj5ZBdpbDBopGCnQZO7vjbB4m0bp71uYxFEOb0FGxUk6MZKCcM60nYkeVJhx TjB+xgiL/LL2vN7fohWTWxbSiwxbHAyIhRvJmAoUU9kwN5wU5quUPDsH9quYNAFceRu+ BXbh53HQIVtj4NTdcgTSyDyxj24b9h7el3MJRoeiu3+VcVF0pwFTIyy6QryjXKAnZeih R4+g== X-Gm-Message-State: AOAM530I6rjJQwyxrUa2AjRo0wDybPIkyJllRFKu0r5jpgjGbmTsWwXv hF3qElabIfWvfMChILIW7hOMPw== X-Received: by 2002:aca:b309:: with SMTP id c9mr8414386oif.135.1626712385860; Mon, 19 Jul 2021 09:33:05 -0700 (PDT) Received: from yoga (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id h1sm3774252otj.48.2021.07.19.09.33.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 09:33:05 -0700 (PDT) Date: Mon, 19 Jul 2021 11:33:02 -0500 From: Bjorn Andersson To: Thara Gopinath 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 Subject: Re: [Patch v3 4/6] arm64: boot: dts: qcom: sdm45: Add support for LMh node Message-ID: References: <20210708120656.663851-1-thara.gopinath@linaro.org> <20210708120656.663851-5-thara.gopinath@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210708120656.663851-5-thara.gopinath@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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 >