Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RPI zero 2 w PL011 pinctrl states not observed by bcmgpio during boot
Hi all,
While trying to enable bluetooth support for this board (so far
unsuccessful, but that's another topic) I found the below behaviour,
which I believe is strange, so I wanted to confirm whether this is a
known issue.
The Device Tree bcm2837-rpi-zero-2-w.dtb marks serial@7e201000
(plcom0/dplcom0, used for sending HCI commands to the bluetooth
controller) as enabled and references two pinctrl numbers:
pinctrl-names = "default";
pinctrl-0 = <0x0a 0x0b>;
I added some printf statements in bcm283x_pinctrl_set_config() to be
able to see what is actually being set, and I found that the handles
0xa or 0xb are missing, despite them being referenced in the device
tree. It reported these other states:
[ 1.000004] bcmgpio0: pinctrl set_config native phandle 0xd,
internal handle 0x1204
[ 1.000004] bcmgpio0: pinctrl set_config native phandle 0xe,
internal handle 0xfa4
[ 1.000004] bcmgpio0: pinctrl set_config native phandle 0x12,
internal handle 0xd10
[ 1.000004] bcmgpio0: pinctrl set_config native phandle 0x13,
internal handle 0xf4c
[ 1.000004] bcmgpio0: pinctrl set_config native phandle 0x16,
internal handle 0x107c
As you can see, no 0x0a or 0x0b. From what I have investigated,
setting those may be important to properly initialize the bluetooth
controller. Hope it makes sense.
Regards,
Maximo Pech
Disclaimer: I'm using a LLM to aid me in this project and to compose
parts of this message, as english is not my native language. I'm just
using it to research, help me understand the kernel code and testing.
Home |
Main Index |
Thread Index |
Old Index