Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Need to change some interface as dma driver changes.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
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>
|
|
Normalize the copyright licenses about clocktree/watchdog/timer/spdif/pwmdac.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
CR_3312_TDM_KO_Not_Work
See merge request sdk/linux!694
|
|
Fixed the bug that tdm cat not work when it is build as module.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
'jh7110-5.15.y-devel'
CR_3319_I2S_Hibernation_Module_Xingyu.Wu
See merge request sdk/linux!692
|
|
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>
|
|
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>
|
|
CR_3151_TDM_Hibernation_walker.chen
See merge request sdk/linux!682
|
|
Resolved the error of reording and playing simultaneously after performing
hibernation resume.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
Change Makefile and Kconfig to support module building.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
CR_3025_hibernation_tdm_walker.chen
See merge request sdk/linux!666
|
|
CR_2964_hibernation_spdif_Xingyu.Wu
See merge request sdk/linux!664
|
|
Fixed playback failed after hibernation by saving and restoring registers' data.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
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>
|
|
Fixed playback failed after hibernation by saving and restoring registers' data.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Move playback and capture driver as slave from snps I2S merge to starfive I2S.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Add runtime pm operation in PWMDAC driver.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Fix the bug that pdm function name spell error.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
Disable clock when audio driver is loaded.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
Add hibernation in starfive I2S driver.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Add runtime pm and system pm in spdif driver.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Implement Runtime PM and System PM for PDM and TDM module.
Signed-off-by: Walker Chen <walker.chen@linux.starfivetech.com>
|
|
CR_2307_PWMDAC_515: fix playback repeatly issue
See merge request sdk/linux!524
|
|
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>
|
|
Change the order about setting parent to mclk_ext after resets
when PDM registering.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Add I2S driver for starfive.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
fix the bug that error occurs when playback repleatly.
Signed-off-by: Walker Chen <walker.chen@linux.starfivetech.com>
|
|
Use mclk_inner clock from 1188m PLL2
will be better about 11k and 22k.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Use mclk_ext instead of mclk_inner.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Use extrenal mclk_ext instead of mclk_inner.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
CR_2076 & 2077 & 2078 & 2075 :I2S and AC108
See merge request sdk/linux!469
|
|
'jh7110-5.15.y-devel'
CR_2071_audio_compatible_standard_515
See merge request sdk/linux!450
|
|
Use delay to fix some noise with first capture.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Standardization naming of compatible for device id and dts
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
1.Modify compatible name to 'starfive,jh7110-spdif'.
2.Remove spdif-receiver node.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Modify compatible name to 'starfive,jh7110-pwmdac'.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
CR_1560_v4l2_changhuang.liang v4l2: use axi wr reset
See merge request sdk/linux!423
|
|
1.Resolved playback and record can work simultaneously.
2.Rearrange audio configuration in kernel menu.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
'jh7110-5.15.y-devel'
CR_1705_TDM_32bit: fix 48k not work and can support 8k sample rate
See merge request sdk/linux!347
|
|
Change audio_root clock's rate and make spdif_core clock
close to the required frequency of 22.05k.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
1. Fix 48k sample rate not work.
2. Support 8k sample rate when using 32bit.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
apb0 is the parent of spdif-apb clock and it should
not be got and enabled. And audio_root and mclk_inner
is divider clock, they should not be enabled.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
support audio files of 24 bit in 3bytes.
To adapt S24_3LE and ALSA pass parameter of S24_LE.
Data operation of S24_LE should be same to S24_3LE.
So it would wrong when playback S24_LE file.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Modify files' format and remove capture.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Spdif supports single-channel audio playback.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
1.Meeting compatible testing.
2.Supporting playback or record with 1 channel.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
'jh7110-5.15.y-devel'
CR_1584 pwmdac:sound: support 11025hz sample rate.
See merge request sdk/linux!275
|
|
1. set the correct clock rate and sample cnt.
2. using aplay 11.025kz wave file can pass.
3. fix issue redmine 1584
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|