I am getting issue to connect Bluetooth on imx6qp, with kernel version 4.9 and Android version 8
I am getting two problems:
1) Setting gpio line for BT_EN
-> In this case I am always getting gpio number as 93. I am setting the correct value from device tree but still it is taking 93 only. What is the sequence for this?
2) In "Shared Transport" protocol registration (while trying to open BT interface). st_register is failing with error number as 22.
Wifi is working fine.
My Kernel configs are
DTS & PIN configs are being verified.
Is there anything to do with firmware loading sequence or Is there anything I am missing. Note that I am using all drivers as built-in.
Below is the boot-logs I have attached. We can see inside the two error I have mentioned:
1) (stk) :rc = 0, nshutdown_gpio = 93
2) st_register get failed.
Please help me to resolve this issue. Any reference will be helpful.
Thanks in advance