[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250905203829.GA1269545-robh@kernel.org>
Date: Fri, 5 Sep 2025 15:38:29 -0500
From: Rob Herring <robh@...nel.org>
To: Kendall Willis <k-willis@...com>
Cc: gregkh@...uxfoundation.org, jirislaby@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, vigneshr@...com, linux-kernel@...r.kernel.org,
linux-serial@...r.kernel.org, devicetree@...r.kernel.org,
d-gole@...com, vishalm@...com, sebin.francis@...com,
msp@...libre.com, khilman@...libre.com, a-kaur@...com,
john.ogness@...utronix.de, andriy.shevchenko@...ux.intel.com,
yujiaoliang@...o.com, b-liu@...com, u.kleine-koenig@...libre.com
Subject: Re: [PATCH 1/3] dt-bindings: serial: 8250_omap: Update wakeup-source
type property
On Thu, Sep 04, 2025 at 04:24:53PM -0500, Kendall Willis wrote:
> Allow the wakeup-source property to be either of type boolean or of a
> phandle array. The phandle array points to the system idle states that the
> UART can wakeup the system from.
>
> Signed-off-by: Kendall Willis <k-willis@...com>
> ---
> Documentation/devicetree/bindings/serial/8250_omap.yaml | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/serial/8250_omap.yaml b/Documentation/devicetree/bindings/serial/8250_omap.yaml
> index 1859f71297ff2..851a5291b4be4 100644
> --- a/Documentation/devicetree/bindings/serial/8250_omap.yaml
> +++ b/Documentation/devicetree/bindings/serial/8250_omap.yaml
> @@ -69,7 +69,13 @@ properties:
> clock-frequency: true
> current-speed: true
> overrun-throttle-ms: true
> - wakeup-source: true
> +
> + wakeup-source:
> + oneOf:
> + - type: boolean
> + - $ref: /schemas/types.yaml#/definitions/phandle-array
> + description:
> + List of phandles to system idle states in which UARTs can wakeup the system.
You don't need to be defining the type here. Did you find either type
didn't work?
Powered by blists - more mailing lists