Bluetooth: btbcm: Obtain and handle reset GPIO
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 5 Mar 2021 18:37:36 +0000 (19:37 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Mar 2021 09:25:49 +0000 (10:25 +0100)
commit2f40796671f03c0eb193f44c7d4a6855ab9b30f6
treed063d4d684e7eb60b700a524b8ad226d61a44989
parent7820ee1c4757d888c2255b8eb7f74b8d1e5ac555
Bluetooth: btbcm: Obtain and handle reset GPIO

Obtain and drive the optional reset GPIO line if this is
not hardwired in the platform. This is needed on the
Samsung GT-I9070 mobile phone.

The invers of power is used, this should be OK to apply
simultaneously as the power signal according to
figures 47-51 on pages 159-161 in the BCM4330 datasheet.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c