Return-Path: From: Frederic Danis To: linux-bluetooth@vger.kernel.org Subject: [PATCH v9] Add baudrate management for Bluetooth UART Date: Tue, 9 Jun 2015 16:15:36 +0200 Message-Id: <1433859337-2398-1-git-send-email-frederic.danis@linux.intel.com> Content-Type: text/plain; charset="utf-8" Sender: linux-bluetooth-owner@vger.kernel.org List-ID: This patch set introduce baudrate management for Bluetooth UART Controller setup and a first implementation for Broadcom BCM4324B3 used in Asus T100. v8 -> v9: - Rename "struct bcm_set_speed" - Move BCM_UART_CLOCK_* to btbcm.h - add struct for UART clock setting in btbcm.h - Re-work BT_ERR blocks v7 -> v8: - Patches 1 to 5 has been integrated - Rename "struct hci_cp_bcm_set_speed" to "struct bcm_set_speed" and move it to btbcm.h - Rename parameter "dummy" to "zero" in "struct bcm_set_speed" - Add comments above vendor commands - Add "BCM: " in BT_ERR strings - Assign value of "param" variable above related vendor command v6 -> v7: - Fix setup when firmware is missing by moving request/release_firmware() out of btbcm_patchram(). v2 -> v6: - Fixes for __hci_cmd_sync() has been integrated (patch v5) - In btbcm_check_bdaddr(), merge controller address tests - Fix declaration of speeds to use "unsigned int" type - Rename default_speed to init_speed - Rename operational_speed to oper_speed - In case of error during vendor specific set_baudrate(), do not change host baudrate and continue without changing speed - Discard changes to bcm_setup_patchram() and in btusb.c - Introduce helper functions btbcm_initialize() and btbcm_finalize() to be used by the UART side of things. Frederic Danis (1): Bluetooth: hci_uart: Add bcm_set_baudrate() drivers/bluetooth/btbcm.h | 12 ++++++++++ drivers/bluetooth/hci_bcm.c | 58 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) -- 1.9.1