Update the mbhc reg width from 16bit to 32bit for tambora
target.
Change-Id: Ibf474ffcadce2dfd13202ece1119b9974591acdb
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
The regmap write/read can only support 16bit reg_address. but
the reg_address of tambora is 32bit_address. need add support for
it.
Change-Id: I2374b3672bc4b652ef5ed00921a0e3beed0c6231
Signed-off-by: Yuhui Zhao <quic_yuhuzhao@quicinc.com>
Request and release swr device wakeup votes in PRE/POST PMU and
PRE/POST PMD events to allow system enter low power states.
Change-Id: I8acd648bcc8e11cadda7254d7e5369155d9597c9
Signed-off-by: Phani Kumar Uppalapati <quic_phaniu@quicinc.com>
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
add fsa node handle in machine driver to
differentiate between fsa and wcd_usbss.
Change-Id: I3604f77440c8265306ace910ed37c2757f299665
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
add support for both fsa and wcd usb AATC.
Change-Id: I0253faad734a433f5da93c34adfc4f9c2e37fa14
Signed-off-by: Prasad Kumpatla <quic_pkumpatl@quicinc.com>
Created an API for registering device node in audio-kernel for SSR
Change-Id: Icc9508e6977b17503711c9983dd52c367c6fff0c
Signed-off-by: Deepak Agrawal <quic_deeagr@quicinc.com>
Use logical CPU core IDs, for requesting affinity for silver CPU cores.
Change-Id: I8ec81d6c21dc038e6233cc1ffd020a4ba81aadf2
Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
soc-util no longer sets hw params for snd-soc-dummy components.
pcm_open() is blocked by snd_pcm_hw_constraints_complete() function.
read hw params from dts and set it during dailink startup.
Change-Id: I0d0c6ae581c5fb72091ec6c2cadb85e93e475deb
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
add sa7255 match compatible in auto machine driver.
Change-Id: I3e0908671b43a8d08278b780c97a42963c55180b
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
Integrate machine driver for auto target from kernel 5.15.
Propagated from fd35f8a09932174844ce93c065b0f5597324556a.
Change-Id: I5a9026beea2954409e69b02f7955e7c9d09eef12
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
Dsp can get online before gpr ssr callback registering.
Dsp state is never changed in this case.
Set dsp state by default GPR_SUBSYS_LOADED at the tail of gpr probe.
Change-Id: I3cc4087e0433f6d827042244f91f3110d234669d
Signed-off-by: Jiazai Wu <quic_jiazwu@quicinc.com>
Handle PDM watchdog interrupt. Enable watchdog
before analog PA is enabled and disable it
after analog PA is disabled so as to prevent false alarms.
Change-Id: Ife131d5d64d2ad2b8f7aad50af3aa07238bbbda9
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
Add conditional check before calling wcd usb api
Change-Id: I9046ece531ea009e8b8cd5db98675960d928c1c6
Signed-off-by: Sarath Varma Ganapathiraju <quic_ganavarm@quicinc.com>
The modifier - static - request the function to be used within the file.
Remove static modifier to fix the build break.
Change-Id: I46da9dbeb7c3945f8a1bbfa55998e75b5cbdc70b
Signed-off-by: Erin Yan <quic_xinyey@quicinc.com>
Change default OVP threshold to 4.2V, but set
to 4.0V during CODEC reset.
Change-Id: I4aa8accf7466e144902a2f6a250c1aad91084e95
Signed-off-by: Sam Rainey <quic_rainey@quicinc.com>
Load proper dtb image when fuse is not supported.
Change-Id: If87fcc715954b1526fa6718a3453357cbb8957e3
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>
Update change to have proper input validation of pcm_id in
aud_dev_sysfs_store to avoid out of bound issue.
Change-Id: Ia95a8dff8db84d95b4b02a5674f64a85f67e4be0
Signed-off-by: Deepali Jindal <quic_deepjind@quicinc.com>
added condition to check for spkr status before enabling
GLOBAL_PA to make sure PA is enabled only when Speaker
is in Enabled state.
Change-Id: Ifa4eeb7d8561bb68193abae16221dd8b2464029c
Signed-off-by: Ganapathiraju Sarath Varma <quic_ganavarm@quicinc.com>
Fix two times calling of wcd939x_mbhc_hs_detect.
Change-Id: Id3d42a4ede8c8ac226e91506d6c69f9dcb2cd401
Signed-off-by: Faiz Nabi Kuchay <quic_fkuchay@quicinc.com>