From patchwork Mon Feb 13 12:09:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 653338 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 03542C636D4 for ; Mon, 13 Feb 2023 12:10:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231284AbjBMMK3 (ORCPT ); Mon, 13 Feb 2023 07:10:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231226AbjBMMKY (ORCPT ); Mon, 13 Feb 2023 07:10:24 -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 3266E5FD3; Mon, 13 Feb 2023 04:10:10 -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 8F51BBA1889; Mon, 13 Feb 2023 13:09:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1676290172; bh=5IFF+MAeEg7aqa9/TtrzCHtylps+zzbsIxIw3e0+S6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RnFEKeh0rJwNdYqYkK/mXnCDcB0yVR9qo9ttiQ4fXutgA74PmrVAzra15tgxJiTVQ i1J+8X4tsYYOkU9eJnChMefV3PO3cza7QnIj1ArR3g96fsFVSKM/PiP2W73DrVdDxw 4NSd6l5KkQBLrjhKVStWmsxvLFPxLzfiXI+pLI6gP9Jrg7Cf7qiLtOtQfCD4z/iemJ cTsCeAOfsXyFnRnsEMG95wHFoGF5oilERnypOPFb12PCunk5UAHkvUBww+Qb7Ic9iz FU15sVEmzmDvbxSKqFBcsGmamWEDOBsddJOFHpnyxMzlsmiE3U7qRC9BTEffU0o80q jnvQ5oXh0TPCA== 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 Cc: Stefan Eichenberger , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Johan Hedberg , Sascha Hauer , Krzysztof Kozlowski , Francesco Dolcini Subject: [PATCH v3 1/5] dt-bindings: bluetooth: marvell: add 88W8997 Date: Mon, 13 Feb 2023 13:09:22 +0100 Message-Id: <20230213120926.8166-2-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230213120926.8166-1-francesco@dolcini.it> References: <20230213120926.8166-1-francesco@dolcini.it> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Stefan Eichenberger Update the documentation with the device tree binding for the Marvell 88W8997 bluetooth device. Signed-off-by: Stefan Eichenberger Acked-by: Krzysztof Kozlowski Signed-off-by: Francesco Dolcini --- v3: no changes v2: - removed redundant "DT binding" from commit message title - add acked-by Krzysztof --- Documentation/devicetree/bindings/net/marvell-bluetooth.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/marvell-bluetooth.yaml b/Documentation/devicetree/bindings/net/marvell-bluetooth.yaml index 309ef21a1e37..83b64ed730f5 100644 --- a/Documentation/devicetree/bindings/net/marvell-bluetooth.yaml +++ b/Documentation/devicetree/bindings/net/marvell-bluetooth.yaml @@ -15,7 +15,9 @@ maintainers: properties: compatible: - const: mrvl,88w8897 + enum: + - mrvl,88w8897 + - mrvl,88w8997 required: - compatible From patchwork Mon Feb 13 12:09:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 653337 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 4D71BC636D4 for ; Mon, 13 Feb 2023 12:10:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230518AbjBMMKq (ORCPT ); Mon, 13 Feb 2023 07:10:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230464AbjBMMKc (ORCPT ); Mon, 13 Feb 2023 07:10:32 -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 92F35C65B; Mon, 13 Feb 2023 04:10:20 -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 E2E69BA18AA; Mon, 13 Feb 2023 13:09:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1676290173; bh=ZBdd6jReF6OGzDkpDCBEFnRQ9Nb4Kiy4J3ULuyTX7jY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=f55vHz1ax0tmhIrCkpjDnVCpoUnpTgbqOZPVRXyRp4O0FW8ruGEZGZZd8vBBp9WO6 4c5OpytwGmmEM15H+SQlyOJl0dYH+qp6ELo3yA1oMGw6QwC84f8EKUbYej1qG5XOL1 1M99jCtCmWRp8vWfidd26DDt/CN/K8J78U+8M89ZtjcSBHtxGwoFksdw+B5W/JFNX5 2BaTgrIwIVfvL3Y2kKhG45TYwraCndbOQiAVVC+0VubfyuHsLf1sGBva96rcUDSSgk 453gcXU3LfAbrADOMvQC2/V/SluKAuMXdb1oEAj9IUjwiQ3fJTEooYp5I/09oTK/gl z4NM6W1HEmRLQ== 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 Cc: Stefan Eichenberger , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Johan Hedberg , Sascha Hauer , Francesco Dolcini , Krzysztof Kozlowski Subject: [PATCH v3 2/5] dt-bindings: bluetooth: marvell: add max-speed property Date: Mon, 13 Feb 2023 13:09:23 +0100 Message-Id: <20230213120926.8166-3-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230213120926.8166-1-francesco@dolcini.it> References: <20230213120926.8166-1-francesco@dolcini.it> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Stefan Eichenberger The 88W8997 bluetooth module supports setting the max-speed property. Signed-off-by: Stefan Eichenberger Signed-off-by: Francesco Dolcini Reviewed-by: Krzysztof Kozlowski --- v3: add Reviewed-by Krzysztof v2: fixed indentation --- .../bindings/net/marvell-bluetooth.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/net/marvell-bluetooth.yaml b/Documentation/devicetree/bindings/net/marvell-bluetooth.yaml index 83b64ed730f5..516c63ad165a 100644 --- a/Documentation/devicetree/bindings/net/marvell-bluetooth.yaml +++ b/Documentation/devicetree/bindings/net/marvell-bluetooth.yaml @@ -19,9 +19,25 @@ properties: - mrvl,88w8897 - mrvl,88w8997 + max-speed: + description: see Documentation/devicetree/bindings/serial/serial.yaml + required: - compatible +allOf: + - if: + properties: + compatible: + contains: + const: mrvl,88w8997 + then: + properties: + max-speed: true + else: + properties: + max-speed: false + additionalProperties: false examples: From patchwork Mon Feb 13 12:09:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 653333 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 33969C636D4 for ; Mon, 13 Feb 2023 12:21:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229561AbjBMMVl (ORCPT ); Mon, 13 Feb 2023 07:21:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjBMMVk (ORCPT ); Mon, 13 Feb 2023 07:21:40 -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 3F01C6A71; Mon, 13 Feb 2023 04:21:39 -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 16CA3BA18C5; Mon, 13 Feb 2023 13:09:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailserver.it; s=mailsrv; t=1676290174; bh=n9Il5foGHa2UtXhGQ9/RSMLE0lilxSavGW560kN+Rys=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=tImg4YRkQxMjezY4h3ntoiROxMm/ji6SmVnmL1BV0s+sFT4iaI8epRT6am2kGlsi/ KJwa4s4tmErcovXCukd2U663dX798RRA9z6PwMefLnVnvGLN1k4fiiqXw0k59iVodi yWOjGhsHWfMQMuyF1wFthZSSQMvRRwTPIc219zu6fQKQ7T8YMkEHjtt1/4SnfM6QEV AZNlyzI93cAZ6yvn7cWjp+OzC9d9aYllhRFkyBG/vbt4OczRxnLo9T9+FOEQ0YEbDy AuuOMXIMk14zAYLUv6Bx7eUFMK8Bvjcrr1rFVZvpsJLKCq4TtCuvbKTQN11g09xdRO YQ+Yg23AmIojA== From: Francesco Dolcini To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, 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 Subject: [PATCH v3 5/5] arm64: dts: imx8mp-verdin: add 88W8997 serdev to uart4 Date: Mon, 13 Feb 2023 13:09:26 +0100 Message-Id: <20230213120926.8166-6-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230213120926.8166-1-francesco@dolcini.it> References: <20230213120926.8166-1-francesco@dolcini.it> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Stefan Eichenberger Use the serdev feature to load the driver for the 88W8997 bluetooth driver. Signed-off-by: Stefan Eichenberger Signed-off-by: Francesco Dolcini --- 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 */