[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqLVLhK0_CrdT33OzTfVRR5JUNqnJSkxJNAYpnd+v_hivQ@mail.gmail.com>
Date: Tue, 20 Feb 2018 08:18:14 -0600
From: Rob Herring <robh@...nel.org>
To: Moritz Fischer <mdf@...nel.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
devicetree@...r.kernel.org, linux-pm@...r.kernel.org,
Sebastian Reichel <sre@...nel.org>
Subject: Re: [PATCH v2 1/2] dt-bindings: power: reset: gpio-poweroff: Add
'timeout_ms' property
On Mon, Feb 19, 2018 at 4:59 PM, Moritz Fischer <mdf@...nel.org> wrote:
> Add 'timeout_ms' property to support boards where the 3s timeout that the
> current driver defaults to is too short.
>
> Signed-off-by: Moritz Fischer <mdf@...nel.org>
> ---
>
> Changes from v1:
> - Addressed Rob's feedback (timeout -> timeout_ms)
> - Added to old example rather than creating separate one
>
> ---
> Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt b/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt
> index e62d53d844cc..3f557b344dc4 100644
> --- a/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt
> +++ b/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt
> @@ -27,10 +27,13 @@ Optional properties:
> it to an output when the power-off handler is called. If this optional
> property is not specified, the GPIO is initialized as an output in its
> inactive state.
> +- timeout_ms: Time to wait before asserting a WARN_ON(1). If nothing is
> + specified, 3000 ms is used.
timeout-ms
Powered by blists - more mailing lists