Commit-Graf

4387 Incheckningar

Upphovsman SHA1 Meddelande Datum
V S Ganga VaraPrasad (VARA) Adabala
1cae8a08d6 Merge commit 'e3de149b42b456220dc761bd9a23e30302c78355' into audio-kernel.lnx.6.0.r1-rel 2023-09-21 19:06:58 +05:30
V S Ganga VaraPrasad (VARA) Adabala
ceefe7bc5d Revert "dsp/ipc: check q6 state before calling gpr_snd_pkt"
This reverts commit a45c3be654.

Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2023-09-21 19:06:31 +05:30
V S Ganga VaraPrasad (VARA) Adabala
11ddbf9891 Revert "asoc: codecs: wsa883x: remove handling for pre ssr event"
This reverts commit 7ae72e4897.

Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2023-09-21 19:06:14 +05:30
V S Ganga VaraPrasad (VARA) Adabala
519865f2f0 Revert "asoc: codecs: wsa884x: Remove pre ssr handling"
This reverts commit 89d62fdc0f.

Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2023-09-21 19:05:56 +05:30
V S Ganga VaraPrasad (VARA) Adabala
bd06be0f8e Revert "asoc: codecs: lpass-cdc: remove pre ssr notifier call"
This reverts commit 90699117c0.

Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2023-09-21 19:05:40 +05:30
V S Ganga VaraPrasad (VARA) Adabala
fc7bf21cb2 Revert "audio-kernel: wcd: Disable 1M Pull-up resistor"
This reverts commit f868a71537.

Signed-off-by: V S Ganga VaraPrasad (VARA) Adabala <quic_vadabala@quicinc.com>
2023-09-21 19:05:27 +05:30
qctecmdr
e3de149b42 Merge "asoc: codecs: update max sampling rate of wsa881x analog driver" 2023-09-01 14:28:55 -07:00
qctecmdr
258006bf14 Merge "Android: add conditional compilation for HDMI modules" 2023-08-31 20:41:18 -07:00
qctecmdr
9300c57ac4 Merge "asoc: wcd-mbhc: move component inside the WCD_USBSS" 2023-08-31 20:41:18 -07:00
qctecmdr
a794b34d20 Merge "asoc: bindings: add bt swr port types" 2023-08-31 20:41:18 -07:00
Sairam Peri
6e38fad118 asoc: codecs: update max sampling rate of wsa881x analog driver
Updated the wsa dailink to support 384Khz HS playback.

Picked latest codec fixes to kernel6.0.

Change-Id: Ia570dc3f3ed55415ac374e1ba3bb6f2277dade96
Signed-off-by: Sairam Peri<quic_peri@quicinc.com>
2023-08-31 23:33:37 +05:30
Prasad Kumpatla
76549b668e asoc: wcd-mbhc: move component inside the WCD_USBSS
moved compponent inside the #define of WCD_USBSS, to avoid
compilation issue for unsed of WCD_USBSS_I2C in some targets.

Change-Id: Ia2f64182aa8330db10122e70f12066ffebe9d16b
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-08-31 15:43:40 +05:30
Phani Kumar Uppalapati
f868a71537 audio-kernel: wcd: Disable 1M Pull-up resistor
1M Pull-up resistor within WCD causes LPD (Liquid Presence
Detection) failures. So add support for disabling 1Mohm
Pull-up resistor. Re-enable it whenever wcd enters into
audio mode.

Change-Id: Ib3115315bc61d4e6126ddf688653182417d5d54d
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2023-08-28 22:37:37 +05:30
Vangala, Amarnath
90699117c0 asoc: codecs: lpass-cdc: remove pre ssr notifier call
Remove the PRE_SSR blocking notifier call.
This is not required as early down event is not handled.

Change-Id: Ie448fa2af92edd484d282200cf350c6bddc5f99d
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-08-28 22:37:24 +05:30
Vangala, Amarnath
89d62fdc0f asoc: codecs: wsa884x: Remove pre ssr handling
Remove handling for PRE_SSR event.
Move the gpio handling during SSR to SSR UP event.

Change-Id: I2bb1b66db455c6211f1bf12c9e19d7e306a6243a
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-08-28 22:37:09 +05:30
Vangala, Amarnath
7ae72e4897 asoc: codecs: wsa883x: remove handling for pre ssr event
Remove handling for PRE_SSR event and move gpio handling
 to SSR_UP event.

Change-Id: Ia4dd87bdcf2f21376fa84e0f447d978ae222e816
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-08-28 22:36:52 +05:30
Ganapathiraju Sarath Varma
a45c3be654 dsp/ipc: check q6 state before calling gpr_snd_pkt
check q6 state before calling gpr_snd_pkt,in audio_prm
and audio-pkt.

Change-Id: I7590c60ff88e3fce0028d8df08af3a847474ea38
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
2023-08-28 22:36:34 +05:30
Linux Build Service Account
fe951e3363 Merge a6734b9ac0 on remote branch
Change-Id: Ie689efa4ea9bbdda51462eb69d0690b7b55df0b2
2023-08-24 08:57:58 -07:00
qctecmdr
513787652f Merge "asoc: wcd939x-mbhc: Support zdet ext FET config" 2023-08-19 00:58:49 -07:00
qctecmdr
9b48000bd5 Merge "asoc: wcd939x: Add xtalk/linearizer sysfs params" 2023-08-19 00:58:49 -07:00
qctecmdr
e8568049e3 Merge "audio-kernel: wcd: Disable 1M Pull-up resistor" 2023-08-18 02:19:20 -07:00
Phani Kumar Uppalapati
3fca2376eb audio-kernel: wcd: Disable 1M Pull-up resistor
1M Pull-up resistor within WCD causes LPD (Liquid Presence
Detection) failures. So add support for disabling 1Mohm
Pull-up resistor. Re-enable it whenever wcd enters into
audio mode.

Change-Id: Ib3115315bc61d4e6126ddf688653182417d5d54d
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
2023-08-15 19:27:16 -07:00
Vangala, Amarnath
c2e7e60fde asoc: codecs: lpass-cdc: reset the decimator sampling rate to default
While disabling the Decimator, reset the sampling rate to default value.

Change-Id: If07aeb69ddff459d0fdf8dfd4ccb7b3d8ed97743
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-08-15 17:22:27 +05:30
Sam Rainey
3013d88446 asoc: wcd939x: Add xtalk/linearizer sysfs params
Add sysfs parameters to configure xtalk and linearizer
within wcd-usbss for pineapple.

Change-Id: Ie246cb66c1332727b748d648bb7b21a0f4cda377
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
2023-08-14 18:18:26 -07:00
Sam Rainey
7610f7b4de asoc: wcd939x-mbhc: Support zdet ext FET config
Capture, write, and restore USB-SS registers relating
to the external FETs during zdet to set the proper
configuration for each channel measurement.

Change-Id: I0be46619312b66017993f9ffa5b8eab968e4dda5
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
2023-08-14 17:24:28 -07:00
qctecmdr
a6734b9ac0 Merge "build: Add support for Bazel to build modules in Blair" 2023-08-11 05:23:11 -07:00
Satish Babu Patakokila
18e04f5419 build: Add support for Bazel to build modules in Blair
Add support for modules to be built with Bazel for Blair.

Change-Id: I7b15deca72d7411c1ee9630b325c47777749c6fe
Signed-off-by: Satish Babu Patakokila <quic_spatakok@quicinc.com>
2023-08-09 16:05:35 +05:30
Vangala, Amarnath
aff18ba970 asoc: pineapple: Check displayport availability before enabling
Check for external displayport availability before
 registering the codec DAIs.

Change-Id: Ib55929b3cd8f5901b832a6827e44a18b53b52d39
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-08-08 09:59:57 -07:00
Prasad Kumpatla
6e6449082f Android: add conditional compilation for HDMI modules
add conditional compilation for HDMI modules.

Change-Id: Ia8189bfec4f1f8b2106472301a1be7579ea9c0fe
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-08-08 12:51:43 +05:30
Linux Build Service Account
e0d30a32f0 Merge 0a93a99156 on remote branch
Change-Id: I51281dc30ac598af34cdfa8d71538884b4943e46
2023-08-07 20:59:01 -07:00
qctecmdr
2e19e36111 Merge "soc: handle invalid address passed to swrm_peek debugfs node" 2023-08-03 19:37:51 -07:00
qctecmdr
4fe9e30cf3 Merge "asoc: cdc: mbhc: Return from hs_rem_irq, when hs is already removed" 2023-08-03 19:37:51 -07:00
qctecmdr
3262f56d81 Merge "soc: Update lpi device state" 2023-08-03 15:35:53 -07:00
Ganapathiraju Sarath Varma
ffa772dcc9 asoc: cdc: mbhc: Return from hs_rem_irq, when hs is already removed
add check to return from the hs_rem_irq( ) if the headset
removal is already reported.

Change-Id: If9ffc1a471b80f8c9d01875b531748327032926a
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
2023-08-04 01:06:09 +05:30
Sairam Peri
3ae1bfcfe1 soc: Update lpi device state
Post SSR when audio notifier service up notification
is received lpi_dev_up flag is not updated.
This is causing lpi read/write failures.
Update lpi_dev_up irrespective of initial_boot.

Change-Id: Ifab3709c45144988deb36192d0b1da7da77939d0
Signed-off-by: Sairam Peri <quic_peri@quicinc.com>
2023-08-01 16:26:14 +05:30
Prasad Kumpatla
0a93a99156 asoc: wsa884x: adjust the deglitch settings for wsa884x
Issue: when we change the UVLO_DEGLITCH_SETTING (0x3460) 6.8ms
and above, we can’t hear any audio playback from the Music app
even at max voltage (4.1V).

HW team suggest to change the UVLO_DEGLITCH_SETTING from 0x1B
to 0x1D and WSA884X_PA_FSM_TIMER0(0x3433) to 0xC0. By these
two settings playback is not getting mute.

Change-Id: I5d2d57c26d7f467ba3d2231f1642f34643f6d716
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-08-01 00:07:45 +05:30
Faiz Nabi Kuchay
da3a17a06c soc: handle invalid address passed to swrm_peek debugfs node
Add logic to handle invalid address passed to swrm_peek and swrm_poke
debugfs node.

Change-Id: I46443734e6b4b758276cdf8fd28a022d37112bfc
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
2023-07-31 05:03:11 -07:00
qctecmdr
deeec3d073 Merge "asoc: lpass-codec: enable TX Core clock before codec reg access" 2023-07-27 18:34:19 -07:00
qctecmdr
36aae5ef90 Merge "asoc: codec: Unvote wcd939x vdd-px supply" 2023-07-27 18:34:19 -07:00
Vangala, Amarnath
a267ec5239 asoc: lpass-codec: enable TX Core clock before codec reg access
Enable the TX Core clock to enable access to lpass-cdc registers.

Change-Id: I3088e06e9e77ef24b2e4e802852cc3bb65542f5c
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
2023-07-25 09:27:58 +05:30
qctecmdr
07d7140867 Merge "asoc: codec: Update efuse param" 2023-07-21 19:58:19 -07:00
Sairam Peri
c862aa1ee3 asoc: holi: Update dailink for FM
Updated FM dailink to btfm_fm_slim_tx to enable FM usecase.

Change-Id: I053f28517dd4a31bdc6e156a6f57de9163a751b8
Signed-off-by: Sairam Peri <quic_peri@quicinc.com>
2023-07-21 11:32:43 +05:30
Eric Rosas
390ff5ccb9 asoc: codec: Update efuse param
Use correct Efuse register value for headphone 
right-channel impedance calibration.

Change-Id: Ief075b18621dd55d5d636ab5e591b9bf07da5ac8
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-07-20 15:11:11 -07:00
Eric Rosas
af6068fd31 asoc: codec: Unvote wcd939x vdd-px supply
When codec goes into suspend, disable vdd-px which
will cause an unvote in PM.

Change-Id: Ia9f958d67fc57dbf3932733797bce7b0eb742363
Signed-off-by: Eric Rosas <quic_erosas@quicinc.com>
2023-07-20 11:54:57 -07:00
qctecmdr
1834e22c88 Merge "asoc: Bringup audio kernel for Auto AR GVM makena and lemans" 2023-07-20 07:04:51 -07:00
Linux Build Service Account
176e194e49 Merge 26ab6d4948 on remote branch
Change-Id: I78f1b612c7f79333561f500c060ae6724f5ca61f
2023-07-19 13:10:05 -07:00
Nagarjuna Paladugu
f2b64bd0b2 asoc: Bringup audio kernel for Auto AR GVM makena and lemans
audio kernel bringup changes for auto makena and  lemans LAGVM

Change-Id: If26f743a31ec68d51678d3fd2b409578bc98d2e1
Signed-off-by: Nagarjuna Paladugu <quic_npaladug@quicinc.com>
2023-07-18 20:56:41 +05:30
Kogara Naveen Kumar
0e5bd68963 uapi: Include msm_audio_calibration header for UAPI backward compatibility
Include msm_audio_calibration header for UAPI backward  compatibility

Change-Id: Ida5ab503a1ba246b1805ee3a087f14ac92085341
Signed-off-by: Kogara Naveen Kumar <quic_nkogara@quicinc.com>
2023-07-10 14:00:16 +05:30
Linux Build Service Account
bb2700a141 Merge 53937508d2 on remote branch
Change-Id: I6e1f4b4eec8d89b47175973db5d8df22816a3f1c
2023-07-07 16:51:39 -07:00
Prasad Kumpatla
26ab6d4948 soc: pinctrl: add slew-base register update support
add slew offset and register table to update slew values
for required gpio registers.

Change-Id: I001d0602c3fe6c69b0a28d8ebb3c3fd54a3fba90
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
2023-07-06 22:50:10 -07:00