From patchwork Wed Jan 18 12:28:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13106299 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51369C32793 for ; Wed, 18 Jan 2023 12:30:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=H5SA4KHRgY1m6zOza6ACfBk2EP2fPR4p3ThSD6CxfsM=; b=rz4dai4D4yflFP JUAZoctBVED2IFvMfhmowpTIsWPzbHw4nOBvSGdWfvkuKF1Fum+vdUQs7vjumQuf2D0F0ylKftBS6 mpaL/lhw/3f5YT39mFrv6DSlHIUtR+w7SaEC/A3bRczqRqTGLLVx/IdIMQiPsg8MFEUYqQYBT3SeD gynv8WRFw0jN4NicTNE1TR7VkeFRsS7ACvoPUT1WiPhBHAWpOPbjlx42a9aczW6y3euT+MWSRnKHn sbfn1quxsgF1cl4TAhsw/y3WKJRWyN0VmR1XjXrqX+0D5KAiuAdVH6bAOzBNaYQZDEQdomwirGvDG m2itldH7Hj6Zp7LDFm5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pI7ZO-000pLp-Cw; Wed, 18 Jan 2023 12:29:35 +0000 Received: from smtp-out-01.comm2000.it ([212.97.32.64]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pI7Z2-000oxi-4d for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2023 12:29:19 +0000 Received: from francesco-nb.toradex.int (31-10-206-125.static.upc.ch [31.10.206.125]) (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-01.comm2000.it (Postfix) with ESMTPSA id 7968584363E; Wed, 18 Jan 2023 13:28:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1674044926; bh=4m4ZjSVhmyrLuZxyd7aELjCwMdvTj2UKE2kvY4tWG0c=; h=From:To:Cc:Subject:Date; b=LuTYQmoexGrY6yfgpRzgXDrca/KHOBu9Kuh+bszKjKH/MTfs8ECtWUoz5zpXS1dJ+ 6I0rmphEaMfBdXcxn6iDlPu+RxKC5vHDT9WvSDvB1vv/1swuSMgA8IlDbVD5hzs8pj Zy3PxjExlNLY2Ty7Z+QTx3OpFhXsUsgMNj5tgV03vtFxKsrnTvGFDGwhQxPNFg2CuF BC6hgxrhon7tUfC3A/vbTBA82Px+tYiCbSOzvyNHSwrs5UZXYP8pqSUQyXfIQMu/K7 PdVJEjV1pOBMFvBkgvirDJXo4keS896BRwzRLV1UiuPP166SoFSeV0MeYc4C9DsoWJ jrSzFLMf+qxHQ== From: Francesco Dolcini To: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, Marcel Holtmann , Luiz Augusto von Dentz , linux-arm-kernel@lists.infradead.org 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 Subject: [PATCH v1 0/4] Bluetooth: hci_mrvl: Add serdev support for 88W8997 Date: Wed, 18 Jan 2023 13:28:13 +0100 Message-Id: <20230118122817.42466-1-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230118_042912_419332_41CB3941 X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Francesco Dolcini 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. Stefan Eichenberger (4): dt-bindings: bluetooth: marvell: add 88W8997 DT binding dt-bindings: bluetooth: marvell: add max-speed property 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 | 88 +++++++++++++++++-- 3 files changed, 105 insertions(+), 8 deletions(-)