mbox series

[v5,0/2] Bluetooth: btnxpuart: Add GPIO mechanism to

Message ID 20241008091159.650531-1-neeraj.sanjaykale@nxp.com
Headers show
Series Bluetooth: btnxpuart: Add GPIO mechanism to | expand

Message

Neeraj Sanjay Kale Oct. 8, 2024, 9:11 a.m. UTC
This patch series introduces 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 BTNXPUART driver uses this GPIO to put
the BT controller into sleep or wake it up, instead of the default UART
break mechanism.

The vendor command parameters HCI_NXP_WAKEUP_METHOD are configured to
use GPIO method instead of UART-break signal, to inform the chip about
this new mechanism.

Once power save feature is enabled, the driver puts the chip into power
save state by driving the GPIO high, and wakes it up by driving the GPIO
low.

Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>

Neeraj Sanjay Kale (2):
  dt-bindings: net: bluetooth: nxp: Add support for power save feature
    using GPIO
  Bluetooth: btnxpuart: Add GPIO support to power save feature

 .../net/bluetooth/nxp,88w8987-bt.yaml         |  8 +++
 drivers/bluetooth/btnxpuart.c                 | 57 +++++++++++++++++--
 2 files changed, 59 insertions(+), 6 deletions(-)

Comments

patchwork-bot+bluetooth@kernel.org Oct. 8, 2024, 2 p.m. UTC | #1
Hello:

This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Tue,  8 Oct 2024 14:41:57 +0530 you wrote:
> This patch series introduces 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 BTNXPUART driver uses this GPIO to put
> the BT controller into sleep or wake it up, instead of the default UART
> break mechanism.
> 
> [...]

Here is the summary with links:
  - [v5,1/2] dt-bindings: net: bluetooth: nxp: Add support for power save feature using GPIO
    https://git.kernel.org/bluetooth/bluetooth-next/c/99ba211a9b71
  - [v5,2/2] Bluetooth: btnxpuart: Add GPIO support to power save feature
    https://git.kernel.org/bluetooth/bluetooth-next/c/039468a21912

You are awesome, thank you!