Skip to content

Commit 6db0cd5

Browse files
NeerajSanjayKaleVudentz
authored andcommitted
dt-bindings: net: bluetooth: nxp: Add support for power save feature using GPIO
This adds a new optional device tree property device-wakeup-gpios, which specifies the GPIO connected to BT_WAKE_IN pin of the NXP chipset. If this property is defined, the driver will use this GPIO for driving chip into sleep/wakeup state, else use the UART break signal by default. Signed-off-by: Neeraj Sanjay Kale <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent 2b0f2fc commit 6db0cd5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,25 @@ properties:
3434
firmware-name:
3535
maxItems: 1
3636

37+
device-wakeup-gpios:
38+
maxItems: 1
39+
description:
40+
Host-To-Chip power save mechanism is driven by this GPIO
41+
connected to BT_WAKE_IN pin of the NXP chipset.
42+
3743
required:
3844
- compatible
3945

4046
additionalProperties: false
4147

4248
examples:
4349
- |
50+
#include <dt-bindings/gpio/gpio.h>
4451
serial {
4552
bluetooth {
4653
compatible = "nxp,88w8987-bt";
4754
fw-init-baudrate = <3000000>;
4855
firmware-name = "uartuart8987_bt_v0.bin";
56+
device-wakeup-gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
4957
};
5058
};

0 commit comments

Comments
 (0)