From: "Roman Smrž" <roman@amarulasolutions.com>
To: "Martin Povišer" <povik+lin@cutebit.org>,
"Lars-Peter Clausen" <lars@metafoo.de>,
"Nuno Sá" <nuno.sa@analog.com>,
"Peter Rosin" <peda@lysator.liu.se>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Shenghao Ding" <shenghao-ding@ti.com>,
"Kevin Lu" <kevin-lu@ti.com>, "Baojun Xu" <baojun.xu@ti.com>,
"Sen Wang" <sen@ti.com>, "Jaroslav Kysela" <perex@perex.cz>,
"Takashi Iwai" <tiwai@suse.com>
Cc: patches@opensource.cirrus.com, linux-sound@vger.kernel.org,
asahi@lists.linux.dev, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Roman Smrž" <roman@amarulasolutions.com>,
linux-amarula@amarulasolutions.com,
"Michael Trimarchi" <michael@amarulasolutions.com>
Subject: [PATCH 0/5] ASoC: pcm179x: Add support for pcm1795 and pcm1796
Date: Fri, 02 Oct 2026 11:49:29 +0200 [thread overview]
Message-ID: <20261002-work-v1-0-f0e53bc7331f@amarulasolutions.com> (raw)
This adds support for the PCM1795 and the PCM1796 to the pcm179x driver.
The PCM1795 is register compatible with the PCM1792A, but it encodes two
of the register 18 FMT[2:0] values differently, so the format encoding is
described with a per-codec table instead of the width switches. Only the
PCM1795 has real 32-bit formats; on the PCM1792A and the PCM1796 a 32-bit
container keeps the 24-bit code, as it always has. Left-justified, which
the driver accepted but never programmed, is added on the way.
This series is based on a work done in 2016 by my collegue:
https://lore.kernel.org/all/20160311232856.GC27257@panicking/
Signed-off-by: Roman Smrž <roman@amarulasolutions.com>
---
Michael Trimarchi (2):
ASoC: dt-bindings: Add ti,pcm1795 and ti,pcm1796
ASoC: pcm179x: Add support for pcm1975
Roman Smrž (3):
ASoC: pcm179x: Refactor regmap value lookup
ASoC: pcm179x: Add left-justified formats for pcm1792a
ASoC: pcm179x: Add pcm1796 as compatible with pcm1792a
.../devicetree/bindings/sound/trivial-codec.yaml | 2 +
sound/soc/codecs/pcm179x-i2c.c | 2 +
sound/soc/codecs/pcm179x-spi.c | 2 +
sound/soc/codecs/pcm179x.c | 116 +++++++++++++++------
sound/soc/codecs/pcm179x.h | 12 ++-
5 files changed, 101 insertions(+), 33 deletions(-)
---
base-commit: ce1e0223d8ad4211275c82a17ed6d43ab81e13d9
change-id: 20261002-work-705f20b60284
Best regards,
--
Roman Smrž <roman@amarulasolutions.com>
next reply other threads:[~2026-10-02 9:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-02 9:49 Roman Smrž [this message]
2026-10-02 9:49 ` [PATCH 1/5] ASoC: dt-bindings: Add ti,pcm1795 and ti,pcm1796 Roman Smrž
2026-10-03 14:34 ` Krzysztof Kozlowski
2026-10-02 9:49 ` [PATCH 2/5] ASoC: pcm179x: Refactor regmap value lookup Roman Smrž
2026-10-02 9:49 ` [PATCH 3/5] ASoC: pcm179x: Add left-justified formats for pcm1792a Roman Smrž
2026-10-02 9:57 ` sashiko-bot
2026-10-02 9:49 ` [PATCH 4/5] ASoC: pcm179x: Add pcm1796 as compatible with pcm1792a Roman Smrž
2026-10-02 9:57 ` sashiko-bot
2026-10-03 14:35 ` Krzysztof Kozlowski
2026-10-02 9:49 ` [PATCH 5/5] ASoC: pcm179x: Add support for pcm1975 Roman Smrž
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=20261002-work-v1-0-f0e53bc7331f@amarulasolutions.com \
--to=roman@amarulasolutions.com \
--cc=asahi@lists.linux.dev \
--cc=baojun.xu@ti.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kevin-lu@ti.com \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=linux-amarula@amarulasolutions.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=michael@amarulasolutions.com \
--cc=nuno.sa@analog.com \
--cc=patches@opensource.cirrus.com \
--cc=peda@lysator.liu.se \
--cc=perex@perex.cz \
--cc=povik+lin@cutebit.org \
--cc=robh@kernel.org \
--cc=sen@ti.com \
--cc=shenghao-ding@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.