Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
d7da785
Fixed the GPIO pins for the RGB LED's (the heartbeat should be
hsnaves Jun 11, 2014
b37889f
Exynos5410: PWM0 now working
hsnaves Jun 11, 2014
a4d7c7c
Added the EPLL and IPLL clocks.
hsnaves Jun 13, 2014
a5a6c8c
clk-exynos5410: Added the EPLL and IPLL clocks.
hsnaves Jun 13, 2014
420117b
DRM: exynos_hdmiphy: copied tweak from 3.4.y (by Hakjoo Kim) branch
hsnaves Jun 19, 2014
03eb452
Merge branch 'odroid-3.13.y' of https://github.com/hsnaves/linux into…
hsnaves Jun 20, 2014
62f26e8
CHROMIUM: ASoC: samsung: add daisy_max98095.c board
Jun 11, 2012
f73288b
CHROMIUM: ASoC: samsung: HP detect plumbing for snow
Jul 19, 2012
291bb87
CHROMIUM: ASoC: samsung: Route clocks to i2s.
dgreid Jul 26, 2012
bb8ac82
CHROMIUM: ASoC: samsung: daisy_max98095 is a platform driver.
dgreid Aug 3, 2012
c751d21
CHROMIUM: ALSA: ASoC: Get snow hp/mic detect GPIOs from device tree.
dgreid Aug 8, 2012
069d75c
CHROMIUM: ASOC: Samsung: Change MAX98095 MCLK input clk
padmav16 Aug 16, 2012
6e89550
CHROMIUM: ASoC: samsung: Spring is using max98095 codec
vpalatin Nov 16, 2012
e633b6b
CHROMIUM: ASoC: Samsung: change the clock instance name
Dec 18, 2012
91f1c1a
CHROMIUM: ASoC: Samsung: I2s Instance 0 Platform name changed
Dec 18, 2012
db2cd9c
CHROMIUM: ASoC: Samsung: remove __devinit, __devexit annotations
sribconnect Jan 18, 2013
9851b8a
CHROMIUM: ALSA: ASoC: daisy - Poll gpio jacks after resume.
dgreid Sep 25, 2012
de21ebe
CHROMIUM: alsa/soc: adding support for hdmi audio to i2s card
Jan 30, 2013
2c8413f
sound: soc: exynos: Don't set jack_cb until jack is initialized
atseanpaul May 30, 2013
583c30e
CHROMIUM: ASoC: samsung: remove unused platform device
padmav16 May 17, 2013
3392b87
ASoC: max98090: add DT binding document for MAX98090 CODEC
nvswarren Dec 4, 2013
e954cd5
ASoC: hdmi-codec: Add devicetree binding with documentation
Dec 20, 2013
bfbdfe1
CHROMIUM: exynos: dts: Start sound section for daisy/snow.
dgreid Aug 3, 2012
bbc11fd
CHROMIUM: ASoC: samsung: Pass DAI link info from device tree
padmav16 May 17, 2013
aa17d9c
CHROMIUM: ASoC: samsung: Change the audio clks according to CCF
padmav16 May 20, 2013
9e734e9
CHROMIUM: ASoC: samsung: add support for Pit with max98090
abrestic Jun 6, 2013
a4a06ff
CHROMIUM: ASoC: samsung: initialize pll and audio bus clock rate
abrestic Jun 6, 2013
7c6233f
TEMP: CHROMIUM: ASoC: samsung: reparent mout_i2s for suspend/resume
abrestic Jun 11, 2013
be7351a
ASoC: samsung: fix missing return statement warning
abrestic May 14, 2013
253c4c0
ASoC: samsung: check return value of clk_set_parent()
abrestic May 14, 2013
664f229
ASoC: samsung: unregister card on probe failure
abrestic Jun 12, 2013
3c44f94
CHROMIUM: ASoC: samsung: enable MAX98089 support for Spring
vpalatin Aug 16, 2013
35597b3
[HACK] To make the previous commit work.
hsnaves Jun 30, 2014
0d6001f
CHROMIUM: alsa/soc: report hpd status after cold boot
Sep 17, 2013
f54d1e5
ASoC: samsung: Stop checking for particular boards in daisy_max98095.
Sep 20, 2013
20f5651
ASoC: samsung: Allow specifying the card name in the device tree
dianders Oct 1, 2013
a509f6e
ASoC: samsung: Add max98091 to daisy_max98095.c
Jan 28, 2014
f4210e8
ASoC: daisy_max98095: Removed unused include file, and fixed
hsnaves Jun 30, 2014
801e197
ASoC: dasy_max98095: fixed mispelling.
hsnaves Jun 30, 2014
e8edfd4
CHROMIUM: alsa/soc: ignore dvi mode bit when phy is unstable
Sep 17, 2013
0c482a6
CHROMIUM: alsa/soc: fix the bps conversion from enum to value
Jun 17, 2013
64bcb99
CHROMIUM: alsa/soc: increase wait count for hdmi poweron
Jun 17, 2013
2f3b156
CHROMIUM: alsa/soc: skip checking hdmi power status on unplug
Jun 17, 2013
fcb3d5f
CHROMIUM: alsa/soc: check phy status before configuring audio registers
Sep 17, 2013
1cf6d0d
CHROMIUM: ASoC: samsung - make hdmi_audio ignore non-playback requests.
Sep 16, 2013
b9364a3
CHROMIUM: ALSA: ASoC: exynos hdmi - disable audio in DVI mode
y-novikov May 9, 2013
715f5bb
alsa/soc: add pm callbacks to hdmi audio driver
Dec 2, 2013
b7eeaf9
CHROMIUM: alsa/soc: do not set AUI transmit when setting up infoframe
crdbehr Jan 9, 2014
80016c5
CHROMIUM: ALSA: ASoC: soc-jack - export gpio detect.
dgreid Sep 25, 2012
0b3d28f
clk: exynos5410: adding the clocks for the sound subsystem.
hsnaves Jul 1, 2014
c4568b6
clk: exynos5410: Adding clocks for the DMA
hsnaves Jul 1, 2014
aeedf43
clk: exynos5410: added the I2S1 and I2S2 clocks.
hsnaves Jul 1, 2014
2b65e59
clk: exynos5410: changed the fixed clock fin_pll.
hsnaves Jul 2, 2014
9fed435
[PATCH] ARM: EXYNOS: Update secondary boot addr for secure mode
hsnaves Jul 2, 2014
5f11b28
clk: uart3: fixed the issue with the orphan div_uart3 clock
hsnaves Jul 2, 2014
9f99708
usb-dwc3: exynos5410: order of the usb-phy was wrong.
hsnaves Jul 2, 2014
2bfc603
power: asv: exynos5410: added "chipid" clock to the ASV.
hsnaves Jul 2, 2014
ccf7aa6
usb: dwc3: exynos5410: problem with the configuration.
hsnaves Jul 2, 2014
bd4cbbc
power: asv: fixed bug with the chipid clock.
hsnaves Jul 2, 2014
d647dd4
clk: exynos-audss: convert to platform device
abrestic Sep 25, 2013
f514b3d
clk: exynos-audss: allow input clocks to be specified in device tree
abrestic Sep 25, 2013
8427df2
clk: exynos-audss: add support for Exynos 5420
abrestic Sep 25, 2013
1a8bffc
exynos5410: fixed the "asynchronous external abort" failure due
hsnaves Jul 5, 2014
6c08d00
exynos5410: added the daisy-max98095 sound card to default configurat…
hsnaves Jul 6, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CHROMIUM: ASOC: Samsung: Change MAX98095 MCLK input clk
This patch configures the codec system clock with xclkout.
with out this patch there is a error while playing 8,22.05,
32KHz sampling rate files. The error was

max98095 7-0011: Invalid master clock frequency
[ 46.194905] asoc: machine hw_params failed: -22
Stream error -22

BUG=chrome-os-partner:12733
TEST=Tested with all supported sampling frequencys in cramfs.
All are playing fine except 8KHz and 32KHz are playing with
some error messages like below

[ 1262.417869] exynos5_epll_set_rate: Invalid Clock EPLL Frequency
[ 1262.417885] failed to clk_set_rate of fout_epll for audio

Change-Id: I5891ac9bbae1eeb6befb6992699e59e3e8977c24
Signed-off-by: R. Chandrasekar <[email protected]>
Signed-off-by: Padmavathi Venna <[email protected]>
Reviewed-on: https://gerrit.chromium.org/gerrit/30538
Reviewed-by: Dylan Reid <[email protected]>
Commit-Ready: Doug Anderson <[email protected]>
(cherry picked from commit 3afa3f951e57b8be7105c409106e150ab9847100)

Signed-off-by: Humberto Silva Naves <[email protected]>
  • Loading branch information
padmav16 authored and hsnaves committed Jul 3, 2014
commit 069d75c19f4021215eba7668a884d0065d1f06e1
13 changes: 12 additions & 1 deletion sound/soc/samsung/daisy_max98095.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ static int daisy_hw_params(struct snd_pcm_substream *substream,
struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
int bfs, psr, rfs, ret;
unsigned long rclk;
unsigned long xtal;
struct clk *xtal_clk;

switch (params_format(params)) {
case SNDRV_PCM_FORMAT_U24:
Expand Down Expand Up @@ -239,7 +241,16 @@ static int daisy_hw_params(struct snd_pcm_substream *substream,
if (ret < 0)
return ret;

ret = snd_soc_dai_set_sysclk(codec_dai, 0, rclk, SND_SOC_CLOCK_IN);
xtal_clk = clk_get(NULL, "xtal"); /*xtal clk is input to codec MCLK1*/
if (IS_ERR(xtal_clk)) {
printk(KERN_ERR "%s: failed to get xtal clock\n", __func__);
return PTR_ERR(xtal_clk);
}

xtal = clk_get_rate(xtal_clk);
clk_put(xtal_clk);

ret = snd_soc_dai_set_sysclk(codec_dai, 0, xtal, SND_SOC_CLOCK_IN);
if (ret < 0)
return ret;

Expand Down