ASoC: rt5514: The DSP clock can be calibrated by the other clock source
Subsystems (3)
Oder Chiou
maintainerPATCH 1/1 ASoC: rt5514: The DSP clock can be calibrated by the other clock source
Add the option for the DSP clock that can be calibrated by the other clock source.
--- include/sound/rt5514.h | 2 + sound/soc/codecs/rt5514-spi.c | 1 + sound/soc/codecs/rt5514.c | 85 +++++++++++++++++++++++++++++++++++++++++++ sound/soc/codecs/rt5514.h | 5 ++- 4 files changed, 92 insertions(+), 1 deletion(-)
include/sound/rt5514.h +2 -0
@@ -14,6 +14,8 @@struct rt5514_platform_data {unsigned int dmic_init_delay; +const char *dsp_calib_clk_name; +unsigned int dsp_calib_clk_rate; };#endif
sound/soc/codecs/rt5514-spi.c +1 -0
@@ -370,6 +370,7 @@ int rt5514_spi_burst_read(unsigned int addr, u8 *rxbuf, size_t len)return true; } +EXPORT_SYMBOL_GPL (rt5514_spi_burst_read);/** * rt5514_spi_burst_write - Write data to SPI by rt5514 address.
sound/soc/codecs/rt5514.c +85 -0
127 lines not on this page · raw message
sound/soc/codecs/rt5514.h +4 -1
@@ -34,7 +34,9 @@#define RT5514_CLK_CTRL1 0x2104#define RT5514_CLK_CTRL2 0x2108#define RT5514_PLL3_CALIB_CTRL1 0x2110 +#define RT5514_PLL3_CALIB_CTRL4 0x2120#define RT5514_PLL3_CALIB_CTRL5 0x2124 +#define RT5514_PLL3_CALIB_CTRL6 0x2128#define RT5514_DELAY_BUF_CTRL1 0x2140#define RT5514_DELAY_BUF_CTRL3 0x2148#define RT5514_ASRC_IN_CTRL1 0x2180
@@ -272,7 +274,7 @@ struct rt5514_priv {struct rt5514_platform_data pdata;struct snd_soc_codec *codec;struct regmap *i2c_regmap, *regmap; -struct clk *mclk; +struct clk *mclk, *dsp_calib_clk;int sysclk;int sysclk_src;int lrck;
@@ -281,6 +283,7 @@ struct rt5514_priv {int pll_in;int pll_out;int dsp_enabled; + unsigned int pll3_cal_value; };#endif /* __RT5514_H__ */
Signature · 1 line
2.7.4
Mark Brown
maintainerApplied "ASoC: rt5514: The DSP clock can be calibrated by the other clock source" to the asoc tree
The patch
ASoC: rt5514: The DSP clock can be calibrated by the other clock source
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
fc9cab05837639ce3372870b09d26334fb15b157Mon Sep 17 00:00:00 2001
From: "[email protected]" <[email protected]>
Date: Tue, 7 Nov 2017 12:31:14 +0800
Subject: [PATCH] ASoC: rt5514: The DSP clock can be calibrated by the other
clock source
Add the option for the DSP clock that can be calibrated by the other clock source.
--- include/sound/rt5514.h | 2 + sound/soc/codecs/rt5514-spi.c | 1 + sound/soc/codecs/rt5514.c | 85 +++++++++++++++++++++++++++++++++++++++++++ sound/soc/codecs/rt5514.h | 5 ++- 4 files changed, 92 insertions(+), 1 deletion(-)
include/sound/rt5514.h +2 -0
@@ -14,6 +14,8 @@struct rt5514_platform_data {unsigned int dmic_init_delay; +const char *dsp_calib_clk_name; +unsigned int dsp_calib_clk_rate; };#endif
sound/soc/codecs/rt5514-spi.c +1 -0
@@ -370,6 +370,7 @@ int rt5514_spi_burst_read(unsigned int addr, u8 *rxbuf, size_t len)return true; } +EXPORT_SYMBOL_GPL (rt5514_spi_burst_read);/** * rt5514_spi_burst_write - Write data to SPI by rt5514 address.
sound/soc/codecs/rt5514.c +85 -0
127 lines not on this page · raw message
sound/soc/codecs/rt5514.h +4 -1
@@ -34,7 +34,9 @@#define RT5514_CLK_CTRL1 0x2104#define RT5514_CLK_CTRL2 0x2108#define RT5514_PLL3_CALIB_CTRL1 0x2110 +#define RT5514_PLL3_CALIB_CTRL4 0x2120#define RT5514_PLL3_CALIB_CTRL5 0x2124 +#define RT5514_PLL3_CALIB_CTRL6 0x2128#define RT5514_DELAY_BUF_CTRL1 0x2140#define RT5514_DELAY_BUF_CTRL3 0x2148#define RT5514_ASRC_IN_CTRL1 0x2180
@@ -272,7 +274,7 @@ struct rt5514_priv {struct rt5514_platform_data pdata;struct snd_soc_codec *codec;struct regmap *i2c_regmap, *regmap; -struct clk *mclk; +struct clk *mclk, *dsp_calib_clk;int sysclk;int sysclk_src;int lrck;
@@ -281,6 +283,7 @@ struct rt5514_priv {int pll_in;int pll_out;int dsp_enabled; + unsigned int pll3_cal_value; };#endif /* __RT5514_H__ */
Signature · 1 line
2.14.1