Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2412218rda; Wed, 25 Oct 2023 01:47:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF9AkusbxxUewZiKl6x8fSS6ZNWzvPWpKv1oufDbLiyqwLZiWOJA/dlDNH9HCGW6nKrUDKE X-Received: by 2002:ae9:e517:0:b0:777:7178:ebf2 with SMTP id w23-20020ae9e517000000b007777178ebf2mr12832699qkf.18.1698223622306; Wed, 25 Oct 2023 01:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698223622; cv=none; d=google.com; s=arc-20160816; b=oFJCXXjXJ7/5gCsauiSgk8mRfnEB6rr1yUQxoICCY+d0WMvfIJHuOUzz8qLlXEf2T5 ENwKpHfgQV/PMzH4R4sQ6w8s81/dqbfbRV6QDxgxdTeYItZj9U8pzqpGDUQ/qdoAiUn5 msmAh8FkTgvT79FnpUGIDwb+FGMTXK2W29n3Qta1LQkqWVAsEEiPrN2/Uoa/NzTrSSTF wj8g60IM00HXFLRqzvvSQSJfq3qlSh53IUv33OoroQ2EAGKsPs+/QESM7Gq6fdyn02Nu PT96EirPaPYMyePeXNOzQXIWj4dyOKcqO755Axgvbeo17mZtsCDGLRjXSmNVIsVt6wP6 Q2MQ== 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=lNWz8vqnBiC0k9CGJIPqIyQGjVsIEarMBSnZUKIKFoQ=; fh=04ly7V1xWE1eBTBwtRUQiwjHX8ICozxkXNJpuSLZLOA=; b=WTuD2zoZCIH2hE8lF3U8sC67txet+nDSdJBayfxOecpP8B1+IntCK7VU+ng9r/elwl sRlvUJo2daBtHmx1EggZQGX02I351cClHm+9k3pylPOk5lwm7B6aI23KSrB8j4gV72Jd wPqPTUKY2m+v9MJLn7A2uR04BhEZVxvj30heImVkoy+FU6urvR5wuzn5wtoOsf+oo9i/ 0JB5TjBcqYaMLvyd+YeMLngGWaScvMqUhGm2eRkzdJEO8xHVAdRhgIfsImmStPIo+vbZ t11+e//7Uw30U7A7wNO1P6yYn/QuXv4WYkr6eRBmqLHXVz8YxLIjA5mymiiO8fPew9Jq MPEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id g16-20020a0ddd10000000b005a4f5c9e4ccsi10826382ywe.421.2023.10.25.01.47.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 01:47:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id E237B8029033; Wed, 25 Oct 2023 01:46:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234376AbjJYIqh (ORCPT + 99 others); Wed, 25 Oct 2023 04:46:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234088AbjJYIq2 (ORCPT ); Wed, 25 Oct 2023 04:46:28 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CF2D185 for ; Wed, 25 Oct 2023 01:46:26 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qvZWq-0002CF-9l; Wed, 25 Oct 2023 10:46:16 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qvZWp-0048Wi-Dc; Wed, 25 Oct 2023 10:46:15 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qvZWp-00CyTG-19; Wed, 25 Oct 2023 10:46:15 +0200 From: Oleksij Rempel To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 6/7] regulator: dt-bindings: Add regulator-uv-survival-time-ms property Date: Wed, 25 Oct 2023 10:46:13 +0200 Message-Id: <20231025084614.3092295-7-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231025084614.3092295-1-o.rempel@pengutronix.de> References: <20231025084614.3092295-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 25 Oct 2023 01:46:56 -0700 (PDT) Introduce a new Device Tree property 'regulator-uv-survival-time-ms' to specify the survival time post a critical under-voltage event. This property defines the time in milliseconds the system can operate before the on-board capacitors fail, providing a window for necessary actions or preparations to be taken before power loss, aligning with the under-voltage event handling mechanism. Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/regulator/regulator.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml index 5b8d55f7c43b..85b8c51f8ede 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/regulator.yaml @@ -186,6 +186,13 @@ properties: be enabled but limit setting can be omitted. Limit is given as microvolt offset from voltage set to regulator. + regulator-uv-survival-time-ms: + description: Specifies the time (in milliseconds) the system can continue + to operate after a critical under-voltage event has been triggered, + before the on-board capacitors fail. This time essentially represents the + duration the system has to take any necessary actions or preparations + before power loss. + regulator-temp-protection-kelvin: description: Set over temperature protection limit. This is a limit where hardware performs emergency shutdown. Zero can be passed to disable -- 2.39.2