[v3,3/7] regulator: dt-bindings: fixed-regulator: Add under-voltage interrupt support
Message ID | 20231025084614.3092295-4-o.rempel@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2454778vqx; Wed, 25 Oct 2023 01:47:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1dgQP97o/N+aF0ms8cQLSMFt6hjK5cnCN3xflxbeDefEPdqShNg5lhWNNrK5GiEZgrrkV X-Received: by 2002:a67:ac4d:0:b0:457:c445:69f3 with SMTP id n13-20020a67ac4d000000b00457c44569f3mr9151751vsh.34.1698223644317; Wed, 25 Oct 2023 01:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698223644; cv=none; d=google.com; s=arc-20160816; b=ydEl2LNnRcAchZaDDEYcE3KKwBjwJy0925GxQMEn0zN04gx5kDbQ+J6mZl+sdb1jt4 TDcITZ55QJqLkUw43hk3yE8Cp+s6GE1tG5hbcZ0enX0C6oQ/slS0BQ3VSb8MXmCRRD5o Jaljs/w17wTaSvirWuaKmM+r/1QoE35YBKIma03AhB/y10dgH4GXLoR4QrgaNHpNXQse GhnT8QUdASUe+bVXxWCf/lnwu074oe3C2zdJxr8rx+gj4h/YXKAhhZ7ImOOB0oYN/93b 7C1sRshuWAU6KgQ8s1xRpPi9vs1Fak9N5CmM2+eMBafNZ0GmxKH4AgkFYjEXwUAxDI7x ey9g== 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=B9Lt/g8fupejmkJ2tZ8/LOAJecan4e/rE2igBnz9ylA=; fh=04ly7V1xWE1eBTBwtRUQiwjHX8ICozxkXNJpuSLZLOA=; b=gjiUdTZ+eBNAiiJjo+zrEN8O/GLzPYV5TegGZPKoQ+86CB3FzQqLvdV15kdlklhAI/ JwjOfmmOEZCOt7qFw9CW32PyNWSD9+ZzMK08vVxM/WSK+AZO6XD+YJgCMWsjiQFuDDsz W9c5hZ9SSv2Jtv6NqnUrpIeBRF4Ter77iSe5gsN8fdKxs2frK4M4DyAe88ChQoCJdZiT /V9F1NpvtosR36u9BF49p5giSD0nPsNJrY7y4+6tgBVy/V1MAelHMq/0ch6pxcKhIjQL 7bQiq65YpsMXGs1iabQTx7xNi4qNkRnozBhOldj0a4z8J9X5H1bQKMC1NksbxBkbpheJ XY/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id n197-20020a25d6ce000000b00d9ccb10a9absi9267245ybg.646.2023.10.25.01.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 01:47:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 7252B803985C; Wed, 25 Oct 2023 01:47:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233049AbjJYIqb (ORCPT <rfc822;aposhian.dev@gmail.com> + 26 others); Wed, 25 Oct 2023 04:46:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233907AbjJYIq1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 25 Oct 2023 04:46:27 -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 8225F12D for <linux-kernel@vger.kernel.org>; Wed, 25 Oct 2023 01:46:24 -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 <ore@pengutronix.de>) id 1qvZWq-0002CC-9k; 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 <ore@pengutronix.de>) id 1qvZWp-0048Wb-Bf; Wed, 25 Oct 2023 10:46:15 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from <ore@pengutronix.de>) id 1qvZWp-00CySk-0y; Wed, 25 Oct 2023 10:46:15 +0200 From: Oleksij Rempel <o.rempel@pengutronix.de> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: Oleksij Rempel <o.rempel@pengutronix.de>, kernel@pengutronix.de, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 3/7] regulator: dt-bindings: fixed-regulator: Add under-voltage interrupt support Date: Wed, 25 Oct 2023 10:46:10 +0200 Message-Id: <20231025084614.3092295-4-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 howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 25 Oct 2023 01:47:17 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780716556083067624 X-GMAIL-MSGID: 1780716556083067624 |
Series |
regulator: add under-voltage support
|
|
Commit Message
Oleksij Rempel
Oct. 25, 2023, 8:46 a.m. UTC
Add under-voltage interrupt support. This can be used with simple
regulators having no other way to communicate an under-voltage event
except as by toggling some GPIO line.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
.../devicetree/bindings/regulator/fixed-regulator.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index ac0281b1cceb..ce7751b9129c 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -100,6 +100,11 @@ properties: vin-supply: description: Input supply phandle. + interrupts: + maxItems: 1 + description: + Interrupt signaling a critical under-voltage event. + required: - compatible - regulator-name