On Wed, May 4, 2022 at 11:04 AM Hakan JanssonAs far as I can tell, not many Bluetooth drivers use the current-speed attribute yet but perhaps it would be a good idea to start using it more broadly in the future to set the initial serial link speed.
<hakan.jansson@xxxxxxxxxxxx> wrote:
+ brcm,uses-autobaud-mode:Things like gnss uses the current-speed attribute to set a serial link speed,
+ type: boolean
+ description: >
+ 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.
maybe also Bluetooth?
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?
Would it make sense to use
current-speed-auto;
As a flag for these things in general?
Yours,
Linus Walleij