Grafico dei commit

11 Commit

Autore SHA1 Messaggio Data
Franklin Abreu Bueno
176b51aefa bt-kernel: Additional bazel configuration
- add support to copy *.ko to out dir
- enable conditional compilation with config flags
- enable CONFIG_BT_HW_SECURE_DISABLE with dependency on securemsm-kernel
- re-enable compilation of bt_fm_slim with new headers
- add fallthrough attribute btfm_slim_hw_interface.c
- move BTFMSLIM_DEV_NAME to btfm_slim.h
- add target.bzl file to define specific targets

Change-Id: I7f7920870d81125f95b020ef33df77df3f937682
Signed-off-by: Franklin Abreu Bueno <quic_fabreu@quicinc.com>
2023-04-08 20:36:07 -07:00
Satish Kumar Kodishala
07a9ef55f5 BTFM SLIM:Add support for pin connectivity test
Add support for pin connectivity test for BT/FM slimbus

CRs-Fixed: 3270916
Change-Id: Ia913bcb204f6cccc59790b9a4cef20cbd346f05c
Signed-off-by: Satish Kumar Kodishala <quic_skodisha@quicinc.com>
2023-03-22 14:27:51 -07:00
Satish Kumar Kodishala
f3db4b2cdc Remove delay while opening ports for Apache
Remove delay while opening ports for Apache.
CRs-Fixed: 3330157
Change-Id: I6b9141313524ae5c13759ba1058dbe8c9e07ccc3
Signed-off-by: Satish Kumar Kodishala <quic_skodisha@quicinc.com>
2023-02-02 02:17:46 -08:00
Balakrishna Godavarthi
4a2649332e btfmcodec: Add btadv audio support
This change adds below support for BT advance audio
* Add support for codec type mixer control
* Update slim driver to read master id, channel number.
* Update slim driver to support HW EP.
* Add support for transport switch based on the request

CRs-Fixed: 3298745
Change-Id: Ica349cb6f3615f4dc51bbc3070c90d43eeba1cdd
2023-01-17 10:20:36 +05:30
Balakrishna Godavarthi
d22c687077 btfmcodec: Create btfmcodec driver
This changes handles below.

1. Create btfm codec driver.
2. add support to enumerate char device.
3. create hardware endpoint abstract layers.
4. Register with ALSA driver

CRs-Fixed: 3298745
Change-Id: Id75dad16de8414b3b6a24d265c8acb54eca4d5dc
2023-01-15 19:16:43 +05:30
Satish Kumar Kodishala
2b813f0aba Fix FM slimbus channel and port configuration
Fix FM slimbus channel and port configuration.

CRs-Fixed: 3219117
Change-Id: I3f8f5536a2d8a6cae0e0764ef4e2d6e4fc17cf7d
2022-06-21 02:32:05 -07:00
Satish Kumar Kodishala
8d9d6954ea Delay after all ports are closed for HMT
Delay after all ports are closed for HMT to
allow the slimbus hw to reset. Also, slimbus
slave don't expect port to be disconnected
while tearing down for sample rates other than
44.1/88.2k. Change added not to disconnect ports
during tear down.

CRs-Fixed: 3203895
Change-Id: Ib352a40582506fe9644e44572f56d2fb08fba075
2022-06-10 13:13:31 +05:30
Satish Kumar Kodishala
17f729b2ed BTFMSLIM: Free memory during error while port open
Free memory only during error while opening a port.
In success case, memory will be freed during port
closure.

CRs-Fixed: 3162291, 3113018
Change-Id: Ice2172c7865e5df5898b3ac927f842db1516fd96
2022-04-28 23:26:36 +05:30
satish kumar sugasi
1d6e351ae8 BT: Check slimbus configuration enabled or not
Disable BTFM slimbus driver if core slimbus disabled.

Change-Id: I6bcbe037181021d4449f345a81d257a2bc2deab6
2022-01-19 13:15:12 -08:00
satish kumar sugasi
cc92023f48 BT: Add support for kalama target
Adds voltage regulators info needed for powering on BT chipset.

Change-Id: I5f281c88b3f94a9899396ad38b81f2970e91a054
Signed-off-by: satish kumar sugasi <quic_ssugasi@quicinc.com>
2021-12-16 12:46:15 -08:00
Umesh Vats
eaa3717b1d bt-kernel: Bring initial files for BT family drivers
Bring BT family drivers from msm-5.10 kernel
to BT kernel project.

drivers/bluetooth/btpower.c -> .
drivers/bluetooth/btfm* ->  .
drivers/media/radio/rtc6226/* -> .
include/net/bt* -> include/
Above shows how directories and header files are relocated.

Change-Id: I6263eaa81dec344d7589f09ad3ec525ee7b04a8a
2021-11-08 14:00:16 -08:00