Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2464169rwi; Fri, 28 Oct 2022 07:23:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM47/fIxCbGSoTjjar0iJGvCAvddVGKyz+1MNhURVMLr5WjHH/LEBbE0tBO7jYbr+1gyHGQS X-Received: by 2002:a17:902:ecc5:b0:186:e2e6:f576 with SMTP id a5-20020a170902ecc500b00186e2e6f576mr12634489plh.112.1666967011847; Fri, 28 Oct 2022 07:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666967011; cv=none; d=google.com; s=arc-20160816; b=QNvcd9WiJu3s/1y/zHnENbb0GZO8csCaW4YTdwj0JYUN+MUnMeyXnSv1PKuBbJDDgm n1lbMtRiMHMiZWPLUUIvuC7Dg9yHIUvSNry0P5cN1E1NiH2wh5QA/qdKNnzuwG/lpaCa CkzdMEXbnPcbi3SLozzsXNzdO+vh/EyoHDqZrLtRY3jro0sGNQtnKXGpreE2uTNinH9C VMO0cY4WZket5XAoDkZJKVttedFzmjjjOq3/dwonRkanEz/bS99beVlGJk5kHnGCOrLX ZmwrNQ7LAWQdFUW8g0yNeRexVx4TKpY+0oEifT7qvsN+TBGugIWzYaQPSND08UehTfBa qwiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=94hMpI73PIO0h/3Vty+XMO2zi3C0gyTkN9HJvjrlbOc=; b=trY8ZBthIa1x4IA/VTRydND0n7beI51K4MDxTdqenrUgcIAoHM8FjROBSodkYfRx5H XQb8B9DYwc8kb9Pp28SsmJFEAgWx28/DLXxZJqsVobyMVzMedjxpGk0vSvg4KP7qhYfZ 8OF6iFVrttY60h1g/3w1C1zedj4QGFawVjizJpjq7by11n3r7P0mqlFWcwQGRtvGEfPj gK16a6674nebU6p8Q70JkklKC+VNnDrxqhnv07ATU3ysVUfDKQLoBY99YXzBJF5Wo0ad YOP/TyCU/V4D6mwJlauGSgqQWNdPzzNnCGFrGRoV283kunfOApD3G/yyWB0IV7rylypv 5BZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h10-20020a170902f54a00b00186b6a32284si6145584plf.548.2022.10.28.07.23.18; Fri, 28 Oct 2022 07:23:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231129AbiJ1OJj (ORCPT + 99 others); Fri, 28 Oct 2022 10:09:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230290AbiJ1OJQ (ORCPT ); Fri, 28 Oct 2022 10:09:16 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D3EE51E047D; Fri, 28 Oct 2022 07:09:12 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E499512FC; Fri, 28 Oct 2022 07:09:18 -0700 (PDT) Received: from e120937-lin.. (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 935F53F534; Fri, 28 Oct 2022 07:09:11 -0700 (PDT) From: Cristian Marussi To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: sudeep.holla@arm.com, cristian.marussi@arm.com, Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: [PATCH 8/8] arm64: dts: juno: Add Thermal critical trip points Date: Fri, 28 Oct 2022 15:08:33 +0100 Message-Id: <20221028140833.280091-8-cristian.marussi@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221028140833.280091-1-cristian.marussi@arm.com> References: <20221028140833.280091-1-cristian.marussi@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When thernal zones are defined, trip points definitions are mandatory. Define a couple of critical trip points for monitoring of existing PMIC and SOC thermale zones. Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: devicetree@vger.kernel.org Signed-off-by: Cristian Marussi ---- Not sure if we want to add a: Fixes: f7b636a8d83c ("arm64: dts: juno: add thermal zones for scpi sensors") --- arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi index 2f27619d8abd..8b4d280b1e7e 100644 --- a/arch/arm64/boot/dts/arm/juno-base.dtsi +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi @@ -751,12 +751,26 @@ pmic { polling-delay = <1000>; polling-delay-passive = <100>; thermal-sensors = <&scpi_sensors0 0>; + trips { + pmic_crit0: trip0 { + temperature = <90000>; + hysteresis = <2000>; + type = "critical"; + }; + }; }; soc { polling-delay = <1000>; polling-delay-passive = <100>; thermal-sensors = <&scpi_sensors0 3>; + trips { + soc_crit0: trip0 { + temperature = <80000>; + hysteresis = <2000>; + type = "critical"; + }; + }; }; big_cluster_thermal_zone: big-cluster { -- 2.34.1