Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp324027rdg; Tue, 10 Oct 2023 11:14:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHpDV8Lo6Y59KIHNtgJqt3aFFDGt9yPw4IpoNIp2Cvuh//GTE+cvqiGVW2xbB7XwHNYiOeb X-Received: by 2002:a17:902:bb84:b0:1c4:5c05:c3d3 with SMTP id m4-20020a170902bb8400b001c45c05c3d3mr16676168pls.14.1696961658111; Tue, 10 Oct 2023 11:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696961658; cv=none; d=google.com; s=arc-20160816; b=v2d19LVxTinl7GWPykHmQSW1w2DCThY/jNZnlcB3nzCl+35ds7uzZionwL6/EFnpmR gOLAJfEo9xA9u+b3y00WR2m4H0Oxugsx973gEqDvwjytNoLNaprs7PSAzNCJTSMtx+Ry 4WFRaTbnaPV2F9+3WgjrnmXSaPbhhBjQucoDlCuhJseluzZsnqJ8dUVuKjesHnVH9OVd SRuvMRuDQe8XAS4UdBwpELxxWVbx0daDIOfke20EmVxgtcQFKdfZ+H3QUY7DFsU0U98i vaR4wdJ+MYiUJSqhQE3ykzFy49buAIoUsTiYiGwrH0tIeh1I0WBC/yB0Dh39meHS0vJJ 5A9w== 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:dkim-signature; bh=H8IzEMKlgJevzBcnPbAngthUsnbizSKNht7EUFIWiEY=; fh=SuMvC18FWRZsfJPAZU3TfV+FsZ6xq6qnRGdw4tpwPcw=; b=SziG5EcC9sldiN3CHxKMRZmObq77EFH7eChbwuRfFPYXfn7CXmGx8N4Mhmt9i2G4wz W6clrZblOpjIWKzAcyT/+b3x16vrVsXgOGZ4qyyGSu2mWvnzE4HniwSk0bXh8v0Sfz7F Mf7UYvMPrUpVPkoHRDhbOeMKhGcwaiKnu49+5BgdF+v0zEz+KbVLtqzKixqNwQY08lId UzCmoXS0BaMmwAO6DCwJSc3RuSuH9Z3SCpiQ/2doXzrgL8V4Tbx3TQSuwWml1HKabvPU R9sc473ethcYn9E6QNlm8jNOHzyu/rfTQ1/oZaFr78bPr/le8R/mgazyVA3qpgFkH9wF 3NrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qEAQjv4a; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id f2-20020a170902ce8200b001b845157b69si13527301plg.414.2023.10.10.11.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 11:14:18 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qEAQjv4a; 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; 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 howler.vger.email (Postfix) with ESMTP id 77DFF809543F; Tue, 10 Oct 2023 11:14:10 -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 S233489AbjJJSN4 (ORCPT + 99 others); Tue, 10 Oct 2023 14:13:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232976AbjJJSNx (ORCPT ); Tue, 10 Oct 2023 14:13:53 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE68A99 for ; Tue, 10 Oct 2023 11:13:51 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A951BC433C8; Tue, 10 Oct 2023 18:13:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696961631; bh=Y0jSZ418VJCO23r2Ek0he1ittaMBBbZlWHmICY7boL0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qEAQjv4aEejMBWqYn38S2+3PR80PHRXRWNK1Dx95Y5A6yom9zyOIeEF6cFo+twTeq uZ4/xPF99dXObMnNONMVZoSxJwoA39XBiL1bCmTfF7slAs4HyYifhsmeFnYGsmHpOJ z7/17TuRZorVYQyesRcajWcQHAsB6VFr7hJtS0qLbwFqHn9wKhMZTktuM92okWRKr6 2Zueo5eY/OjrQhpsTfGqH+9d9G3BHTukY6l1RSWt5sUADUIiz1OZMkUEohNOrbR8eI V7zLxZIQ+SQnZhH1PfuXb3EBG9SLb0BSZpzLkQA3cz/+4wuRiIl4glNLZz2CnBS2s7 Oea/EP+68pMbA== Received: (nullmailer pid 1210705 invoked by uid 1000); Tue, 10 Oct 2023 18:13:49 -0000 Date: Tue, 10 Oct 2023 13:13:49 -0500 From: Rob Herring To: Oleksij Rempel Cc: Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , kernel@pengutronix.de, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v1 1/3] regulator: dt-bindings: fixed-regulator: Add under-voltage interrupt support Message-ID: <20231010181349.GA1183365-robh@kernel.org> References: <20231010085906.3440452-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231010085906.3440452-1-o.rempel@pengutronix.de> X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 10 Oct 2023 11:14:10 -0700 (PDT) X-Spam-Level: ** On Tue, Oct 10, 2023 at 10:59:04AM +0200, Oleksij Rempel wrote: > 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 No need for a name. If there's ever a 2nd, it should be a specific binding, not fixed-regulator. > + > 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 I think you've got some problems with your setup... > @@ -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 >