Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC1E8C74A44 for ; Fri, 10 Mar 2023 13:00:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230161AbjCJNAz (ORCPT ); Fri, 10 Mar 2023 08:00:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230063AbjCJNAw (ORCPT ); Fri, 10 Mar 2023 08:00:52 -0500 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32D50CB676; Fri, 10 Mar 2023 05:00:47 -0800 (PST) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 294B820BBD; Fri, 10 Mar 2023 14:00:41 +0100 (CET) Date: Fri, 10 Mar 2023 14:00:37 +0100 From: Francesco Dolcini To: Neeraj sanjay kale Cc: Francesco Dolcini , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "marcel@holtmann.org" , "johan.hedberg@gmail.com" , "luiz.dentz@gmail.com" , "gregkh@linuxfoundation.org" , "jirislaby@kernel.org" , "alok.a.tiwari@oracle.com" , "hdanton@sina.com" , "ilpo.jarvinen@linux.intel.com" , "leon@kernel.org" , "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-bluetooth@vger.kernel.org" , "linux-serial@vger.kernel.org" , Amitkumar Karwar , Rohit Fule , Sherry Sun Subject: Re: [EXT] Re: [PATCH v6 3/3] Bluetooth: NXP: Add protocol support for NXP Bluetooth chipsets Message-ID: References: <20230301154514.3292154-1-neeraj.sanjaykale@nxp.com> <20230301154514.3292154-4-neeraj.sanjaykale@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 10, 2023 at 12:09:09PM +0000, Neeraj sanjay kale wrote: > > > +#define FIRMWARE_W8987 "nxp/uartuart8987_bt.bin" > > > +#define FIRMWARE_W8997 "nxp/uartuart8997_bt_v4.bin" > > > +#define FIRMWARE_W9098 "nxp/uartuart9098_bt_v1.bin" > > > +#define FIRMWARE_IW416 "nxp/uartiw416_bt_v0.bin" > > > +#define FIRMWARE_IW612 "nxp/uartspi_n61x_v1.bin.se" > > > > Where are this files coming from? Where can I download those? > > Is loading a combo firmware from the mwifiex driver supported? > We are working on submitting these files to linux-firmware. They will > be available under nxp/ directory once merged. What about the combo firmware that would be downloaded by mwifiex driver? How is this supposed to interact with it? > > > +#define HCI_NXP_PRI_BAUDRATE 115200 > > > +#define HCI_NXP_SEC_BAUDRATE 3000000 > > What if the UART device does not support 3000000 baudrate (think at > > limitation on the clock source/divider of the UART)? Shouldn't this be > > configurable? > We have noted this requirement and decided to design and implement on > this in upcoming patches along with other new features. We have a > number of customers out there who have been using these chips as well > as the legacy Marvell chips, which need FW download at 3000000 > baudrate, and so far there were no issues reported. Using a lower > standard baudrate affects the time it takes to download the FW, which > we are trying to keep strictly under 5 seconds. ok, just for you to know our hardware, using NXP SoC, will not work with this baudrate (no way to have it given the clock tree we have). > Hope this helps! Yes, thanks! Francesco