From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: <broonie@kernel.org>, <vkoul@kernel.org>, <oder_chiou@realtek.com>
Cc: <jack.yu@realtek.com>, <shumingf@realtek.com>,
<lgirdwood@gmail.com>, <peter.ujfalusi@linux.intel.com>,
<yung-chuan.liao@linux.intel.com>, <sanyog.r.kale@intel.com>,
<pierre-louis.bossart@linux.dev>, <linux-sound@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <patches@opensource.cirrus.com>
Subject: [PATCH 0/5] Expand SoundWire MBQ register map support
Date: Tue, 17 Dec 2024 13:59:16 +0000 [thread overview]
Message-ID: <20241217135921.3572496-1-ckeepax@opensource.cirrus.com> (raw)
The current SDCA MBQ (Multi-Byte Quantities) register map only
supports 16-bit types, add support for more sizes and then update
the rt722 driver to use the new support. We also add support for
the deferring feature of MBQs to allow hardware to indicate it is
not currently ready to service a read/write.
Afraid I don't have hardware to test the rt722 change so it is
only build tested, but I thought it good to include a change to
demonstrate the new features in use.
Thanks,
Charles
Charles Keepax (5):
soundwire: SDCA: Add additional SDCA address macros
ASoC: SDCA: Update list of entity_0 controls
regmap: sdw-mbq: Add support for further MBQ register sizes
regmap: sdw-mbq: Add support for SDCA deferred controls
ASoC: rt722-sdca: Make use of new expanded MBQ regmap
drivers/base/regmap/regmap-sdw-mbq.c | 219 +++++++++++++++++++++---
include/linux/regmap.h | 62 ++++++-
include/linux/soundwire/sdw_registers.h | 30 +++-
include/sound/sdca_function.h | 33 +++-
sound/soc/codecs/rt722-sdca-sdw.c | 81 +++------
sound/soc/codecs/rt722-sdca-sdw.h | 99 ++++++-----
sound/soc/codecs/rt722-sdca.c | 135 ++++-----------
sound/soc/codecs/rt722-sdca.h | 4 +-
8 files changed, 409 insertions(+), 254 deletions(-)
--
2.39.5
next reply other threads:[~2024-12-17 13:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-17 13:59 Charles Keepax [this message]
2024-12-17 13:59 ` [PATCH 1/5] soundwire: SDCA: Add additional SDCA address macros Charles Keepax
2024-12-23 6:13 ` Vinod Koul
2024-12-17 13:59 ` [PATCH 2/5] ASoC: SDCA: Update list of entity_0 controls Charles Keepax
2024-12-17 13:59 ` [PATCH 3/5] regmap: sdw-mbq: Add support for further MBQ register sizes Charles Keepax
2024-12-17 13:59 ` [PATCH 4/5] regmap: sdw-mbq: Add support for SDCA deferred controls Charles Keepax
2024-12-17 13:59 ` [PATCH 5/5] ASoC: rt722-sdca: Make use of new expanded MBQ regmap Charles Keepax
2024-12-18 7:56 ` Shuming [范書銘]
2025-01-08 13:32 ` (subset) [PATCH 0/5] Expand SoundWire MBQ register map support 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=20241217135921.3572496-1-ckeepax@opensource.cirrus.com \
--to=ckeepax@opensource.cirrus.com \
--cc=broonie@kernel.org \
--cc=jack.yu@realtek.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=oder_chiou@realtek.com \
--cc=patches@opensource.cirrus.com \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=sanyog.r.kale@intel.com \
--cc=shumingf@realtek.com \
--cc=vkoul@kernel.org \
--cc=yung-chuan.liao@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