Message ID | 20230213120926.8166-1-francesco@dolcini.it |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2308749wrn; Mon, 13 Feb 2023 04:15:40 -0800 (PST) X-Google-Smtp-Source: AK7set97lOOE5VOYWja8YI8dsUkx+/xsJ9jVQCiqI5BaRkh+H1ywXqsX5FUAo/Lg4clHe8tF9myk X-Received: by 2002:a17:907:2142:b0:888:7d50:33b4 with SMTP id rk2-20020a170907214200b008887d5033b4mr23213874ejb.34.1676290540010; Mon, 13 Feb 2023 04:15:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676290539; cv=none; d=google.com; s=arc-20160816; b=s2CUOU8r/FK/7z8R17hIDIC7F7UgQZQXmLOhxWh5Yublx8QO6g/6GJZkNPejqILR+C s+fZDS/11cTZ+CWXlA3MUMCqDV0j8pNYpT8VKo4ydp8y0zIzoTpNXl7kchc9qIyPoTW+ LWDoVznITU6QHX97DMo7UEjNdLrNXhMu1r+xV1JD/hxm8PDxB7W+mI6J1QjIJcV2wbxT F/cGXLxsXzzEDSIpSabrBr8ISYh3qtsibqNvSdUr6QoqsOCu79NljI8hcqlTmGTGbK42 Ccv7/ZWW93da+alFgtCEMDnffSJW1s9XXLDjQXpqiiX24VY4LGFv4UOPlZOerfw5ylAv 2w0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=7Uyk3kobGSjG5cZRu58T59Gj8K9K3rT/RxZXzaDIZko=; b=hDA0TNKdqSgk6F6YjIGDM4Bz0V0D2xZFBCjw0yWLlYuT8Qo9khOdK+hqOI2DehxPrm ofBCf5Tmz9jDdrtzNODcgguwI73ZJDUosGvrjZK9V653LaUbRbxVHh784VRLJEyXtXh6 ruTB+BWos/DcowY2VqJ1T3lsJbzcmU2680UY9Cy1bEACUNYRIm/Q4IvG7/zoaskisx3L Jb/bAntlWOTznyV7DKKXf0/gRAqQuyg0+zhGI5m6jgJ2jm5I3iHsvAyGnjBJvIvTB5Bn Jk2m3H2FHqObjFLZCq8zpemXU9CApJRWcb1JAbp1MjwkdxGL+KT6q+eommofM4uWPNSL uHZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailserver.it header.s=mailsrv header.b="y/cHB2uJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u18-20020a170906109200b0087761dd9827si15860742eju.15.2023.02.13.04.15.17; Mon, 13 Feb 2023 04:15:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@mailserver.it header.s=mailsrv header.b="y/cHB2uJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230137AbjBMMKQ (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Mon, 13 Feb 2023 07:10:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231600AbjBMMKJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Feb 2023 07:10:09 -0500 Received: from smtp-out-12.comm2000.it (smtp-out-12.comm2000.it [212.97.32.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27AC05FD3; Mon, 13 Feb 2023 04:09:44 -0800 (PST) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: francesco@dolcini.it) by smtp-out-12.comm2000.it (Postfix) with ESMTPSA id 149BCBA1877; Mon, 13 Feb 2023 13:09:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1676290172; bh=GbEIxLl6y8dz6WJwUG7aLe6/sMDkURLygpPDcrzPJAE=; h=From:To:Cc:Subject:Date; b=y/cHB2uJ4HGW62nr/5wsuGo+YWegiqYd/CqAUlvQ0/VbjdVKGfGFjX+3gweoDCigd cdtdM7vjfFjtnnlIm/IcmM6gNp+BKkNeW3pBeTzOTuVvWUN9K7Fl81f9xbAjAe+q3Q JSeE1GjreZYhAtV6zOLkK9Wq138anu6uOyOd9ciXiuWaBLm8oaXnGjmK6QnEQ7Fwr9 ctfvDVf5K3TfKpUsbDmIcFzPQ7cKmj3FpmJuJl9D3OLPoLIT3pP7vPd9HhgnvvGD6P A0BEVZ8eXOm07OllpJG/e+usO9VbSdGMPHuUBPiQHFva8kZY15h9ga0IpjIDZvOCKF NKiTlM6ngEAwQ== From: Francesco Dolcini <francesco@dolcini.it> To: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, Marcel Holtmann <marcel@holtmann.org>, Luiz Augusto von Dentz <luiz.dentz@gmail.com>, linux-arm-kernel@lists.infradead.org Cc: Francesco Dolcini <francesco.dolcini@toradex.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Johan Hedberg <johan.hedberg@gmail.com>, Sascha Hauer <s.hauer@pengutronix.de>, Shawn Guo <shawnguo@kernel.org>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com> Subject: [PATCH v3 0/5] Bluetooth: hci_mrvl: Add serdev support for 88W8997 Date: Mon, 13 Feb 2023 13:09:21 +0100 Message-Id: <20230213120926.8166-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757718028866028898?= X-GMAIL-MSGID: =?utf-8?q?1757718028866028898?= |
Series |
Bluetooth: hci_mrvl: Add serdev support for 88W8997
|
|
Message
Francesco Dolcini
Feb. 13, 2023, 12:09 p.m. UTC
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(-)
Comments
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.
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
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!