Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2377302rdb; Tue, 10 Oct 2023 01:59:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPJcf0lFTBW/FV6jOjtS8TvKxK7DO8tpqzJ305u2igEM6xzwfWQkBoQEQHr2828K8drh53 X-Received: by 2002:a05:6808:1513:b0:3ad:ff3e:d25c with SMTP id u19-20020a056808151300b003adff3ed25cmr24155151oiw.53.1696928371089; Tue, 10 Oct 2023 01:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696928371; cv=none; d=google.com; s=arc-20160816; b=lOIKNdnT0c8weivyezzzLIjS7EhQgJfAuyxGJWhJEx0M8kY+QI+9MrP4dI9GYQDX+a 3bMBNiMc3gQeNBLaWhzVjaxopWuYLGBcrAQm4B3t9L5FWqRC4u9RNRJo5fGlPdPDvdI8 jX61aqlpHOS/pDQ2qGxO9jvZUPytnWhr5+va4cFKLVGBsdCNKasSgvt7Svu1cDlVg4IM iXGsyb+9FrGNfHielmKW/ByWodPn307ROK90ue3vFj43BH9PiQBoN7DPAN+Hj/Q7go1R EIx/J2zUm7Fba+wxdqy8Wo1yJmSzXc68lxhjXjWfUWEK1GsEE+/58fAEgd78ZiTE2KS/ Kukw== 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 :message-id:date:subject:cc:to:from; bh=d6FTXVz3lN5bcaEudpCPVKtmB9i6qVMtKbstDQmW3HA=; fh=04ly7V1xWE1eBTBwtRUQiwjHX8ICozxkXNJpuSLZLOA=; b=jIenVLTPmGDiqCiQDqBWxM9Hb+3BWZWufc11wfibOR0UopfO2HbskfgCUqbTR0UbX2 PqaQY/pXO742aJV5RLAAjP5yCZJQTM1ARM99ivI5FyCG3N/tKu/1jhbS6+ZKh2EahfDU hXC0zuFMRCSszaZoX3CVS7TLssYP62dbU4l+cG/60bDNStT+WOwyPq4l6Kk6sYjOlDa0 wxhW9GfDTU/dVGhcM7qS+JH4Sj8EMeviHRy+i5FS0CdUDCTkEzQqM3g+wMoV1hM/SHU0 0m6O+18i+XZxI2injW7LwcEz+qQL4wN7YAX5QXQ9aGzQc50lBpRxE3hU1+ZuunPcDiD3 9DGA== 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:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id bx10-20020a056a02050a00b00565f611a1f8si12816817pgb.263.2023.10.10.01.59.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 01:59:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 4BE30826E340; Tue, 10 Oct 2023 01:59:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229539AbjJJI7U (ORCPT + 99 others); Tue, 10 Oct 2023 04:59:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjJJI7T (ORCPT ); Tue, 10 Oct 2023 04:59:19 -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 1C4809F for ; Tue, 10 Oct 2023 01:59:18 -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 1qq8a4-00016V-Oc; Tue, 10 Oct 2023 10:59:08 +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 1qq8a3-000cTM-SW; Tue, 10 Oct 2023 10:59:07 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qq8a3-00ER1k-2f; Tue, 10 Oct 2023 10:59:07 +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 v1 1/3] regulator: dt-bindings: fixed-regulator: Add under-voltage interrupt support Date: Tue, 10 Oct 2023 10:59:04 +0200 Message-Id: <20231010085906.3440452-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 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=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Tue, 10 Oct 2023 01:59:28 -0700 (PDT) X-Spam-Level: ** 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 diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index ac0281b1cceb..0f8760ed2fb1 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -100,6 +100,14 @@ properties: vin-supply: description: Input supply phandle. + interrupts: + maxItems: 1 + description: + Under-voltage interrupt + + interrupt-names: + const: under-voltage + required: - compatible - regulator-name --- .../devicetree/bindings/regulator/fixed-regulator.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index ac0281b1cceb..0f8760ed2fb1 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -100,6 +100,14 @@ properties: vin-supply: description: Input supply phandle. + interrupts: + maxItems: 1 + description: + Under-voltage interrupt + + interrupt-names: + const: under-voltage + required: - compatible - regulator-name -- 2.39.2