]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: btnxpuart: Add GPIO support to power save feature
authorNeeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Tue, 8 Oct 2024 09:11:59 +0000 (14:41 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Nov 2024 20:29:37 +0000 (15:29 -0500)
commitc135a5bc34a89a75a739d07964ff3d1c4fa1b154
treed6d2ccbbebdaa63d2d9f20ac7534bac47e5bd6b1
parent6db0cd55432e157949a179e9d569b4515fc6e42f
Bluetooth: btnxpuart: Add GPIO support to power save feature

This adds support for driving the chip into sleep or wakeup with a GPIO.

If the device tree property device-wakeup-gpios is defined, the driver
utilizes this GPIO for controlling the chip's power save state, else it
uses the default UART-break method.

Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btnxpuart.c