Bluetooth: hci_bcm: Add support for LPO clock
authorChen-Yu Tsai <wens@csie.org>
Mon, 17 Dec 2018 04:04:42 +0000 (12:04 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 18 Dec 2018 23:28:38 +0000 (00:28 +0100)
commit90bc07cc59ac32f37d6de78a501246575c8866bf
treea34f38ca72d4e2dd2318417a61a90c66729622a2
parent55dbfcd0f621a745acfd8e3221c41be181b5b128
Bluetooth: hci_bcm: Add support for LPO clock

The Broadcom Bluetooth controllers support a secondary LPO clock at
32.768 kHz. This external clock provides low power timing, and also
a way to detect the frequency of the main reference clock. On many
designs without NVRAM and a non-default reference clock, this must
be used or the controller will not function correctly.

Tested-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c