Commit gráf

11 Commit-ok

Szerző SHA1 Üzenet Dátum
Balakrishna Godavarthi
897ecff742 soundwire: Update soundwire driver to support btfmcodec
This change add supports in both btfmcodec and soundwire
to support btfmcodec driver has interface.

Change-Id: I2e77afaea44778147b362175aae33961dcc5042e
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2023-10-02 23:29:26 -07:00
Balakrishna Godavarthi
7bd1a061bb btfmcodec: Update usecase start
This change will notify client about usecase start
if transport selected is bt advance audio.

Change-Id: I5c85d32e0701cec4f36e0dda4110cc20338bf6a4
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2023-10-01 09:31:50 +05:30
Balakrishna Godavarthi
6b32d8743b btfmcodec: Cache configs for all the transitions
This change will cache configs for all the transitions

Change-Id: If1201fd8cf045fcc2a6c4d83d50e3dd939ebc3a4
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2023-07-19 11:31:51 -07:00
Balakrishna Godavarthi
fd58910c2d btfmcodec: Notify ADSP SSR to host
This change notifies ADSP SSR to host when it completely
boots up.

Change-Id: Icfa5a895a6f31e662ba4e7d2b818a7a75854f248
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2023-06-29 12:07:52 +05:30
Balakrishna Godavarthi
8998587891 btfmcodec: Enable Dynamic logging
This change will enable dynamic logging based on below
flags
Below bit has to be set to enable respective logging.
 * Bit 0: Error message.
 * Bit 1: Warning message.
 * Bit 2: Debug message.
 * Bit 3: Info message.
 * 0x08 is similar to 0x0F.
 * 0x04 is similar to 0x07.
 * 0x02 is similar to 0x03.
 * 0x03 is default log level for BTFM Codec.

Change-Id: Ia986a49f73d6144f2631936b8d02985d3ccf98d0
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2023-06-20 19:13:30 -07:00
Balakrishna Godavarthi
c49fc215ed btfmcodec: Update bearer response instead of ind
This change will send bearer response instead of transport
failed indications.
Update correct codeid and smaple rate for seamles transitions

Change-Id: I4b91f5e158c02d4f2dc1852cc58cec959d028497
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
2023-06-14 02:53:22 -07:00
Balakrishna Godavarthi
df0dd43a78 btfmcodec: Add new transport type
This change adds new transport type, when it is recevied the state
will be moved to IDLE.

Change-Id: Ia728ec151afb78d75444361cba3b2788fc278876
2023-02-14 06:12:15 -08:00
Balakrishna Godavarthi
e7e85692a1 btfmcodec: unblock waiting threads during usecase shutdown
This change notifies waiting thread when usecase shutdown
is triggered and also flush work queues.

Change-Id: If523e806dc23fc256e82c4eac30f7aa79b119f55
2023-01-27 19:31:49 -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
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