Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1683003ioo; Mon, 23 May 2022 00:09:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQmOLGSfKG1p5VId6LiWJ8hKs7lWMZ8CeoycvXkzNJKuAAt3YOldLHV/iyrklSRZgJXehC X-Received: by 2002:a17:903:1111:b0:15f:7f0:bbf3 with SMTP id n17-20020a170903111100b0015f07f0bbf3mr21476899plh.12.1653289772902; Mon, 23 May 2022 00:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653289772; cv=none; d=google.com; s=arc-20160816; b=NXTh+BBa4+dqujpg5fiGdckdb3yl8rVjzn4B+stkwG6oNlPy9VYrVQdy3LS6TeMPEz bspjP2OOtyDTNgaKCWIVax5sX/+GlWoUQ73yaIHJP3DyqM4O02Cmj3dgKgZ5JIxPpShI QDzD30OegNUOfATvClmZc6XjSP/gc0hdJWRqShCGq2cUZgYkcQn4HMyYQZCMvcZYHtgR ejNit7G2k4xzlgs+K0bghLLXkSRDv0eAiF6oKVsvLk5JVIhqi/r1G/eIoprznlHkwa1q ZbyJnwFsOVTF3I2/WBNYhlAfCs1OPRC03eSvQcUZayrCMtJcIWdxNAOtOqBp7788XUVn xXVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=abUE6Nt5cOAlyvgZJivgVjmfrpFxYpMQ1z5A3TDBdQ0=; b=wubREuIEF38+rBI3RcmslUPAMevRvd8p2+wu2IlX3a7elWYjAcxzBxqQ2OdyJ9yu14 QPj62QzgDa5qTrfZg5LXSJKE+1heLdLLzj6JSlqXIOiy0qsP25RorKDNN+uqFOGLGeT8 5ZcXnpAu9gRpvxWdy//ha24WJxs8GBePDiJLtMnIgc+h1erMrWesYFTh8CpCRgB/EbVV PdQ/A2GRe9MKPyaWOCNIpgCf9zI6Oyk0roK36t8Ga28Dias560m8YdMzwzq8c1u5OptT Moeir4bavfa0VSiW9vcFjB7gAZakx+YDw6C1URuGdE3sqEb+Pxa5Te4eVCDimmD4cC80 knyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infineon.com header.s=IFXMAIL header.b=VsKv4gAr; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=infineon.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v14-20020a637a0e000000b003f24af2207dsi9886180pgc.524.2022.05.23.00.09.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 00:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@infineon.com header.s=IFXMAIL header.b=VsKv4gAr; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=infineon.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4162F6EB16; Sun, 22 May 2022 23:29:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350615AbiETPHj (ORCPT + 99 others); Fri, 20 May 2022 11:07:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344764AbiETPHg (ORCPT ); Fri, 20 May 2022 11:07:36 -0400 Received: from smtp14.infineon.com (smtp14.infineon.com [IPv6:2a00:18f0:1e00:4::6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5CE28B0A4; Fri, 20 May 2022 08:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infineon.com; i=@infineon.com; q=dns/txt; s=IFXMAIL; t=1653059255; x=1684595255; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EqWptlm65K/aZUFe8FaK8aN2US122LKzpWh5yxjk5M8=; b=VsKv4gArlz3/owkdMfkDnoRenQUDaZ7H/y413+OFpCh/xoGEKCSuPJDK s5H3HR0SLWTqKMS90/AAWXyNoc/Sf7HiFWU88fTQGrC8r4EL8XPmxFgGK QaOHn+oH+AGwq3c+4E8NxFqPoTjweAFQ2tMPR/cAJVO9av80OeRZYjngV 4=; X-SBRS: None X-IronPort-AV: E=McAfee;i="6400,9594,10353"; a="122053875" X-IronPort-AV: E=Sophos;i="5.91,239,1647298800"; d="scan'208";a="122053875" Received: from unknown (HELO mucxv002.muc.infineon.com) ([172.23.11.17]) by smtp14.infineon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2022 17:07:32 +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 mucxv002.muc.infineon.com (Postfix) with ESMTPS; Fri, 20 May 2022 17:07:31 +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.22; Fri, 20 May 2022 17:07:31 +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.22; Fri, 20 May 2022 17:07:30 +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 v2 1/2] dt-bindings: net: broadcom-bluetooth: Add property for autobaud mode Date: Fri, 20 May 2022 17:07:13 +0200 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.23.8.247] X-ClientProxiedBy: MUCSE815.infineon.com (172.23.29.41) To MUCSE807.infineon.com (172.23.29.33) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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. This patch adds a property, "brcm,uses-autobaud-mode", to enable autobaud mode selection. Signed-off-by: Hakan Jansson --- V1 -> V2: Modify property description .../devicetree/bindings/net/broadcom-bluetooth.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml b/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml index 5aac094fd217..a29f059c21cc 100644 --- a/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml +++ b/Documentation/devicetree/bindings/net/broadcom-bluetooth.yaml @@ -92,6 +92,15 @@ properties: pcm-sync-mode: slave, master pcm-clock-mode: slave, master + brcm,uses-autobaud-mode: + type: boolean + description: > + Setting this property will make the host (driver) assert the controller + chip's BT_UART_CTS_N prior to asserting BT_REG_ON. This will make the + controller start up in autobaud mode. The controller will then detect the + baud rate of the first incoming (HCI Reset) command from the host and + subsequently use that baud rate. + interrupts: items: - description: Handle to the line HOST_WAKE used to wake -- 2.25.1