Graphe des révisions

23 Révisions

Auteur SHA1 Message Date
Balakrishna Godavarthi
30209d05c3 btfmcodec: Add packetization and depacketizations
This change adds support for packetization and
depacketization of various packet received or sent
from btfmcodec driver.

CRs-Fixed: 3298745
Change-Id: I30c1a7897a1f50d5dcad83757900152f2c06255b
2023-01-15 19:16:58 +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
Franklin Abreu Bueno
d261d4757e bt-kernel: Add support for Bazel build system
- kernel modules can now be built using Bazel/kleaf for pineapple.
- Added macro that makes it easy to register new modules

Change-Id: If19f9663135342bc36f543b1598231d133c1748f
2023-01-09 14:38:54 -08:00
jianzhou
a4d571f1da rtc6226: Make remove callback return void
The value returned by an i2c driver's remove function is mostly
ignored, so the prototype of the remove function was changed to
return no value.

So change the related remove callback return void.

Change-Id: Iba2d83fe7f11ddfaabc67171b3ed7ee6955680be
2022-12-21 08:00:24 -08:00
Franklin Abreu Bueno
b4c65a7e1e Enable Kernel Panic through ioctl
- Add  new ioctl command (BT_CMD_KERNEL_PANIC),
so that when it is called, the kernel panics.
- Add unique message that gets printed when
kernel panic.

Change-Id: Ied82749020058fe8e091f7fd5f0f212edb9a7285
2022-12-12 01:43:41 -08:00
satish kumar sugasi
11cd6d25d5 btfm: set sw_cntrl gpiois during poweron sequence.
Change-Id: I641c4a480bccfdb282e17f3489ec7c4481d84256
2022-11-29 19:32:33 -08:00
Franklin Abreu Bueno
45014a6ec9 Add support for pineapple
- Enables bt kernel driver for pineapple
- Replace fallthrough comments with attribute
- Disable WLAN dependencies

Change-Id: I7843ecc47b656e22d9e558af6be8d3445d79918f
2022-11-17 16:56:32 -08:00
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
CNSS_WLAN Service
9fa7cca933 Merge "BTFMSLIM: Free memory during error while port open" into bt-kernel.lnx.1.0 2022-05-04 15:55:37 -07:00
satish kumar sugasi
b54bc3270d BT: Add support for converged node for kalama
-Adds new device node entry to support dual attach.
-Chipset attached is detected using gpio value and corresponding
device tree  node is selected.

Change-Id: Iad12577a23ae0dca691b24de4efd385695259f41
2022-05-01 12:34:40 -07:00
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
21dce9f3af Revert "FM: Add ALT_SLEEP_CLK support for power on chip"
This reverts commit d3174b4722

Change-Id: I592fc7a404b9dfe601a392fdb82b41c332af65da
2022-02-28 09:02:55 -08:00
satish kumar sugasi
d3174b4722 FM: Add ALT_SLEEP_CLK support for power on chip
This enables/disable alt_sleep_clock during FM on/off

Change-Id: I95fbe011e34c80c013f13875bf9472e50aa05742
2022-02-17 09:26:43 -08:00
satish kumar sugasi
88a332ba60 btfm slimbus configuration change to enable
Enable btfm slimbus slave configuration default if BT power driver
enabled.

Change-Id: Iea4ee82cd366c9fa5a0824b9277b9bb49e15b128
2022-02-14 10:07:37 -08:00
Girish BN
633df0b2ed OOBS enanchment changes for Bluetooth Driver
- Handling GPIO and UART clock throw State machine.

Change-Id: I9b10b15f2150c51823e5eb670954d5b6a97a606e
2022-02-08 23:16:44 +05:30
CNSS_WLAN Service
07f6a6064d Merge "Add out of band sleep support to bluetooth driver" into bt-kernel.lnx.1.0 2022-02-08 01:22:16 -08:00
Satish Kumar Kodishala
e30db52d58 Add support for 192KHz sample rate
Add support for 192KHz sample rate for Aptx Adaptive R3

CRs-Fixed: 3105454
Change-Id: Idfc5fd79e4cc3c1dfd5dffa9f3808ee53b481706
Signed-off-by: Satish Kumar Kodishala <quic_skodisha@quicinc.com>
2022-02-07 10:33:37 -08:00
Balakrishna Godavarthi
2f0eff54ed Add out of band sleep support to bluetooth driver
This change adds out of band sleep support to bluetooth
power driver. This feature will be enabled when macro
CONFIG_MSM_BT_OOBS is defined.

Change-Id: I74b231956ad0884528b17720cbfa3639281af9a3
2022-02-05 11:51:14 +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
Git User
a3f521cc0c Initial empty repository 2021-09-23 17:20:43 -07:00