Commit Graph

1 Commits

Author SHA1 Message Date
Bastien Nocera 57d4dbfa4a Bluetooth: hci_uart: Add support for Amlogic HCI UART
JIRA: https://issues.redhat.com/browse/RHEL-61734

commit 37bac77e4649e8158698a60addc22ec4faf5649a
Author: Yang Li <yang.li@amlogic.com>
Date:   Fri Aug 9 13:42:25 2024 +0800

    Bluetooth: hci_uart: Add support for Amlogic HCI UART

    Add a new HCI protocol HCI_UART_AML for the Amlogic Bluetooth
    controller. It works on the standard H4 protocol via a 4-wire UART
    interface, with baud rates up to 4 Mbps.

    The controller supports two types of commands: the TCI commands and the
    vendor command. The former is for initial setup including setting baud
    rates, downloading fw, starting chip and etc, while the latter is for
    dumping firmware versions and setting public address after firmware
    updates and normal startup.

    It was verified on board of T602 (S905X4 + W265S2).

    dmesg:
    ..
    [    5.313450] Bluetooth: HCI UART protocol AML registered
    [    6.506052] Bluetooth: hci0: fw_version: date = 42.28, number = 0xb2fd
    ...

    Co-developed-by: Ye He <ye.he@amlogic.com>
    Signed-off-by: Ye He <ye.he@amlogic.com>
    Signed-off-by: Yang Li <yang.li@amlogic.com>
    Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

Signed-off-by: Bastien Nocera <bnocera@redhat.com>
2024-12-11 15:25:20 +01:00