Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Laurentiu Mihalcea <laurentiumihalcea111@gmail.com>
To: broonie@kernel.org
Cc: lgirdwood@gmail.com, peter.ujfalusi@linux.intel.com,
	pierre-louis.bossart@linux.intel.com, daniel.baluta@nxp.com,
	iuliana.prodan@nxp.com, linux-sound@vger.kernel.org,
	imx@lists.linux.dev, laurentiu.mihalcea@nxp.com,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] ASoC: SOF: imx: stop using the imx8_*_clocks API
Date: Fri, 29 Mar 2024 00:11:59 +0200	[thread overview]
Message-ID: <20240328221201.24722-1-laurentiumihalcea111@gmail.com> (raw)

From: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>

The imx8_*_clocks API requires keeping track of all of the clocks used
by the IMX SOF driver via an array. This is unnecessary and doesn't
scale well. As such, remove it altogether and replace it with
devm_clk_bulk_get_all() and friends.

Laurentiu Mihalcea (2):
  ASoC: SOF: imx: drop usage of the imx8_*_clocks API
  ASoC: SOF: imx: remove imx8_*_clocks API

 sound/soc/sof/imx/imx-common.c | 24 -------------------
 sound/soc/sof/imx/imx-common.h |  9 --------
 sound/soc/sof/imx/imx8.c       | 41 ++++++++++++++-------------------
 sound/soc/sof/imx/imx8m.c      | 40 ++++++++++++++------------------
 sound/soc/sof/imx/imx8ulp.c    | 42 +++++++++++++++-------------------
 5 files changed, 53 insertions(+), 103 deletions(-)

-- 
2.34.1


             reply	other threads:[~2024-03-28 22:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28 22:11 Laurentiu Mihalcea [this message]
2024-03-28 22:12 ` [PATCH 1/2] ASoC: SOF: imx: drop usage of the imx8_*_clocks API Laurentiu Mihalcea
2024-03-28 22:12 ` [PATCH 2/2] ASoC: SOF: imx: remove " Laurentiu Mihalcea
2024-04-04 15:24 ` [PATCH 0/2] ASoC: SOF: imx: stop using the " Mark Brown

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=20240328221201.24722-1-laurentiumihalcea111@gmail.com \
    --to=laurentiumihalcea111@gmail.com \
    --cc=broonie@kernel.org \
    --cc=daniel.baluta@nxp.com \
    --cc=imx@lists.linux.dev \
    --cc=iuliana.prodan@nxp.com \
    --cc=laurentiu.mihalcea@nxp.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=peter.ujfalusi@linux.intel.com \
    --cc=pierre-louis.bossart@linux.intel.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