devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/2] ASoC: max98090/max98095: Add master clock handing
@ 2014-05-26  8:28 Tushar Behera
  2014-05-26  8:28 ` [PATCH V2 1/2] ASoC: max98090: Add master clock handling Tushar Behera
  2014-05-26  8:28 ` [PATCH 2/2] ASoC: max98095: " Tushar Behera
  0 siblings, 2 replies; 7+ messages in thread
From: Tushar Behera @ 2014-05-26  8:28 UTC (permalink / raw)
  To: alsa-devel, linux-kernel, devicetree
  Cc: tiwai, perex, broonie, dianders, swarren

These CODECs are used on Snow/Peach-pit boards and the master clock
needs to be set at 24MHz.

Adding support in respective codec drivers so that we can update the
master clock frequency from sound card driver through set_sysclk.

Changes for V2:
1. Added PROBE_DEFER if clock driver has not yet been probed
2. Moved clk_prepare_enable from .probe to .set_bias_level
3. Moved clk_disable_unprepare from .remove to .set_bias_level

Tushar Behera (2):
  ASoC: max98090: Add master clock handling
  ASoC: max98095: Add master clock handling

 .../devicetree/bindings/sound/max98090.txt         |    6 +++++
 .../devicetree/bindings/sound/max98095.txt         |    6 +++++
 sound/soc/codecs/max98090.c                        |   23 +++++++++++++++++++
 sound/soc/codecs/max98090.h                        |    1 +
 sound/soc/codecs/max98095.c                        |   24 ++++++++++++++++++++
 5 files changed, 60 insertions(+)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH 0/2] ASoC: max98090/max98095: Add master clock handing
@ 2014-05-22  9:17 Tushar Behera
  2014-05-22  9:17 ` [PATCH 2/2] ASoC: max98095: Add master clock handling Tushar Behera
  0 siblings, 1 reply; 7+ messages in thread
From: Tushar Behera @ 2014-05-22  9:17 UTC (permalink / raw)
  To: alsa-devel, linux-kernel, devicetree
  Cc: tiwai, perex, broonie, dianders, jerry.wong

These CODECs are used on Snow/Peach-pit boards and the master clock
needs to be set at 24MHz.

Adding support in respective codec drivers so that we can update the
master clock frequency from sound card driver through set_sysclk.

These patches are prepared as per review comments on following patch.
[PATCH] ASoC: samsung: Add 'mclk' handling for Snow sound-card driver
https://lkml.org/lkml/2014/5/20/4

Tushar Behera (2):
  ASoC: max98090: Add master clock handling
  ASoC: max98095: Add master clock handling

 .../devicetree/bindings/sound/max98090.txt         |    6 ++++++
 .../devicetree/bindings/sound/max98095.txt         |    6 ++++++
 sound/soc/codecs/max98090.c                        |   13 +++++++++++++
 sound/soc/codecs/max98090.h                        |    1 +
 sound/soc/codecs/max98095.c                        |   14 ++++++++++++++
 5 files changed, 40 insertions(+)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-05-26 15:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26  8:28 [PATCH V2 0/2] ASoC: max98090/max98095: Add master clock handing Tushar Behera
2014-05-26  8:28 ` [PATCH V2 1/2] ASoC: max98090: Add master clock handling Tushar Behera
2014-05-26 15:18   ` Mark Brown
2014-05-26  8:28 ` [PATCH 2/2] ASoC: max98095: " Tushar Behera
2014-05-26 15:19   ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2014-05-22  9:17 [PATCH 0/2] ASoC: max98090/max98095: Add master clock handing Tushar Behera
2014-05-22  9:17 ` [PATCH 2/2] ASoC: max98095: Add master clock handling Tushar Behera
2014-05-22 10:31   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).