Thread (1 message) 1 message, 1 author, 2017-08-27

Re: [PATCH v2 1/3] dt-bindings: net: bluetooth: Add broadcom-bluetooth

From: Stefan Wahren <hidden>
Date: 2017-08-27 10:40:30
Also in: linux-devicetree

Possibly related (same subject, not in this thread)

Hi Marcel,
Marcel Holtmann [off-list ref] hat am 27. August 2017 um 12:23 ges=
chrieben:
=20
=20
Hi Stefan,
=20
quoted
quoted
quoted
quoted
quoted
Thanks a lot for working on that, I've made a similar attempt a few
weeks ago but didn't manage to get it to work.
=20
The way it's hooked in our boards is a bit more complex though, eve=
n
quoted
quoted
quoted
quoted
quoted
if it could be because we're using a different part.
=20
In order to get it running we need:
 - two clocks, called in the broadcom datasheets lpo and tcxo.
 - three GPIOs, device wakeup, host wakeup and a shutdown GPIO (whi=
ch
quoted
quoted
quoted
quoted
quoted
   might be the BT_ON you were discussing about)
 - two regulators called vbat and reg-en for us (I guess they're
   meant to power the chip, and its registers >>
Do you know if you're also using those? Or could it be that it's ju=
st
quoted
quoted
quoted
quoted
quoted
hardwired to some non-gatable crystal / regulator on the RPI?
=20
Not on Pi3, but the three gpios and the clock are pretty common for
Broadcom bt controller (cf v4 of dt-bindings patch).
=20
once we get the GPIO expander driver upstream, I think we also need th=
is for RPI 3 and Zero W. Right now we can just not do anything about this.
quoted
=20
AFAIK the Zero W doesn't have this GPIO expander. Would it be easier fo=
r you?
=20
I don=E2=80=99t understand the question. In general you want the BT_ON an=
d wakeup GPIOs to be available so that you can have good power savings. If =
they are not there, then it is always powered. It works of course as shown =
with RPI 3 where the boot loader enables the GPIOs. Which means it is like =
the current support that we have in net-next.

the question was related to the point that all SoC GPIOs should be directly=
 connected to the 43438. So using Zero W for development could be easier, b=
ecause you don't need the GPIO expander driver. But generally i agree that =
it should work with RPI 3.=20
=20
On the other hand, the hci_bcm.c support for RPI 3 is essentially a suppo=
rt for all Broadcom devices using DT. It should be extended to support all =
sorts of boards. And once ACPI becomes serdev support, we can unify ACPI, p=
latform and DT devices into a single code path.
=20
Regards
=20
Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help