* [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997
@ 2023-02-13 12:09 Francesco Dolcini
2023-02-13 12:09 ` [PATCH v3 5/5] arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4 Francesco Dolcini
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Francesco Dolcini @ 2023-02-13 12:09 UTC (permalink / raw)
To: netdev, devicetree, linux-kernel, linux-bluetooth,
Marcel Holtmann, Luiz Augusto von Dentz, linux-arm-kernel
Cc: Francesco Dolcini, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Johan Hedberg,
Sascha Hauer, Shawn Guo, Pengutronix Kernel Team, Fabio Estevam
From: Francesco Dolcini <francesco.dolcini@toradex.com>
Add serdev support for the 88W8997 from NXP (previously Marvell). It includes
support for changing the baud rate. The command to change the baud rate is
taken from the user manual UM11483 Rev. 9 in section 7 (Bring-up of Bluetooth
interfaces) from NXP.
v3:
- Use __hci_cmd_sync_status instead of __hci_cmd_sync
v2:
- Fix the subject as pointed out by Krzysztof. Thanks!
- Fix indentation in marvell-bluetooth.yaml
- Fix compiler warning for kernel builds without CONFIG_OF enabled
Stefan Eichenberger (5):
dt-bindings: bluetooth: marvell: add 88W8997
dt-bindings: bluetooth: marvell: add max-speed property
Bluetooth: hci_mrvl: use maybe_unused macro for device tree ids
Bluetooth: hci_mrvl: Add serdev support for 88W8997
arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4
.../bindings/net/marvell-bluetooth.yaml | 20 ++++-
.../dts/freescale/imx8mp-verdin-wifi.dtsi | 5 ++
drivers/bluetooth/hci_mrvl.c | 90 ++++++++++++++++---
3 files changed, 104 insertions(+), 11 deletions(-)
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v3 5/5] arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4
2023-02-13 12:09 [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997 Francesco Dolcini
@ 2023-02-13 12:09 ` Francesco Dolcini
2023-02-16 8:49 ` Francesco Dolcini
2023-03-13 14:05 ` Shawn Guo
2023-02-15 20:36 ` [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997 Luiz Augusto von Dentz
2023-02-15 21:20 ` patchwork-bot+bluetooth
2 siblings, 2 replies; 7+ messages in thread
From: Francesco Dolcini @ 2023-02-13 12:09 UTC (permalink / raw)
To: devicetree, linux-kernel, linux-arm-kernel, Shawn Guo
Cc: Stefan Eichenberger, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
Johan Hedberg, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, Marcel Holtmann, Luiz Augusto von Dentz,
Francesco Dolcini
From: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Use the serdev feature to load the driver for the 88W8997 bluetooth
driver.
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
v3: no changes
v2: no changes
---
arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi
index 36289c175e6e..ef94f9a57e20 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi
@@ -65,6 +65,11 @@ &uart4 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_bt_uart>;
status = "okay";
+
+ bluetooth {
+ compatible = "mrvl,88w8997";
+ max-speed = <921600>;
+ };
};
/* On-module Wi-Fi */
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997
2023-02-13 12:09 [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997 Francesco Dolcini
2023-02-13 12:09 ` [PATCH v3 5/5] arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4 Francesco Dolcini
@ 2023-02-15 20:36 ` Luiz Augusto von Dentz
2023-02-15 20:41 ` Francesco Dolcini
2023-02-15 21:20 ` patchwork-bot+bluetooth
2 siblings, 1 reply; 7+ messages in thread
From: Luiz Augusto von Dentz @ 2023-02-15 20:36 UTC (permalink / raw)
To: Francesco Dolcini
Cc: netdev, devicetree, linux-kernel, linux-bluetooth,
Marcel Holtmann, linux-arm-kernel, Francesco Dolcini,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Rob Herring, Krzysztof Kozlowski, Johan Hedberg, Sascha Hauer,
Shawn Guo, Pengutronix Kernel Team, Fabio Estevam
Hi Francesco,
On Mon, Feb 13, 2023 at 4:09 AM Francesco Dolcini <francesco@dolcini.it> wrote:
>
> From: Francesco Dolcini <francesco.dolcini@toradex.com>
>
> Add serdev support for the 88W8997 from NXP (previously Marvell). It includes
> support for changing the baud rate. The command to change the baud rate is
> taken from the user manual UM11483 Rev. 9 in section 7 (Bring-up of Bluetooth
> interfaces) from NXP.
>
> v3:
> - Use __hci_cmd_sync_status instead of __hci_cmd_sync
>
> v2:
> - Fix the subject as pointed out by Krzysztof. Thanks!
> - Fix indentation in marvell-bluetooth.yaml
> - Fix compiler warning for kernel builds without CONFIG_OF enabled
>
> Stefan Eichenberger (5):
> dt-bindings: bluetooth: marvell: add 88W8997
> dt-bindings: bluetooth: marvell: add max-speed property
> Bluetooth: hci_mrvl: use maybe_unused macro for device tree ids
> Bluetooth: hci_mrvl: Add serdev support for 88W8997
> arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4
>
> .../bindings/net/marvell-bluetooth.yaml | 20 ++++-
> .../dts/freescale/imx8mp-verdin-wifi.dtsi | 5 ++
> drivers/bluetooth/hci_mrvl.c | 90 ++++++++++++++++---
> 3 files changed, 104 insertions(+), 11 deletions(-)
>
> --
> 2.25.1
There seems to be missing one patch 5/5:
https://patchwork.kernel.org/project/bluetooth/list/?series=721269
Other than that the Bluetooth parts seem fine, and perhaps can be
merged if the patch above is not really required.
--
Luiz Augusto von Dentz
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997
2023-02-15 20:36 ` [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997 Luiz Augusto von Dentz
@ 2023-02-15 20:41 ` Francesco Dolcini
0 siblings, 0 replies; 7+ messages in thread
From: Francesco Dolcini @ 2023-02-15 20:41 UTC (permalink / raw)
To: Luiz Augusto von Dentz
Cc: Francesco Dolcini, netdev, devicetree, linux-kernel,
linux-bluetooth, Marcel Holtmann, linux-arm-kernel,
Francesco Dolcini, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Johan Hedberg,
Sascha Hauer, Shawn Guo, Pengutronix Kernel Team, Fabio Estevam
Hello Luiz
On Wed, Feb 15, 2023 at 12:36:34PM -0800, Luiz Augusto von Dentz wrote:
> On Mon, Feb 13, 2023 at 4:09 AM Francesco Dolcini <francesco@dolcini.it> wrote:
> >
> > From: Francesco Dolcini <francesco.dolcini@toradex.com>
> >
> > Add serdev support for the 88W8997 from NXP (previously Marvell). It includes
> > support for changing the baud rate. The command to change the baud rate is
> > taken from the user manual UM11483 Rev. 9 in section 7 (Bring-up of Bluetooth
> > interfaces) from NXP.
> >
> > v3:
> > - Use __hci_cmd_sync_status instead of __hci_cmd_sync
> >
> > v2:
> > - Fix the subject as pointed out by Krzysztof. Thanks!
> > - Fix indentation in marvell-bluetooth.yaml
> > - Fix compiler warning for kernel builds without CONFIG_OF enabled
> >
> > Stefan Eichenberger (5):
> > dt-bindings: bluetooth: marvell: add 88W8997
> > dt-bindings: bluetooth: marvell: add max-speed property
> > Bluetooth: hci_mrvl: use maybe_unused macro for device tree ids
> > Bluetooth: hci_mrvl: Add serdev support for 88W8997
> > arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4
> >
> > .../bindings/net/marvell-bluetooth.yaml | 20 ++++-
> > .../dts/freescale/imx8mp-verdin-wifi.dtsi | 5 ++
> > drivers/bluetooth/hci_mrvl.c | 90 ++++++++++++++++---
> > 3 files changed, 104 insertions(+), 11 deletions(-)
> >
> > --
> > 2.25.1
>
> There seems to be missing one patch 5/5:
>
> https://patchwork.kernel.org/project/bluetooth/list/?series=721269
>
> Other than that the Bluetooth parts seem fine, and perhaps can be
> merged if the patch above is not really required.
In v3 I decided to not send it to the BT mailing list, since this is
supposed to go through Shawn and the iMX/SOC tree.
Given that it would be great if you could apply patches 1-4.
Thanks,
Francesco
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997
2023-02-13 12:09 [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997 Francesco Dolcini
2023-02-13 12:09 ` [PATCH v3 5/5] arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4 Francesco Dolcini
2023-02-15 20:36 ` [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997 Luiz Augusto von Dentz
@ 2023-02-15 21:20 ` patchwork-bot+bluetooth
2 siblings, 0 replies; 7+ messages in thread
From: patchwork-bot+bluetooth @ 2023-02-15 21:20 UTC (permalink / raw)
To: Francesco Dolcini
Cc: netdev, devicetree, linux-kernel, linux-bluetooth, marcel,
luiz.dentz, linux-arm-kernel, francesco.dolcini, davem, edumazet,
kuba, pabeni, robh+dt, krzysztof.kozlowski+dt, johan.hedberg,
s.hauer, shawnguo, kernel, festevam
Hello:
This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Mon, 13 Feb 2023 13:09:21 +0100 you wrote:
> From: Francesco Dolcini <francesco.dolcini@toradex.com>
>
> Add serdev support for the 88W8997 from NXP (previously Marvell). It includes
> support for changing the baud rate. The command to change the baud rate is
> taken from the user manual UM11483 Rev. 9 in section 7 (Bring-up of Bluetooth
> interfaces) from NXP.
>
> [...]
Here is the summary with links:
- [v3,1/5] dt-bindings: bluetooth: marvell: add 88W8997
https://git.kernel.org/bluetooth/bluetooth-next/c/f48823aa0c4f
- [v3,2/5] dt-bindings: bluetooth: marvell: add max-speed property
https://git.kernel.org/bluetooth/bluetooth-next/c/d7303dce9fcb
- [v3,3/5] Bluetooth: hci_mrvl: use maybe_unused macro for device tree ids
https://git.kernel.org/bluetooth/bluetooth-next/c/e275614465ec
- [v3,4/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997
https://git.kernel.org/bluetooth/bluetooth-next/c/58c6156a4d4b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 5/5] arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4
2023-02-13 12:09 ` [PATCH v3 5/5] arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4 Francesco Dolcini
@ 2023-02-16 8:49 ` Francesco Dolcini
2023-03-13 14:05 ` Shawn Guo
1 sibling, 0 replies; 7+ messages in thread
From: Francesco Dolcini @ 2023-02-16 8:49 UTC (permalink / raw)
To: Shawn Guo
Cc: devicetree, linux-kernel, linux-arm-kernel, Stefan Eichenberger,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Rob Herring, Krzysztof Kozlowski, Johan Hedberg, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Marcel Holtmann,
Luiz Augusto von Dentz, Francesco Dolcini, Francesco Dolcini
Hello Shawn,
On Mon, Feb 13, 2023 at 01:09:26PM +0100, Francesco Dolcini wrote:
> From: Stefan Eichenberger <stefan.eichenberger@toradex.com>
>
> Use the serdev feature to load the driver for the 88W8997 bluetooth
> driver.
>
> Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Patches 1-4 are now in linux-next, just pick this when it is
appropriate for you (I know you already sent a pull request to Arnd a
couple of weeks ago).
Thanks,
Francesco
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 5/5] arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4
2023-02-13 12:09 ` [PATCH v3 5/5] arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4 Francesco Dolcini
2023-02-16 8:49 ` Francesco Dolcini
@ 2023-03-13 14:05 ` Shawn Guo
1 sibling, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2023-03-13 14:05 UTC (permalink / raw)
To: Francesco Dolcini
Cc: devicetree, linux-kernel, linux-arm-kernel, Stefan Eichenberger,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Rob Herring, Krzysztof Kozlowski, Johan Hedberg, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, Marcel Holtmann,
Luiz Augusto von Dentz, Francesco Dolcini
On Mon, Feb 13, 2023 at 01:09:26PM +0100, Francesco Dolcini wrote:
> From: Stefan Eichenberger <stefan.eichenberger@toradex.com>
>
> Use the serdev feature to load the driver for the 88W8997 bluetooth
> driver.
>
> Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Applied, thanks!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-03-13 14:06 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-13 12:09 [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997 Francesco Dolcini
2023-02-13 12:09 ` [PATCH v3 5/5] arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4 Francesco Dolcini
2023-02-16 8:49 ` Francesco Dolcini
2023-03-13 14:05 ` Shawn Guo
2023-02-15 20:36 ` [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997 Luiz Augusto von Dentz
2023-02-15 20:41 ` Francesco Dolcini
2023-02-15 21:20 ` 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;
as well as URLs for NNTP newsgroup(s).