[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241003154507.537363-1-neeraj.sanjaykale@nxp.com>
Date: Thu, 3 Oct 2024 21:15:05 +0530
From: Neeraj Sanjay Kale <neeraj.sanjaykale@....com>
To: marcel@...tmann.org,
luiz.dentz@...il.com,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org
Cc: linux-bluetooth@...r.kernel.org,
linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
amitkumar.karwar@....com,
rohit.fule@....com,
neeraj.sanjaykale@....com,
sherry.sun@....com,
ziniu.wang_1@....com,
haibo.chen@....com,
LnxRevLi@....com
Subject: [PATCH v2 0/2] Bluetooth: btnxpuart: Add GPIO mechanism to
This patch series introduces a new optional device tree property
h2c-ps-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@....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 | 36 +++++++++++++++++--
2 files changed, 42 insertions(+), 2 deletions(-)
--
2.25.1
Powered by blists - more mailing lists