All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Bluetooth: btnxpuart: Add GPIO mechanism to
@ 2024-10-01 17:40 Neeraj Sanjay Kale
  2024-10-01 17:40 ` [PATCH v1 1/2] dt-bindings: net: bluetooth: nxp: Add support for power save feature using GPIO Neeraj Sanjay Kale
  2024-10-01 17:40 ` [PATCH v1 2/2] Bluetooth: btnxpuart: Add GPIO support to power save feature Neeraj Sanjay Kale
  0 siblings, 2 replies; 9+ messages in thread
From: Neeraj Sanjay Kale @ 2024-10-01 17:40 UTC (permalink / raw)
  To: marcel, luiz.dentz, robh, krzk+dt, conor+dt
  Cc: linux-bluetooth, linux-kernel, devicetree, amitkumar.karwar,
	rohit.fule, neeraj.sanjaykale, sherry.sun, ziniu.wang_1,
	haibo.chen, LnxRevLi

This patch series introduces a new optional device tree property
h2c-ps-gpio.

If this property is defined, the BTNXPUART driver uses this GPIO to put
the BT controller into sleep or wake it up.

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         |  7 ++++
 drivers/bluetooth/btnxpuart.c                 | 36 +++++++++++++++++--
 2 files changed, 41 insertions(+), 2 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-10-04  7:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-01 17:40 [PATCH v1 0/2] Bluetooth: btnxpuart: Add GPIO mechanism to Neeraj Sanjay Kale
2024-10-01 17:40 ` [PATCH v1 1/2] dt-bindings: net: bluetooth: nxp: Add support for power save feature using GPIO Neeraj Sanjay Kale
2024-10-01 18:03   ` Krzysztof Kozlowski
2024-10-02 21:05   ` Rob Herring
2024-10-01 17:40 ` [PATCH v1 2/2] Bluetooth: btnxpuart: Add GPIO support to power save feature Neeraj Sanjay Kale
2024-10-01 19:36   ` Shenwei Wang
2024-10-03 15:38     ` Neeraj Sanjay Kale
2024-10-03 15:49       ` Shenwei Wang
2024-10-04  7:42         ` Neeraj Sanjay Kale

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.