From patchwork Mon May 30 15:02:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hakan Jansson X-Patchwork-Id: 12864725 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 617B4C433EF for ; Mon, 30 May 2022 15:48:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241380AbiE3PsC (ORCPT ); Mon, 30 May 2022 11:48:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242623AbiE3PrW (ORCPT ); Mon, 30 May 2022 11:47:22 -0400 Received: from smtp11.infineon.com (smtp11.infineon.com [IPv6:2a00:18f0:1e00:4::5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF497985B2; Mon, 30 May 2022 08:02:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infineon.com; i=@infineon.com; q=dns/txt; s=IFXMAIL; t=1653922976; x=1685458976; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2Fwi2HwRKBpC/iRQvdO6bnyE3pjO58eZV/y2mUE9RjE=; b=MM+vxTg0mme95jvvHqc35alevbTYaXa2HJ/TibxD/dee4giJlPPCQhxA UCfbjm6+WVtjzpEJsCogcN43Th5XyfGiA3TZPEszFzh6akgx6iIYP1D2x HlRh+vy25cGgWTTjJQl5G+RewfpoQouJDh+fwllDAg61tf95ZKoIGcwVS g=; X-SBRS: None X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="298846056" X-IronPort-AV: E=Sophos;i="5.91,263,1647298800"; d="scan'208";a="298846056" Received: from unknown (HELO mucxv003.muc.infineon.com) ([172.23.11.20]) by smtp11.infineon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 17:02:53 +0200 Received: from MUCSE803.infineon.com (MUCSE803.infineon.com [172.23.29.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mucxv003.muc.infineon.com (Postfix) with ESMTPS; Mon, 30 May 2022 17:02:53 +0200 (CEST) Received: from MUCSE807.infineon.com (172.23.29.33) by MUCSE803.infineon.com (172.23.29.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.26; Mon, 30 May 2022 17:02:53 +0200 Received: from ISCNPF0RJXQS.infineon.com (172.23.8.247) by MUCSE807.infineon.com (172.23.29.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.26; Mon, 30 May 2022 17:02:52 +0200 From: Hakan Jansson CC: Hakan Jansson , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Linus Walleij , , , , Marcel Holtmann , Johan Hedberg , "Luiz Augusto von Dentz" , Subject: [PATCH v3 0/2] Bluetooth: hci_bcm: Autobaud mode support Date: Mon, 30 May 2022 17:02:16 +0200 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [172.23.8.247] X-ClientProxiedBy: MUCSE808.infineon.com (172.23.29.34) To MUCSE807.infineon.com (172.23.29.33) To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Some devices (e.g. CYW5557x) require autobaud mode to enable FW loading. Autobaud mode can also be required on some boards where the controller device is using a non-standard baud rate when first powered on. Only a limited subset of HCI commands are supported in autobaud mode. These patches add a DT property, "brcm,requires-autobaud-mode", to control autobaud mode selection. Changes v2 -> v3: - Rename DT property and modify description in binding document Changes v1 -> v2: - Modify description in binding document Hakan Jansson (2): dt-bindings: net: broadcom-bluetooth: Add property for autobaud mode Bluetooth: hci_bcm: Add support for FW loading in autobaud mode .../bindings/net/broadcom-bluetooth.yaml | 7 +++++ drivers/bluetooth/btbcm.c | 31 ++++++++++++++----- drivers/bluetooth/btbcm.h | 8 ++--- drivers/bluetooth/hci_bcm.c | 16 ++++++++-- 4 files changed, 47 insertions(+), 15 deletions(-) base-commit: 677fb7525331375ba2f90f4bc94a80b9b6e697a3