mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: ti: davinci-mcasp: Master AUXCLK FS ration support
@ 2019-06-11 12:29 Peter Ujfalusi
  2019-06-11 12:29 ` [PATCH 1/2] bindings: sound: davinci-mcasp: Add support for optional auxclk-fs-ratio Peter Ujfalusi
  2019-06-11 12:29 ` [PATCH 2/2] ASoC: ti: davinci-mcasp: Support for auxclk-fs-ratio Peter Ujfalusi
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Ujfalusi @ 2019-06-11 12:29 UTC (permalink / raw)
  To: broonie, lgirdwood
  Cc: alsa-devel, misael.lopez, jsarha, devicetree, robh+dt, linux-kernel

Hi,

The AUXCLK of McASP which is used as the master clock for I2S signal generation
usually is a static clock.
The driver (and bindings) assumes this setup, however if the AUXCLK can change
with the stream's FS then this assumption breaks the audio support as it sets
constraint rules in startup, these rules run pre hw_params and in hw_params we
are going to be notified of the new reference clock (which is some multiple of
the FS).

Regards,
Peter
---
Peter Ujfalusi (2):
  bindings: sound: davinci-mcasp: Add support for optional
    auxclk-fs-ratio
  ASoC: ti: davinci-mcasp: Support for auxclk-fs-ratio

 .../bindings/sound/davinci-mcasp-audio.txt    |  3 ++
 sound/soc/ti/davinci-mcasp.c                  | 52 ++++++++++++++++---
 2 files changed, 47 insertions(+), 8 deletions(-)

-- 
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


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

end of thread, other threads:[~2019-06-12 15:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-11 12:29 [PATCH 0/2] ASoC: ti: davinci-mcasp: Master AUXCLK FS ration support Peter Ujfalusi
2019-06-11 12:29 ` [PATCH 1/2] bindings: sound: davinci-mcasp: Add support for optional auxclk-fs-ratio Peter Ujfalusi
2019-06-12 15:59   ` Applied "bindings: sound: davinci-mcasp: Add support for optional auxclk-fs-ratio" to the asoc tree Mark Brown
2019-06-11 12:29 ` [PATCH 2/2] ASoC: ti: davinci-mcasp: Support for auxclk-fs-ratio Peter Ujfalusi
2019-06-12 15:59   ` Applied "ASoC: ti: davinci-mcasp: Support for auxclk-fs-ratio" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®