summaryrefslogtreecommitdiff
path: root/sound/soc
AgeCommit message (Collapse)AuthorFilesLines
2023-11-06ASoC: mediatek: mt8195: Remove unsued irqs_lock.Sebastian Andrzej Siewior1-1/+0
irqs_lock is not used, never was. Remove irqs_lock. Fixes: 283b612429a27 ("ASoC: mediatek: implement mediatek common structure") Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: Jaroslav Kysela <perex@perex.cz> Cc: Takashi Iwai <tiwai@suse.com> Cc: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2023-08-31Merge branch 'CR_7215_hifi_515_carter.li' into 'vf2-515-devel'andy.hu3-2/+2
CR_7215: ASoC: SOF: Starfive: rename some code file name See merge request sbc/linux!166
2023-08-31Merge tag 'JH7110_515_SDK_v5.7.0' into vf2-515-develAndy Hu2-69/+29
2023-08-29ASoC: starfive: fixup according to dma changeWalker Chen2-69/+29
Need to change some interface as dma driver changes. Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2023-08-25ASoC: SOF: Starfive: rename some code file namecarter.li3-2/+2
Signed-off-by: carter.li <carter.li@starfivetech.com>
2023-08-14sound:simple card: fix cannot register pwmdac and hdmi snd cardcarter.li2-0/+9
in soc_check_tplg_fes func, traverse all components for current card to decide if we should modify dai-link params and use topology(the source dai-link params is get from dts). because the sof-dsp component is in the global components list, the sof-dsp set the ignore_machine as the "asoc simple card", the ignore_machine matches the pwmdac card->dev->driver->name, so the dai-link params is modified. But in actually, the pwmdac and hdmi snd card should not use topology and the dai-link should not be modified. we use no_plat vairalbe in dai_link to indicates there is no platform component in dai-link and no sof-dsp plat, and we dont use topology and dont need to change dai-link params. Signed-off-by: carter.li <carter.li@starfivetech.com>
2023-08-14ASoC: starfive: Add TDM dai driver for SOFcarter.li3-0/+430
in sof arch, the host linux dai driver sets clock and reset. the control of audio params is handled in dsp side. Signed-off-by: carter.li <carter.li@starfivetech.com>
2023-08-14ASoC: SOF: Starfive: Add SOF support for StarFivecarter.li12-2/+1133
add sof for starfive. Signed-off-by: carter.li <carter.li@starfivetech.com>
2023-06-07driver/include/sound: Normalize the copyright licensesXingyu Wu4-54/+15
Normalize the copyright licenses about clocktree/watchdog/timer/spdif/pwmdac. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2023-02-10Merge branch 'CR_3312_TDM_KO_Not_Work' into 'jh7110-5.15.y-devel'andy.hu2-115/+43
CR_3312_TDM_KO_Not_Work See merge request sdk/linux!694
2023-02-10CR_3312_TDM_KO_Not_WorkWalker Chen2-115/+43
Fixed the bug that tdm cat not work when it is build as module. Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2023-02-10Merge branch 'CR_3319_I2S_Hibernation_Module_Xingyu.Wu' into ↵andy.hu2-4/+192
'jh7110-5.15.y-devel' CR_3319_I2S_Hibernation_Module_Xingyu.Wu See merge request sdk/linux!692
2023-02-10CR_3323_PDM_KO_Can_Work_walker.chenWalker Chen1-142/+84
1. Build as ko module, can work normally after multiple loading and unloading. 2. can record normally after hibernation resume. Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2023-02-10sound: starfive: I2S: Fixed error after hibernation when building moduleXingyu Wu1-4/+145
When I2S resume but WM8960 has not resume and no clock, I2S should use inner clock instead of wm8960's clock first. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2023-02-10sound: codecs: wm8960: Add context saving and restoring when hibernationXingyu Wu1-0/+47
Add context saving and restoring when suspend and resume. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2023-02-03Merge branch 'CR_3151_TDM_Hibernation_walker.chen' into 'jh7110-5.15.y-devel'andy.hu1-52/+48
CR_3151_TDM_Hibernation_walker.chen See merge request sdk/linux!682
2023-02-03CR_3151_TDM_Hibernation_walker.chenWalker Chen1-52/+48
Resolved the error of reording and playing simultaneously after performing hibernation resume. Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2023-02-01sound: starfive: pwmdac: Support module buildingXingyu Wu2-2/+9
Change Makefile and Kconfig to support module building. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2023-01-11Merge branch 'CR_3025_hibernation_tdm_walker.chen' into 'jh7110-5.15.y-devel'andy.hu2-1/+48
CR_3025_hibernation_tdm_walker.chen See merge request sdk/linux!666
2023-01-11Merge branch 'CR_2964_hibernation_spdif_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu3-4/+29
CR_2964_hibernation_spdif_Xingyu.Wu See merge request sdk/linux!664
2023-01-11CR_3025_Hibernation_TDM_Walker.chenWalker Chen2-1/+48
Fixed playback failed after hibernation by saving and restoring registers' data. Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2023-01-11sound: starfive: pwmdac: Fixed playback failed after hibernationXingyu Wu2-8/+16
Fixed playback failed after hibernation by saving and restoring register data. Fixed error when open PWMDAC_PCM. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2023-01-11sound: starfive: spdif: Fixed playback failed after hibernationXingyu Wu3-4/+29
Fixed playback failed after hibernation by saving and restoring registers' data. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-12-22sound: codecs: ac101: Fixed warning when compilingXingyu Wu1-20/+0
Removed the useless part and fixed warning. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-12-08sound:starfive:Move playback and capture driver as slave to starfive I2SXingyu Wu4-70/+265
Move playback and capture driver as slave from snps I2S merge to starfive I2S. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-28sound:dwc:i2s:Add hibernation about i2srx-3chXingyu Wu1-88/+58
Add runtime pm and system pm in i2srx-3ch driver. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-28sound:dwc:i2s:Add hibernation about i2stx-4ch1Xingyu Wu1-76/+56
Add runtime pm and system pm in i2stx-4ch1 driver. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-27sound:starfive:pwmdac:Add runtime pm operationXingyu Wu1-28/+91
Add runtime pm operation in PWMDAC driver. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-27CR_2345_Audio_DevicePM_walker.chenWalker Chen1-2/+2
Fix the bug that pdm function name spell error. Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2022-10-27CR_2345_Audio_DevicePM_walker.chenWalker Chen2-8/+18
Disable clock when audio driver is loaded. Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2022-10-27sound:starfive:Add hibernation in I2SXingyu Wu1-68/+29
Add hibernation in starfive I2S driver. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-27sound:starfive:spdif:Add hibernation operationXingyu Wu3-19/+86
Add runtime pm and system pm in spdif driver. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-27CR_2345_Audio_DevicePM_walker.chenWalker Chen3-34/+228
Implement Runtime PM and System PM for PDM and TDM module. Signed-off-by: Walker Chen <walker.chen@linux.starfivetech.com>
2022-10-14Merge branch 'CR_2307_PWMDAC_515_walker.chen' into 'jh7110-5.15.y-devel'andy.hu1-99/+126
CR_2307_PWMDAC_515: fix playback repeatly issue See merge request sdk/linux!524
2022-10-12sound:starfive:Remove i2srx-master and merge into starfive_i2sXingyu Wu6-1070/+199
Remove i2srx-master.c and i2srx-master.h files, and merge into starfive_i2s.c and starfive_i2s.h files. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-12sound:starfive:Change the order about mclk_ext's operationXingyu Wu1-6/+6
Change the order about setting parent to mclk_ext after resets when PDM registering. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-12sound:starfive:Add I2S driverXingyu Wu4-0/+1071
Add I2S driver for starfive. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-10CR_2307_PWMDAC_515: fix playback repeatly issueWalker Chen1-99/+126
fix the bug that error occurs when playback repleatly. Signed-off-by: Walker Chen <walker.chen@linux.starfivetech.com>
2022-09-15sound:soc:wm8960:Change delay time when first captureXingyu Wu1-1/+1
Change delay time from 800 to 1000 when first capture. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-09-15sound:starfive:spdif:Use mclk_inner about 11k and 22kXingyu Wu1-8/+46
Use mclk_inner clock from 1188m PLL2 will be better about 11k and 22k. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-09-15sound:starfive:pdm:Use mclk_ext external clockXingyu Wu1-31/+6
Use mclk_ext instead of mclk_inner. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-09-15sound:starfive:spdif:Use extrenal mclkXingyu Wu2-15/+15
Use extrenal mclk_ext instead of mclk_inner. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-09-07Merge branch 'CR_2076_515_I2S_AC108_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu4-5/+27
CR_2076 & 2077 & 2078 & 2075 :I2S and AC108 See merge request sdk/linux!469
2022-09-07Merge branch 'CR_2071_compatible_standard_515_walker.chen' into ↵andy.hu3-11/+9
'jh7110-5.15.y-devel' CR_2071_audio_compatible_standard_515 See merge request sdk/linux!450
2022-09-06sound:wm8960:pdm:Fix some noise with first captureXingyu Wu2-0/+15
Use delay to fix some noise with first capture. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-09-05sound:codecs:ac108:Support 32k sampling rateXingyu Wu2-2/+3
ac108:Support 32k sampling rate. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-09-05sound:codecs:ac108:Change default volumeXingyu Wu1-0/+6
ac108:Change default volume and make it louder. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-09-05sound:codecs:ac108:Support 16bit formatXingyu Wu2-3/+3
ac108:Support 16bit format with capture. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-09-02CR_2071_audio_compatible_standard_515Walker Chen3-11/+9
Standardization naming of compatible for device id and dts Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2022-09-01sound:i2s:Modify compatible nameXingyu Wu1-4/+4
Modify compatible name to 'starfive,jh7110-i2stx-4ch1'. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>