[Codec][Algorithm] Fix for timeout error in Big Data Update
Due to timing issue, sometimes tas256x_dac_event() is being called after
afe_close, causing timeout error.
Big Data update (tas25xx_update_big_data)and related algorithm code
during playback stop is moved to tas256x_mute_stream() instead of
tas256x_dac_event()
Due to timing issue, sometimes tas256x_dac_event() is being called after
afe_close, causing timeout error.
Big Data update (tas25xx_update_big_data)and related algorithm code
during playback stop is moved to tas256x_mute_stream() instead of
tas256x_dac_event()
Disabled CM Hysterysis in Receiver mode as well
Signed-off-by: Peeyush Gupta <a0875211@ti.com>
Signed-off-by: Peeyush Gupta <a0875211@ti.com>
CM Hysterisis feature is removed in SPK mode.
tas256x_set_power_up() and tas256x_set_power_shutdown()
functions are updated to check the condition if
p_tas256x->devs[chn-1]->receiver_enable is SPK or RCV mode.
Signed-off-by: Peeyush Gupta <a0875211@ti.com>
tas256x_set_power_up() and tas256x_set_power_shutdown()
functions are updated to check the condition if
p_tas256x->devs[chn-1]->receiver_enable is SPK or RCV mode.
Signed-off-by: Peeyush Gupta <a0875211@ti.com>
Update Boost Registers for Low Temp distortion issue.
tas256x_update_boost_always_on() and tas256x_update_boost_always_off()
are added and updated at boot time(tas256x_load_init())
Signed-off-by: Peeyush Gupta <a0875211@ti.com>
tas256x_update_boost_always_on() and tas256x_update_boost_always_off()
are added and updated at boot time(tas256x_load_init())
Signed-off-by: Peeyush Gupta <a0875211@ti.com>
[Codec] Fix to no-sound issue during screen lock/unlock
Issue: During Screen lock/unlock sometimes no sound or compress sound
Update:
(1)Move power-up/down sequence to DAC Event(tas256x_dac_event)
instead of ops.mute_stream(tas256x_mute_stream)
(2)Increase TDM Clock error shutdown time
a. Default to 838ms
(3)Ignore Initial TDM clock error (before 838ms)
a. Move Power-Up sequence to tas256x_set_power_state() from
irq_work_func()
b. Unmask TDM clock error interrupt after 50ms in init_work_func()
Issue: During Screen lock/unlock sometimes no sound or compress sound
Update:
(1)Move power-up/down sequence to DAC Event(tas256x_dac_event)
instead of ops.mute_stream(tas256x_mute_stream)
(2)Increase TDM Clock error shutdown time
a. Default to 838ms
(3)Ignore Initial TDM clock error (before 838ms)
a. Move Power-Up sequence to tas256x_set_power_state() from
irq_work_func()
b. Unmask TDM clock error interrupt after 50ms in init_work_func()
3 years ago[Codec] Improvise Receiver Mode Settings and add SAR&DMIN Update function SAMSUNG_A72_4.19_1.3.6.8
[Codec] Improvise Receiver Mode Settings and add SAR&DMIN Update function
SS Testing has found that noise level in receiver mode is higher than exepected
So based on the TI-Design Team recomendation, device settings has been
updated to reduce the noise level.
(1)Update tas256x_enable_receiver_mode() functional with additional settings
TAS256X_MSB_DEM,TAS256X_DITHER,TAS256X_LSB_DEM
(2)Add SAR Update function "tas256x_zero_sar_delay()"
This is called at bootup time/or device reload
(3)Add DMIN Update function "tas256x_update_dmin()"
This is not enabled, untill completely verified by design team
SS Testing has found that noise level in receiver mode is higher than exepected
So based on the TI-Design Team recomendation, device settings has been
updated to reduce the noise level.
(1)Update tas256x_enable_receiver_mode() functional with additional settings
TAS256X_MSB_DEM,TAS256X_DITHER,TAS256X_LSB_DEM
(2)Add SAR Update function "tas256x_zero_sar_delay()"
This is called at bootup time/or device reload
(3)Add DMIN Update function "tas256x_update_dmin()"
This is not enabled, untill completely verified by design team
"AMP OUTPUT LVL" mixer_control fix to support min(0x0) and max value(0x1c)
Mixer Control "TAS256X AMP OUTPUT LVL RIGHT"/"TAS256X AMP OUTPUT LVL LEFT"
throws invalid error when value is 0 (min) and 28(Max) eventhough its
supported by device.
Updated the limit check in tas256x_update_ampoutput_level() function to
support the min and max limits.
Signed-off-by: Peeyush Gupta <a0875211@ti.com>
Mixer Control "TAS256X AMP OUTPUT LVL RIGHT"/"TAS256X AMP OUTPUT LVL LEFT"
throws invalid error when value is 0 (min) and 28(Max) eventhough its
supported by device.
Updated the limit check in tas256x_update_ampoutput_level() function to
support the min and max limits.
Signed-off-by: Peeyush Gupta <a0875211@ti.com>
3 years ago[Codec] Checkpatch - Remove mdelay; Kernel Policy - Remove Slave and Master words. SAMSUNG_A72_4.19_1.3.6.7
[Codec] Checkpatch - Remove mdelay; Kernel Policy - Remove Slave and Master words.
With Kernel Policy updated
The following IT terms should be replaced with Inclusive language.
Master and Slave
Remove mdelay from print
With Kernel Policy updated
The following IT terms should be replaced with Inclusive language.
Master and Slave
Remove mdelay from print
[Codec] Algorithm Get/Set Param is Bypassed when RCV Mode is enabled.
TimeOut Issue was observed when Algorithm is Bypassed in RCV Mode,
due to Algorithm Get/Set Parameter(at start/stop of playback)
was still invoked irrespective of algo bypass.
So based on Samsung Requirement Algo Bypass is always assumed in RCV
mode when "TAS256X RECEIVER ENABLE LEFT"/"TAS256X RECEIVER ENABLE RIGHT"
mixer control is enabled
TimeOut Issue was observed when Algorithm is Bypassed in RCV Mode,
due to Algorithm Get/Set Parameter(at start/stop of playback)
was still invoked irrespective of algo bypass.
So based on Samsung Requirement Algo Bypass is always assumed in RCV
mode when "TAS256X RECEIVER ENABLE LEFT"/"TAS256X RECEIVER ENABLE RIGHT"
mixer control is enabled
[Codec] Auto Select VBat based on the hw_params BitWidth
support added for BBB 4.19 build
Revert "[Codec] Updated Makefile for compatibility with BBB Kernel"
This reverts commit a0db6db32c4ecbea8a5a196e231f01b8d60494a6.
This reverts commit a0db6db32c4ecbea8a5a196e231f01b8d60494a6.
[Codec] Updated Makefile for compatibility with BBB Kernel
[Algorithm] Checpkatch fix for DEVICE_ATTR_FUNCTIONS Warning
[Checkpatch] Updated Checkpatch Script to detect DEVICE_ATTR
[Codec] 32 BitWidth Fix.
Linux Kernel version is maintained at separate branch for 4.19 and above
checkpatch warning Fix for Export Symbol and Block Comment
patch to support kernel 4.19 and above
Merge branch 'SAMSUNG_A72' of ssh://bitbucket.itg.ti.com/landd/tas256x-stereo-driver into SAMSUNG_A72
Checkpatch warning fixed for End of Line and Lead Spacing
Removed IF_ENABLED(HPF_ENABLED) and IF_ENABLED(CODEC_PM) checkpatch error
Linux Kernel version checkpatch warning Fixed
Checkpatch Warning Fixed for TABSTOP
Frame Sync, Rx Edge, RX Offset, Tx Edge & Tx Offset set to defualt I2S settings
Fixed Build Error for Algo Driver
If ASI Switch is Off for both left and right then no device playback
Previously if ASI Switch for both off then by default Left Device/Channel was
Playback. But now its changed so if both ASI Switch Off then no device playback.
Previously if ASI Switch for both off then by default Left Device/Channel was
Playback. But now its changed so if both ASI Switch Off then no device playback.
Checkpatch.pl Warning/Errors Fixed/Updated
Remove Non-Samsung-Configuration Files
Add Digital Gain Mixer Control Interface to Algorithm(Receiver Mode)
Add Emphasis Filter for 8Bit IV Sense Case
Checkpatch.pl Fixes
Revert " Add Emphasis Filter Co-efficients update for 8bit IV Sense & Volume Ramp Up and Down mixer control"
This reverts commit 9aa4335c8a04dc1b23bcb07faeb36a91f2d67f6a.
This reverts commit 9aa4335c8a04dc1b23bcb07faeb36a91f2d67f6a.
Add Emphasis Filter Co-efficients update for 8bit IV Sense & Volume Ramp Up and Down mixer control
[Codec][Algorithm] Checkpatch.pl warnings fixed as per Samsung
[Codec] Kernel-4.10 Warning Fixed
[Codec][Algorithm] Checkpatch warnings code update
[Codec] Add snd_soc_dapm_ignore_suspend in codec probe
[Codec][Algorithm] Change pr_err to pr_debug and pr_info accordingly
[Algorithm] Compilation fix - tas25xx-calib-validation.c
Release version changed to 1.3.6
Fixed Checkpatch Error
Fixed Algo Crash - Full Verification Pending
fix for CheckPatch Error
remove return value for function tas256x_irq_reload
Merge branch 'master' of ssh://bitbucket.itg.ti.com/landd/tas256x-stereo-driver
Regression Suite: Added (1)Interrupt Support(2)Float Value for Re(3)Skip option in Full Test
Remove Hardware/Software Reset in Interrupt Work Routine
1) fix accessing test_list issue, which will cause out of array 2) Add some pages of register dump
fix not support 96kHz samplereate
Kernel 4.19 related build error fix for algo code
Kernel 4.19 related build error fix for algo code
Updated Algo Patches for Qualcomm Platform
Modular Dependency Changes in Algo Kernel,comments,Macro Updates
1. Removed Circular Dependency between Algo Kernel and Q6afe.
2. Added Copy Right Information
3. Changed Comment Style from // to /**/
4. Changed #ifdef to #if IS_ENABLED
1. Removed Circular Dependency between Algo Kernel and Q6afe.
2. Added Copy Right Information
3. Changed Comment Style from // to /**/
4. Changed #ifdef to #if IS_ENABLED
3 years agoMerge branch 'master' of ssh://bitbucket.itg.ti.com/landd/tas256x-stereo-driver GOOGLE_PIXEL_1.3.5
Merge branch 'master' of ssh://bitbucket.itg.ti.com/landd/tas256x-stereo-driver
Checkpatch.pl edited to remove errors due to file open
Missed file in previous commit
Release number changed to 1.3.5
GKI Google Updates - Codec Driver Only
(1)Relpace #ifdef -> #if IS_ENABLED
(2)Change Comment style from // to /**/
(3)Import GKI update from Google
(1)Relpace #ifdef -> #if IS_ENABLED
(2)Change Comment style from // to /**/
(3)Import GKI update from Google
Fixed 4 Right vs Left Mixer Controls
3 years agoRegression Suite Updated - All basic verification is completed - Stable-1 XIAOMI_K11_1.3.4
Regression Suite Updated - All basic verification is completed - Stable-1
3 years agoMerge branch 'master' of ssh://bitbucket.itg.ti.com/landd/tas256x-stereo-driver SAMSUNG_TABS7_1.3.3
Merge branch 'master' of ssh://bitbucket.itg.ti.com/landd/tas256x-stereo-driver
Added support back for DAI_FMT setting form machine driver
1. DTS Settings will be applied at boot time if present.
2. If DAI_FMT is called from machine driver then DT settings are overwritten
1. DTS Settings will be applied at boot time if present.
2. If DAI_FMT is called from machine driver then DT settings are overwritten
Release id changed to 1.3.3 Release
Merge branch 'master' of ssh://bitbucket.itg.ti.com/landd/tas256x-stereo-driver
Fixed Checkpatch errors and updated Version Number
Fixed slotwidth=24 for both 24 and 32bit
Removed set_dai_tdm_slot function dependency for TDM
correct the macro definition
Kernel 4.19 fixes from Chenfeng
Updated cmp hysterisis commit and removed warnings of bin file parser
Comparator Hystersis enable/disable based on power sequence
fix a setting error on regbin kcontrol
Merge branch 'master' of ssh://bitbucket.itg.ti.com/landd/tas256x-stereo-driver
Update IV Extraction tool
Add MI2S/TDM Interface settings(framestart,rx/tx offset and edge) to DTS file
1) unified the comment style 2) remove regbin setting in tas256x_failsafe, it is useless because the chip will be Hardware reset at the end of function. 3) Add POST_SHUTDOWN regbin setting after chip shutdown
unified the comment style
if the actual sub-block size is less than expected sub-black size, it will out of memory, then break
Release version changed
Merge branch 'master' of ssh://bitbucket.itg.ti.com/landd/tas256x-stereo-driver
Fixed Compilation Issues - Wvisibility and K4.19
1. Added forward decleration to fix wvisbility error
2. Added K4.19 decleration to algo header file
1. Added forward decleration to fix wvisbility error
2. Added K4.19 decleration to algo header file
add some comments on regbin file
remove some unused comments
Add kcontrol to control regbin
Add a kcontrol to control regbin
Add a kcontrol to control regbin
Add a kcontrol to control regbin
rename Patch and Documents folder
Register Access Utility, added Usage Guide Document
Regression Suite - Plot all results IV Gain,Re Values and F0 test to report -WIP
3 years agoUpdated algo driver and mixer_control reset during interrupt - Verified SAMSUNG_TABS7_1.3.0
Updated algo driver and mixer_control reset during interrupt - Verified
Algo Driver Added,Directory Restructure & utilities added
Checkpatch.pl fix and compile issues fixed in parser
Mixer controls and IV Slot fix
1. Mixer control added for channel mapping
2. Mixer control added for Amp Output Level(channel gain)
3. IV Slot fix
1. Mixer control added for channel mapping
2. Mixer control added for Amp Output Level(channel gain)
3. IV Slot fix
Add a special log for non-integrated code
add non-integrated code
Fixed Algo Driver Crash Issue with wrong bin file.
Compilation fixes for codec driver only
Build Fix for Kernel Version 4.19