[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241002210516.GA1312086-robh@kernel.org>
Date: Wed, 2 Oct 2024 16:05:16 -0500
From: Rob Herring <robh@...nel.org>
To: Neeraj Sanjay Kale <neeraj.sanjaykale@....com>
Cc: marcel@...tmann.org, luiz.dentz@...il.com, krzk+dt@...nel.org,
conor+dt@...nel.org, linux-bluetooth@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
amitkumar.karwar@....com, rohit.fule@....com, sherry.sun@....com,
ziniu.wang_1@....com, haibo.chen@....com, LnxRevLi@....com
Subject: Re: [PATCH v1 1/2] dt-bindings: net: bluetooth: nxp: Add support for
power save feature using GPIO
On Tue, Oct 01, 2024 at 11:10:20PM +0530, Neeraj Sanjay Kale wrote:
> This adds a new optional device tree property called h2c-ps-gpio.
>
> If this property is defined, the driver will use this GPIO for driving chip
> into sleep/wakeup state.
>
> Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@....com>
> ---
> .../devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml b/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
> index 37a65badb448..e4eeee9bed68 100644
> --- a/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
> +++ b/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
> @@ -34,6 +34,11 @@ properties:
> firmware-name:
> maxItems: 1
>
> + h2c-ps-gpio:
'-gpio' is deprecated. Use '-gpios'.
> + maxItems: 1
> + description:
> + Host-To-Chip power save mechanism is driven by this GPIO.
> +
> required:
> - compatible
>
> @@ -41,10 +46,12 @@ additionalProperties: false
>
> examples:
> - |
> + #include <dt-bindings/gpio/gpio.h>
> serial {
> bluetooth {
> compatible = "nxp,88w8987-bt";
> fw-init-baudrate = <3000000>;
> firmware-name = "uartuart8987_bt_v0.bin";
> + h2c-ps-gpio = <&gpio 11 GPIO_ACTIVE_HIGH>;
> };
> };
> --
> 2.25.1
>
Powered by blists - more mailing lists