* [PATCH v2] Bluetooth: Add ABI doc for sysfs reset
@ 2025-01-20 8:47 Hsin-chen Chuang
2025-01-21 16:38 ` Luiz Augusto von Dentz
2025-01-21 16:40 ` patchwork-bot+bluetooth
0 siblings, 2 replies; 3+ messages in thread
From: Hsin-chen Chuang @ 2025-01-20 8:47 UTC (permalink / raw)
To: linux-bluetooth, pmenzel, luiz.dentz
Cc: chromeos-bluetooth-upstreaming, Hsin-chen Chuang, Johan Hedberg,
Marcel Holtmann, linux-kernel
From: Hsin-chen Chuang <chharry@chromium.org>
The functionality was implemented in commit 0f8a00137411 ("Bluetooth:
Allow reset via sysfs")
Fixes: 0f8a00137411 ("Bluetooth: Allow reset via sysfs")
Signed-off-by: Hsin-chen Chuang <chharry@chromium.org>
---
Changes in v2:
- Resolved review comments from Paul
Documentation/ABI/stable/sysfs-class-bluetooth | 9 +++++++++
MAINTAINERS | 1 +
2 files changed, 10 insertions(+)
create mode 100644 Documentation/ABI/stable/sysfs-class-bluetooth
diff --git a/Documentation/ABI/stable/sysfs-class-bluetooth b/Documentation/ABI/stable/sysfs-class-bluetooth
new file mode 100644
index 000000000000..36be02471174
--- /dev/null
+++ b/Documentation/ABI/stable/sysfs-class-bluetooth
@@ -0,0 +1,9 @@
+What: /sys/class/bluetooth/hci<index>/reset
+Date: 14-Jan-2025
+KernelVersion: 6.13
+Contact: linux-bluetooth@vger.kernel.org
+Description: This write-only attribute allows users to trigger the vendor reset
+ method on the Bluetooth device when arbitrary data is written.
+ The reset may or may not be done through the device transport
+ (e.g., UART/USB), and can also be done through an out-of-band
+ approach such as GPIO.
diff --git a/MAINTAINERS b/MAINTAINERS
index 797e94ba74f7..e949c3ac7846 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4058,6 +4058,7 @@ S: Supported
W: http://www.bluez.org/
T: git git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git
T: git git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git
+F: Documentation/ABI/stable/sysfs-class-bluetooth
F: include/net/bluetooth/
F: net/bluetooth/
--
2.48.0.rc2.279.g1de40edade-goog
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Bluetooth: Add ABI doc for sysfs reset
2025-01-20 8:47 [PATCH v2] Bluetooth: Add ABI doc for sysfs reset Hsin-chen Chuang
@ 2025-01-21 16:38 ` Luiz Augusto von Dentz
2025-01-21 16:40 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2025-01-21 16:38 UTC (permalink / raw)
To: Hsin-chen Chuang
Cc: linux-bluetooth, pmenzel, chromeos-bluetooth-upstreaming,
Hsin-chen Chuang, Johan Hedberg, Marcel Holtmann, linux-kernel
Hi Hsin-chen,
On Mon, Jan 20, 2025 at 3:47 AM Hsin-chen Chuang <chharry@google.com> wrote:
>
> From: Hsin-chen Chuang <chharry@chromium.org>
>
> The functionality was implemented in commit 0f8a00137411 ("Bluetooth:
> Allow reset via sysfs")
>
> Fixes: 0f8a00137411 ("Bluetooth: Allow reset via sysfs")
> Signed-off-by: Hsin-chen Chuang <chharry@chromium.org>
> ---
>
> Changes in v2:
> - Resolved review comments from Paul
>
> Documentation/ABI/stable/sysfs-class-bluetooth | 9 +++++++++
> MAINTAINERS | 1 +
> 2 files changed, 10 insertions(+)
> create mode 100644 Documentation/ABI/stable/sysfs-class-bluetooth
>
> diff --git a/Documentation/ABI/stable/sysfs-class-bluetooth b/Documentation/ABI/stable/sysfs-class-bluetooth
> new file mode 100644
> index 000000000000..36be02471174
> --- /dev/null
> +++ b/Documentation/ABI/stable/sysfs-class-bluetooth
> @@ -0,0 +1,9 @@
> +What: /sys/class/bluetooth/hci<index>/reset
> +Date: 14-Jan-2025
> +KernelVersion: 6.13
> +Contact: linux-bluetooth@vger.kernel.org
> +Description: This write-only attribute allows users to trigger the vendor reset
> + method on the Bluetooth device when arbitrary data is written.
> + The reset may or may not be done through the device transport
> + (e.g., UART/USB), and can also be done through an out-of-band
> + approach such as GPIO.
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 797e94ba74f7..e949c3ac7846 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -4058,6 +4058,7 @@ S: Supported
> W: http://www.bluez.org/
> T: git git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git
> T: git git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git
> +F: Documentation/ABI/stable/sysfs-class-bluetooth
> F: include/net/bluetooth/
> F: net/bluetooth/
>
> --
> 2.48.0.rc2.279.g1de40edade-goog
We also need something similar for Bluetooth: btusb: add sysfs
attribute to control USB alt setting
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Bluetooth: Add ABI doc for sysfs reset
2025-01-20 8:47 [PATCH v2] Bluetooth: Add ABI doc for sysfs reset Hsin-chen Chuang
2025-01-21 16:38 ` Luiz Augusto von Dentz
@ 2025-01-21 16:40 ` patchwork-bot+bluetooth
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2025-01-21 16:40 UTC (permalink / raw)
To: Hsin-chen Chuang
Cc: linux-bluetooth, pmenzel, luiz.dentz,
chromeos-bluetooth-upstreaming, chharry, johan.hedberg, marcel,
linux-kernel
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Mon, 20 Jan 2025 16:47:36 +0800 you wrote:
> From: Hsin-chen Chuang <chharry@chromium.org>
>
> The functionality was implemented in commit 0f8a00137411 ("Bluetooth:
> Allow reset via sysfs")
>
> Fixes: 0f8a00137411 ("Bluetooth: Allow reset via sysfs")
> Signed-off-by: Hsin-chen Chuang <chharry@chromium.org>
>
> [...]
Here is the summary with links:
- [v2] Bluetooth: Add ABI doc for sysfs reset
https://git.kernel.org/bluetooth/bluetooth-next/c/07b6216dfc34
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-21 16:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-20 8:47 [PATCH v2] Bluetooth: Add ABI doc for sysfs reset Hsin-chen Chuang
2025-01-21 16:38 ` Luiz Augusto von Dentz
2025-01-21 16:40 ` patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox