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 7FC75C2BB40 for ; Fri, 11 Dec 2020 15:17:02 +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 3CF3C207A4 for ; Fri, 11 Dec 2020 15:17:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3CF3C207A4 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=v+LPcNdtpP6KXJoC6D6lviqEHSThba1KI8E22Z9noQo=; b=nEPlR3n/Rbn/CMdFZ2DU+xi6o CO8qRoMbLk3nx6D8A/8kvrY0eiNBveZkZhvQlu7CIf40xLPH8Yb0//Fozaomw4o5ITewrq/4HuuoD YLO8PGPEWcSqpzEZsY2pXYUR67FoZP3+R4YQAKr5H/GBnwy8/+liyb7RtioEJwqac2Bwv3LPF0Aw7 wRQwGQTxFGJkwe4WqMfnAIm7uJamsdVB4bFlFSKwzJyzc0rTYoIlXpHayb8wq5HgazPcy0ruHqfCM svoH3sAtCBstOk6BLeuwXiRNTVAIpuVmBopwyVex9BXXrzEMKi2wc0gnNVJGGWnXIY6eeLwRwqZb7 LzYxNAtaA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1knk96-0001BS-HP; Fri, 11 Dec 2020 15:15:48 +0000 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.53]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1knk93-0001AR-S7 for linux-arm-kernel@lists.infradead.org; Fri, 11 Dec 2020 15:15:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1607699742; s=strato-dkim-0002; d=fossekall.de; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:From: Subject:Sender; bh=dUqD5VcONOumwAMpM+Nqvxi0d/Ll3217bqW7huqrxRc=; b=jqcgeqAt0tKSwxDWM87+/Gz1giSxCRmJlafbU1z7cqI23JUCRWtiY1XVJ/ZSMH+18t GJhmyM8qXrcfzAdt3HyWeZBKq0Nco6U/ofWRfyVIArnqD+BiOIe93bbDbzVMEwnU3XVQ o7P3Gu9+rxqc9sHuQnfhiv/wal97PUcGuh4ORAD2Fv5BfyAfXF3opuKiIWz459TmIdhW 5GTuMARpj4kF3j1jSbBrhKb/a+12CokJc5VhHEQxyhi5fGbNY2ZYqqL2xfWe9sQULrEl A65tEfFNR4xstC+rbBeeTgCVVF676fd8x6YyqWcUc5cXQeb9oQ3aYDBUAoG3TiSCkmnB hVWg== X-RZG-AUTH: ":O2kGeEG7b/pS1EzgE2y7nF0STYsSLflpbjNKxx7cGrBOdI6BL9pkS3QW19mO7I+/JwRspuzJFZuRzQ==" X-RZG-CLASS-ID: mo00 Received: from aerfugl by smtp.strato.de (RZmta 47.7.1 AUTH) with ESMTPSA id L0a6acwBBFFg1A3 (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); Fri, 11 Dec 2020 16:15:42 +0100 (CET) Received: from koltrast.a98shuttle.de ([192.168.1.27] helo=a98shuttle.de) by aerfugl with smtp (Exim 4.89) (envelope-from ) id 1knk8J-0005S1-5w; Fri, 11 Dec 2020 16:14:59 +0100 Received: (nullmailer pid 116034 invoked by uid 502); Fri, 11 Dec 2020 15:14:59 -0000 From: Michael Klein To: Sebastian Reichel , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Michael Klein Subject: [PATCH v5 2/3] Documentation: DT: binding documentation for regulator-poweroff Date: Fri, 11 Dec 2020 16:14:44 +0100 Message-Id: <20201211151445.115943-3-michael@fossekall.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201211151445.115943-1-michael@fossekall.de> References: <20201211151445.115943-1-michael@fossekall.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201211_101546_035249_FD15C4E3 X-CRM114-Status: GOOD ( 15.59 ) 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..03bd1fa5a623 --- /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" + + cpu-supply: + description: + regulator to disable on power-down + +required: + - compatible + - cpu-supply + +additionalProperties: false + +examples: + - | + regulator-poweroff { + compatible = "regulator-poweroff"; + cpu-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