Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8AA31C4167B for ; Wed, 9 Dec 2020 21:05:09 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5067B22CB1 for ; Wed, 9 Dec 2020 21:05:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5067B22CB1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=fossekall.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zLvmXDX2kwsjEioX/aI5h8CidVd5lWGNxji1fepY6aE=; b=DXnXv8VNXpf1r11wfOOc7h3p2 UEdtCgf5oBVQ/9yAVlBMO8qcK/GAaUatIocYiTi8MsjdVxhsCVDAMHIJtYTDvW4XkQvoidmltyl37 H87CxlHgbJze9khUYTa50vKaHysk9H2swf/3MBI/gjqH7dp3SmtFAwYESjBqd/GQYNH1jTdsBXhaZ KuDymv1+Ss1VEoUJ8W0qvzlHJOQ1Y8MolM4DpQRCB7ChPqMNDG5wSUGDmehL4DwAmhkyxXHexTfW+ CXWdPCQm3qo5DHdULC2J2AX9idvApRRQ5DAe9JJQzynXrkTCfDgJvrAIPupNjPBJiksCPCh71GJkR RK4sqOVBw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kn6cy-00022S-BU; Wed, 09 Dec 2020 21:04:00 +0000 Received: from mo4-p02-ob.smtp.rzone.de ([81.169.146.171]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kn6cs-0001zi-Al for linux-arm-kernel@lists.infradead.org; Wed, 09 Dec 2020 21:03:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1607547832; s=strato-dkim-0002; d=fossekall.de; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:From: Subject:Sender; bh=e3IJY+YEVfqqtF6U/npVItLV8pI44Dnssy1P4IIS0WY=; b=XfYJRwCqdp7VHrglNxJSpZyGVg6V1Li+XOvhR5hxfOL+tPARGlT3Er9sWuVto3KYsR ib9tvaUdn6ylFn3HjXBKVv0qkJ7PQbBaB2M/tvCF2T9lHPbaaHuD4wq1xpeBcfdtkoJx tV2p5NsVhxGc77UtOvHWVLV8nVWvzi9JFbFb4qU5t434cEtG6V2cT/kxzqHfucHGd1O7 e2tugtSwnuippubj/09NLyf88PgjnmxXgIWEX6Hlhmrs72x1GA2ITnRYdOexeuDS2bxZ D3kBFprlDYlLNX3/7yLQjnH/78SD5Tb4FRFsEd5+UvOmxvEjIqVSK5GfwFui7xNU+Pvf BL7Q== X-RZG-AUTH: ":O2kGeEG7b/pS1EzgE2y7nF0STYsSLflpbjNKxx7cGrBOdI6BL9pkS3QW19mO7I+/JwRspuzJFZuRzQ==" X-RZG-CLASS-ID: mo00 Received: from aerfugl by smtp.strato.de (RZmta 47.6.2 AUTH) with ESMTPSA id e07b38wB9L3qB1r (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 9 Dec 2020 22:03:52 +0100 (CET) Received: from koltrast.a98shuttle.de ([192.168.1.27] helo=a98shuttle.de) by aerfugl with smtp (Exim 4.89) (envelope-from ) id 1kn6ck-0008Cl-DP; Wed, 09 Dec 2020 22:03:46 +0100 Received: (nullmailer pid 385358 invoked by uid 502); Wed, 09 Dec 2020 21:03:46 -0000 From: Michael Klein To: Sebastian Reichel , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Michael Klein Subject: [PATCH v4 2/3] Documentation: DT: binding documentation for regulator-poweroff Date: Wed, 9 Dec 2020 22:02:20 +0100 Message-Id: <20201209210221.385188-3-michael@fossekall.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201209210221.385188-1-michael@fossekall.de> References: <20201209210221.385188-1-michael@fossekall.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201209_160354_521322_C258E3B5 X-CRM114-Status: GOOD ( 15.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add devicetree binding documentation for regulator-poweroff driver. Signed-off-by: Michael Klein --- .../power/reset/regulator-poweroff.yaml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml diff --git a/Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml b/Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml new file mode 100644 index 000000000000..c74ac247ab70 --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/regulator-poweroff.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/regulator-poweroff.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Force-disable power regulator to turn the power off. + +maintainers: + - Michael Klein + +description: | + When the power-off handler is called, a power regulator is disabled by + calling regulator_force_disable(). If the power is still on and the + CPU still running after a 3000ms delay, a warning is emitted. + +properties: + compatible: + const: "regulator-poweroff" + + power-supply: + description: + regulator to disable on power-down + +required: + - compatible + - power-supply + +additionalProperties: false + +examples: + - | + regulator-poweroff { + compatible = "regulator-poweroff"; + power-supply = <®_vcc1v2>; + }; +... -- 2.29.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel