public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
To: Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>
Cc: Akshu Agrawal <Akshu.Agrawal@amd.com>,
	Daniel Kurtz <djkurtz@google.com>, <alsa-devel@alsa-project.org>,
	<linux-kernel@vger.kernel.org>,
	Support Opensource <support.opensource@diasemi.com>
Subject: [PATCH 0/2] ASoC: da7219: Improvements to DAI clocks handling in driver
Date: Mon, 7 Jan 2019 16:11:45 +0000	[thread overview]
Message-ID: <cover.1546876084.git.Adam.Thomson.Opensource@diasemi.com> (raw)

This small patchset provides improvements to CCF based clock handling relating
to the DAI clocks. In the first patch MCLK is made parent of DAI clocks, if MCLK
has been provided to the driver, which means that MCLK will automatically be
enabled as a prerequisite to DAI clocks. The second patch adds the ability to
read the WCLK rate provided by the codec when DAI clocks are featured. This is
more useful than the returned rate simply being the rate of the parent clock,
which in this case would be MCLK.

Adam Thomson (2):
  ASoC: da7219: MCLK should be enabled before DAI clocks
  ASoC: da7219: Add recalc_rate function to return DAI clock rate

 sound/soc/codecs/da7219.c | 77 ++++++++++++++++++++++++++++++++++++++++-------
 sound/soc/codecs/da7219.h |  1 +
 2 files changed, 67 insertions(+), 11 deletions(-)

-- 
1.9.1


WARNING: multiple messages have this Message-ID (diff)
From: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
To: Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>
Cc: Akshu Agrawal <Akshu.Agrawal@amd.com>,
	Daniel Kurtz <djkurtz@google.com>, <alsa-devel@alsa-project.org>,
	<linux-kernel@vger.kernel.org>,
	Support Opensource <support.opensource@diasemi.com>
Subject: [PATCH 0/2] ASoC: da7219: Improvements to DAI clocks handling in driver
Date: Tue, 8 Jan 2019 09:13:26 +0000	[thread overview]
Message-ID: <cover.1546876084.git.Adam.Thomson.Opensource@diasemi.com> (raw)
Message-ID: <20190108091326.K8v-L4ZHbMTY_5WfNoGvwg0BbTIF3yqepQA80yDBEaM@z> (raw)

This small patchset provides improvements to CCF based clock handling relating
to the DAI clocks. In the first patch MCLK is made parent of DAI clocks, if MCLK
has been provided to the driver, which means that MCLK will automatically be
enabled as a prerequisite to DAI clocks. The second patch adds the ability to
read the WCLK rate provided by the codec when DAI clocks are featured. This is
more useful than the returned rate simply being the rate of the parent clock,
which in this case would be MCLK.

Adam Thomson (2):
  ASoC: da7219: MCLK should be enabled before DAI clocks
  ASoC: da7219: Add recalc_rate function to return DAI clock rate

 sound/soc/codecs/da7219.c | 77 ++++++++++++++++++++++++++++++++++++++++-------
 sound/soc/codecs/da7219.h |  1 +
 2 files changed, 67 insertions(+), 11 deletions(-)

-- 
1.9.1


             reply	other threads:[~2019-01-09 14:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-07 16:11 Adam Thomson [this message]
2019-01-07 16:11 ` [PATCH 1/2] ASoC: da7219: MCLK should be enabled before DAI clocks Adam Thomson
2019-01-08  9:13   ` Adam Thomson
2019-01-09 18:15   ` Applied "ASoC: da7219: MCLK should be enabled before DAI clocks" to the asoc tree Mark Brown
2019-01-07 16:11 ` [PATCH 2/2] ASoC: da7219: Add recalc_rate function to return DAI clock rate Adam Thomson
2019-01-08  9:13   ` Adam Thomson
2019-01-09 18:15   ` Applied "ASoC: da7219: Add recalc_rate function to return DAI clock rate" to the asoc tree Mark Brown
2019-01-08  9:13 ` [PATCH 0/2] ASoC: da7219: Improvements to DAI clocks handling in driver Adam Thomson
2019-01-09 14:38 ` Adam Thomson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1546876084.git.Adam.Thomson.Opensource@diasemi.com \
    --to=adam.thomson.opensource@diasemi.com \
    --cc=Akshu.Agrawal@amd.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=djkurtz@google.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=support.opensource@diasemi.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox