aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2025-02-19 10:15:12 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-03-25 12:41:51 -0400
commitd154b0ff8995ceac3d8a2bc1c840d2f09a656c80 (patch)
tree44171e3f2601623e6bd2beeed6edf8d0a9c12b89
parentbluetooth: btnxpuart: Support for controller wakeup gpio config (diff)
downloadwireguard-linux-d154b0ff8995ceac3d8a2bc1c840d2f09a656c80.tar.xz
wireguard-linux-d154b0ff8995ceac3d8a2bc1c840d2f09a656c80.zip
dt-bindings: net: bluetooth: nxp: Add wakeup pin properties
NXP bluetooth controller may have GPIO pins used and routed for `WAKE_IN` and `WAKE_OUT`, such pin info must be known so that the driver is can configure the controller's firmware accordingly. Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-rw-r--r--Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml b/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
index 0a2d7baf5db3..04f55fac42ce 100644
--- a/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
+++ b/Documentation/devicetree/bindings/net/bluetooth/nxp,88w8987-bt.yaml
@@ -40,6 +40,16 @@ properties:
Host-To-Chip power save mechanism is driven by this GPIO
connected to BT_WAKE_IN pin of the NXP chipset.
+ nxp,wakein-pin:
+ $ref: /schemas/types.yaml#/definitions/uint8
+ description:
+ The GPIO number of the NXP chipset used for BT_WAKE_IN.
+
+ nxp,wakeout-pin:
+ $ref: /schemas/types.yaml#/definitions/uint8
+ description:
+ The GPIO number of the NXP chipset used for BT_WAKE_OUT.
+
required:
- compatible
@@ -54,5 +64,7 @@ examples:
fw-init-baudrate = <3000000>;
firmware-name = "uartuart8987_bt_v0.bin";
device-wakeup-gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
+ nxp,wakein-pin = /bits/ 8 <18>;
+ nxp,wakeout-pin = /bits/ 8 <19>;
};
};