mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] Bluetooth: btmrvl_sdio: Refactor remote wakeup support
@ 2020-06-11  1:53 Abhishek Pandit-Subedi
  2020-06-11  1:53 ` [PATCH 1/3] Bluetooth: btmrvl_sdio: Set parent dev to hdev Abhishek Pandit-Subedi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Abhishek Pandit-Subedi @ 2020-06-11  1:53 UTC (permalink / raw)
  To: marcel, linux-bluetooth
  Cc: alainm, chromeos-bluetooth-upstreaming, mka, dianders, linux-pm,
	Abhishek Pandit-Subedi, Johan Hedberg, Marcel Holtmann,
	linux-kernel


Hi linux-bluetooth,

This patch series is refactoring the btmrvl driver to add better support
for controlling remote wakeup during suspend. Previously, the hci device
was getting created as /sys/devices/virtual/bluetooth/hci0 and there
wasn't a way to control wakeup for the device from userspace. This
series of changes adds the proper parent for the hci device, allows irq
configuration via power/wakeup and properly disables scanning during
suspend if wakeup isn't enabled.

This was tested on a Veyron Mighty Chromebook running the 4.19 kernel
with these patches. It passes both automated and manual suspend+resume
tests that make sure wakeup is working properly.

Thanks
Abhishek



Abhishek Pandit-Subedi (3):
  Bluetooth: btmrvl_sdio: Set parent dev to hdev
  Bluetooth: btmrvl_sdio: Implement prevent_wake
  Bluetooth: btmrvl_sdio: Refactor irq wakeup

 drivers/bluetooth/btmrvl_main.c | 11 +++++++++++
 drivers/bluetooth/btmrvl_sdio.c | 13 ++++++++++---
 2 files changed, 21 insertions(+), 3 deletions(-)

-- 
2.27.0.278.ge193c7cf3a9-goog


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

end of thread, other threads:[~2020-06-12  6:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11  1:53 [PATCH 0/3] Bluetooth: btmrvl_sdio: Refactor remote wakeup support Abhishek Pandit-Subedi
2020-06-11  1:53 ` [PATCH 1/3] Bluetooth: btmrvl_sdio: Set parent dev to hdev Abhishek Pandit-Subedi
2020-06-11  1:53 ` [PATCH 2/3] Bluetooth: btmrvl_sdio: Implement prevent_wake Abhishek Pandit-Subedi
2020-06-11  1:53 ` [PATCH 3/3] Bluetooth: btmrvl_sdio: Refactor irq wakeup Abhishek Pandit-Subedi
2020-06-12  6:39 ` [PATCH 0/3] Bluetooth: btmrvl_sdio: Refactor remote wakeup support Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®