Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1436266rdh; Fri, 27 Oct 2023 14:26:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqiquvnYI+7DQWYNLc0Vq0s8zmaejW+hkOq9d2UDtrxFHSM8yyjcCJ4vIoiZvNlYWtQLi8 X-Received: by 2002:a25:84c9:0:b0:d9d:3a6b:d376 with SMTP id x9-20020a2584c9000000b00d9d3a6bd376mr3745303ybm.44.1698441998464; Fri, 27 Oct 2023 14:26:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698441998; cv=none; d=google.com; s=arc-20160816; b=TkuRSKbdKK/B5l99sAwLqupYyyCwKFPfXxIVpHZNHebVki4YydQApJvkjdRqSvJFEl +mYw7I1qOWzT1Fbfpjm8CmEJxOKdbMXfGxX5yIafdQBZH+eP3bgJmO3QM/MtF3jn0ukI Dm31vI2YnI9FArWECmoYd/xIG2mLlYgzmQONNFysWnfCeIsetMXoaClKa1NK0XZzdRvq R8TVDNOErtOpGv1oIhaF4l+8TWzNXDkO+0mLW6Ls7QDdJSKnkj1pfi+HcC6B3KSgO+bB R/oifGCWHeiVcK5C4txcRzz0ekq90X1eaQD6DVBhjz95TNHvUFKk5LoD4MQs7qcr8mdl 1kCA== 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; bh=CzuXPGsliaHeUxwQ3SaLoLmpb3vcAIyz1Sn+4gWGEYo=; fh=lB2OrmsXgxzRqjCumFCw+qvypmmGkgJ9SCo54Ag9qj4=; b=BXdUT4QxOndkDF/ftAv8qW4UqnUB60kHxFJKNy3+V0RR96X+2lMZhWaL7oEE2QcXSg vdhjQyScGlib3iYE+1xvyLuP2OGNBliJZsmIx1CE1TOgrsMhk0wmm05Gswf1j1v6dmsM FMX8rT7fmkM5Rrl4rdNEFhZPJpgsMx0b5q20AOQS0GeHXtObvHiWEQzFhUKqcYC8OQOq 6KJcbfhaB/SN0qM9JcBTEJ2nwTwN5kjq1IrFx2M3bcmnzborKP/qPrO7Y5JFbTpLvk7p dSiITKok5jH5sDF6cUC8ynDmg6pNKdmxcz7L+ZEDlrewuZLbugTIt8CKDQrKfZp4aotI k9fQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id k8-20020a252408000000b00da03d94334asi4082501ybk.94.2023.10.27.14.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 14:26:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id BE2EF82E4364; Fri, 27 Oct 2023 14:26:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232617AbjJ0V0Z (ORCPT + 99 others); Fri, 27 Oct 2023 17:26:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229712AbjJ0V0Y (ORCPT ); Fri, 27 Oct 2023 17:26:24 -0400 Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 917B31B5; Fri, 27 Oct 2023 14:26:22 -0700 (PDT) Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-3b2e44c7941so1656644b6e.2; Fri, 27 Oct 2023 14:26:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698441982; x=1699046782; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CzuXPGsliaHeUxwQ3SaLoLmpb3vcAIyz1Sn+4gWGEYo=; b=QIDqV2nkrH1MhIlIMNSI1+bk6DqokWhOCLQf/Dh6foKonCkcL2ABta4MSM5GVXiLFo Nsp5+KoDZ/mdd8kr6cSEOff4XS9ZjxJtu7fT5n7UESw4L/1HaMwLZImJKYVS3yAzx4eh g/NQ9CUsRA5FLWwh8HEx1mX8fScowNCUfcYeFabU74OukEl8HJLolQsBjglof/7l6ugY WDB51WQMPNVuoJ9Lgiav9/UIyfbG6M3T3i7fnk4WY9j3PNR8Pu7s5/zX6X1uW8iNkrg6 esPTd+W4O6LARc5yDRezZQSPjygPtjKAcdl+nzJ9pgR8teifUp6W6B7D02/5RRjcDv/g j+dQ== X-Gm-Message-State: AOJu0YzO05dtfftzR0onY0y+wCc0ppgaZoEqXJnwyKIya/W+r6gdoDoV Sgf1SgxhFwDUVlLKQl+o/w== X-Received: by 2002:a05:6870:d8cf:b0:1d6:5b09:1584 with SMTP id of15-20020a056870d8cf00b001d65b091584mr5092676oac.5.1698441981797; Fri, 27 Oct 2023 14:26:21 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id zf27-20020a0568716a9b00b001eb814093b0sm460726oab.34.2023.10.27.14.26.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 14:26:19 -0700 (PDT) Received: (nullmailer pid 3399694 invoked by uid 1000); Fri, 27 Oct 2023 21:26:18 -0000 Date: Fri, 27 Oct 2023 16:26:18 -0500 From: Rob Herring To: Oleksij Rempel Cc: Rob Herring , kernel@pengutronix.de, Krzysztof Kozlowski , devicetree@vger.kernel.org, Conor Dooley , linux-kernel@vger.kernel.org, Mark Brown , Liam Girdwood Subject: Re: [PATCH v4 4/5] regulator: dt-bindings: Add 'regulator-uv-less-critical-window-ms' property Message-ID: <169844197767.3399644.2264278989526622921.robh@kernel.org> References: <20231026144824.4065145-1-o.rempel@pengutronix.de> <20231026144824.4065145-5-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231026144824.4065145-5-o.rempel@pengutronix.de> X-Spam-Status: No, score=-1.0 required=5.0 tests=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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 27 Oct 2023 14:26:34 -0700 (PDT) On Thu, 26 Oct 2023 16:48:23 +0200, Oleksij Rempel wrote: > Introduces a new devicetree property to specifies the time window (in > milliseconds) following a critical under-voltage (UV) event during which > less critical actions can be safely carried out by the system. > > Less Critical Actions: > - Logging the under-voltage event for later analysis. > - Saving less critical data that may be useful for diagnosing issues or > for audit purposes. > > More Critical Actions (post the less critical window): > - Initiating procedures to properly shutdown hardware to prevent damage. > > The 'regulator-uv-less-critical-window-ms' property is crucial for > conveying board-specific hardware characteristics, not for enforcing a > certain policy. The time window represented by this property is derived > from the physical attributes of the hardware like the capacity of > on-board capacitors, the power consumption of the components, and the > time needed to safely shut down hardware to prevent damage. These > attributes can significantly vary between different boards, making it a > board-specific property rather than a policy directive. > > By providing a precise representation of the time available for less > critical actions post an under-voltage event, this property enables the > kernel to make informed decisions on action prioritization, ensuring > that essential preventative measures are taken to avoid hardware damage > while also allowing for data capture and analysis. > > Signed-off-by: Oleksij Rempel > --- > .../devicetree/bindings/regulator/regulator.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > Acked-by: Rob Herring