linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Bluetooth: btusb: Expose hw reset to debugfs
@ 2021-01-19 20:43 Abhishek Pandit-Subedi
  2021-01-19 20:43 ` [PATCH 1/3] Bluetooth: btusb: Refactor gpio reset Abhishek Pandit-Subedi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Abhishek Pandit-Subedi @ 2021-01-19 20:43 UTC (permalink / raw)
  To: marcel
  Cc: chromeos-bluetooth-upstreaming, mcchou, michaelfsun,
	linux-bluetooth, apusaka, Abhishek Pandit-Subedi, Johan Hedberg,
	Luiz Augusto von Dentz, linux-kernel


Hi Marcel,

This series updates the reset gpio based recovery from command
timeouts with the following changes:
  * Refactor duplicate code to use a single btusb_gpio_cmd_timeout
  * Reduce the number of command timeouts needed for reset to 3
  * Expose the gpio based hardware reset to debugfs for testing

The last one is important to us so that we can confirm new chips support
hardware based reset (which is part of our requirements for BT chips).

We will probably also add the 'toggle_hw_reset' debugfs entry to other
drivers that support hardware based reset (i.e. hci_qca, hci_h5, etc) in
subsequent changes.

Thanks
Abhishek



Abhishek Pandit-Subedi (3):
  Bluetooth: btusb: Refactor gpio reset
  Bluetooth: btusb: Trigger gpio reset quicker
  Bluetooth: btusb: Expose reset gpio to debugfs

 drivers/bluetooth/btusb.c | 107 +++++++++++++++++++++++---------------
 1 file changed, 66 insertions(+), 41 deletions(-)

-- 
2.30.0.284.gd98b1dd5eaa7-goog


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

end of thread, other threads:[~2021-01-25 17:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 20:43 [PATCH 0/3] Bluetooth: btusb: Expose hw reset to debugfs Abhishek Pandit-Subedi
2021-01-19 20:43 ` [PATCH 1/3] Bluetooth: btusb: Refactor gpio reset Abhishek Pandit-Subedi
2021-01-19 21:42   ` Bluetooth: btusb: Expose hw reset to debugfs bluez.test.bot
2021-01-25 15:19   ` [PATCH 1/3] Bluetooth: btusb: Refactor gpio reset Marcel Holtmann
2021-01-19 20:43 ` [PATCH 2/3] Bluetooth: btusb: Trigger gpio reset quicker Abhishek Pandit-Subedi
2021-01-19 20:43 ` [PATCH 3/3] Bluetooth: btusb: Expose reset gpio to debugfs Abhishek Pandit-Subedi
2021-01-25 17:51   ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).