Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3736350iob; Sat, 7 May 2022 13:31:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDSk0GTP+kUnTA6SJhXtgBzcey3tqq9+hF0IvWIFG9t2Iu1ZXuun26P5U+paCvRtjrn5yr X-Received: by 2002:a05:6a00:2402:b0:4e1:46ca:68bd with SMTP id z2-20020a056a00240200b004e146ca68bdmr8935115pfh.70.1651955461197; Sat, 07 May 2022 13:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651955461; cv=none; d=google.com; s=arc-20160816; b=R/AYg8PoQB9eaMBjafr6jog4O6SSsr1frKMCnPQrKsp2Qf0NpPdIzAp5wg2W6Cn6uP 4fui/6KOFd2rvhmT2gafrcCUt/WpUyfwaeFEzJ0k5K5cloIqaYEj5whXymjFEEDUzSWW 1+oTiVTw5TTjPResnwV13fKD8lkIKRLhKXryYfcXDXlaywbbJCJn9NCNUsCWPplf+sjB Pxt8RXJUayQDowgLovgbKE5fUWTy+D43nuebReI4Z+ZtaMtRZP7t6T1Qg80cM5Qm8Cjt 4hNdR2PhOi2bR4/iCDtYAlgtLUZmdqwjLva/sKTRZcilS7ASGOHMwAXTLLkASiOXnbJs hAgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=lW6YmRKgJEIh2eED/+IVKB8oDvU0WH+BiMyppYMx/nM=; b=t1Kzu1bcJ8OVgIptbqY13zcVB+2tfu+1+LCrc2BvWE0NSH3RVIuF4BGso7ngO/zD4R hrLQ4htXFS6gKW8NRD4+bcMjuXSS3U7DcPY7DRlQES47h4oZxeK8ONOpudlnWfrN0VRO peaiTWe40we/fnEYYsMq+l5oTFgOL7EP31YEPpezmlcbE9BqwJdhDhYdZB77MGkpA4I8 8iezTfScRAQFbQWCRV428VfYfLUwY6eJQBxGDedIPKR454YLU4CrbVtdUhf59+yOmmIs 3yT3Gq07XNTBQjfrLX6ayzl6vCaMVxaEZerXNpeDz+K72rKJwIhXUfacpi0lNS3UJHHh /1pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zRf9tcad; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d22-20020a63d716000000b003aa810be6aasi8275143pgg.85.2022.05.07.13.30.29; Sat, 07 May 2022 13:31:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zRf9tcad; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376407AbiEEORW (ORCPT + 99 others); Thu, 5 May 2022 10:17:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380471AbiEEORV (ORCPT ); Thu, 5 May 2022 10:17:21 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1BAC5A165 for ; Thu, 5 May 2022 07:13:39 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id y2so7833586ybi.7 for ; Thu, 05 May 2022 07:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lW6YmRKgJEIh2eED/+IVKB8oDvU0WH+BiMyppYMx/nM=; b=zRf9tcadFcwynKQBoYA64Lhbx0xApTOpYvVH3ChFo8G0O3Q42LTXvPFy2avUIosaxs eI/9NDOOxChHWnLG9j4KMH1uDozXcWHLqD3rKvkn5P23hu+BjPvG80E6Hlt4re4yEGOF a79yE0QSTarwGHbPm6yGYVug/rEklsGNWdDx5+KZ4wjvdY+EUhliF6eG0s+GFTq4eJkF Rt+Z8xSbn0iWUAUnW5ICTnVTzmiWmGIB1xU4+yGAfmm94gCu/hhO/dPsjt5+9naj70cu 6K/ixeB/Yxgj6A+L3PD1a7oxLfQNvwRRGO8f5qfrT4DvlUlG/WVwVNWxp6EBMIP9b6AY Y8eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lW6YmRKgJEIh2eED/+IVKB8oDvU0WH+BiMyppYMx/nM=; b=TVaQX4KQX0EXUqtuQN5UjDSSJBsRoQ/Ez0gQxH9uDN2ZWX9GPni7BTk6F1Uq/BpSZB swbHcdZch/6QzHlWtZkQLp+51Ad9IUE9T0tm1rxt/XvJyY1oeQh93+Xu4qiF17Hkca4U VSfAhRtSI6x+ue8eC5upuN69dsSsMEy8UOaA+haTuwKBl1DURv66tV/TL1cc0MOHH1cQ CIjr3ogsbzCIz6r+iqxBxadBfQ64RrTygLr4sCq/hNqfJtcaAb274qcaT9uaOWXtt3ip BjEb11aqYiUCHSEvfVYp4dOcvXfoGvrthu7Vrq442VuDDU4Ayj2RVTrqXTeSSrPUi/CX NuMw== X-Gm-Message-State: AOAM533xT/tug/boyMwNlgareYbe3lhM5k+QM6Zf+A3KCLSMxjwSxEl9 ff8W4vE9pLu4jE5MSKD/Vr1RzMvWfJMWO9QX9b/ILA== X-Received: by 2002:a25:bcc7:0:b0:648:d728:d39 with SMTP id l7-20020a25bcc7000000b00648d7280d39mr22100634ybm.514.1651760019039; Thu, 05 May 2022 07:13:39 -0700 (PDT) MIME-Version: 1.0 References: <64b59ca66cc22e6433a044e7bba2b3e97c810dc2.1651647576.git.hakan.jansson@infineon.com> <1e8cfbc6-8452-0e87-9713-536d235e5b51@infineon.com> In-Reply-To: <1e8cfbc6-8452-0e87-9713-536d235e5b51@infineon.com> From: Linus Walleij Date: Thu, 5 May 2022 16:13:26 +0200 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: net: broadcom-bluetooth: Add property for autobaud mode To: Hakan Jansson Cc: "David S. Miller" , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Thu, May 5, 2022 at 3:11 PM Hakan Jansson wrote: > I suppose a general flag could be useful but to be honest I don't know > if any other devices besides the ones using the Broadcom driver has any > use for it. You would probably also still want to be able to use > current-speed to set the link speed and end up using both > current-speed=x and current-speed-auto at the same time, which might > look a little confusing? I do not think it is more confusing than being able to use current-speed and brcm,uses-autobaud-mode at the same time. > Please let me know if you'd still prefer "current-speed-auto" over > "brcm,uses-autobaud-mode" and I'll revise the patch and rename it! It actually depends a bit. This: > >> + The controller should be started in autobaud mode by asserting > >> + BT_UART_CTS_N (i.e. host RTS) during startup. Only HCI commands supported > >> + in autobaud mode should be used until patch FW has been loaded. sounds a bit vague? Does it mean that CTS is asserted, then you send a bit (CTS then goes low) and then CTS is asserted again when the device is ready to receieve more data? i.e is this some kind of one-bit mode, because it doesn't sound like it is using CTS as it was used in legacy modems. Some more explanation of this mode is needed so we can understand if this is something generic or a BRCM-only thing. Yours, Linus Walleij