From: Xingyu Wu <xingyu.wu@starfivetech.com>
To: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.com>,
Jaroslav Kysela <perex@perex.cz>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor.dooley@microchip.com>
Cc: Walker Chen <walker.chen@starfivetech.com>,
Xingyu Wu <xingyu.wu@starfivetech.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
alsa-devel@alsa-project.org, linux-sound@vger.kernel.org
Subject: [PATCH v2 0/2] Add PDM controller for StarFive JH8100 SoC
Date: Tue, 23 Apr 2024 16:34:03 +0800 [thread overview]
Message-ID: <20240423083405.263912-1-xingyu.wu@starfivetech.com> (raw)
The Pulse Density Modulation (PDM) controller is a digital PDM
microphone interface controller and decoder that supports both
mono/stereo PDM format, and a Inter-IC Sound (I2S) transmitter
that outputs standard stereo audio data to another device. The
PDM controller includes two PDM blocks, each PDM block can drive
one bitstream sampling clock and two bitstream coming data
(mono/stereo) with sampling clock rising and falling edge.
The first patch adds documentation to describe PDM controller
bindings. And the second patch adds PDM driver for the StarFive
JH8100 SoC. The DTS patch of PDM controller will be submitted
after the patchs of JH8100 DTS are accepted.
Changes since v1:
- Changed the subject prefix of the bindings.
- Dropped the confused property in the bindings.
- Added the $ref to dai-common.
- Changed the kcontrol names and put it into ops.
- Added the reset when device resume.
- Modified two blocks into a whole PDM which supports up to 4
channels of recorder.
v1: https://lore.kernel.org/all/20240307033708.139535-1-xingyu.wu@starfivetech.com/
Xingyu Wu (2):
ASoC: dt-bindings: Add PDM controller for the StarFive JH8100 SoC
ASoC: starfive: Add PDM controller support
.../bindings/sound/starfive,jh8100-pdm.yaml | 82 ++++
MAINTAINERS | 7 +
sound/soc/starfive/Kconfig | 7 +
sound/soc/starfive/Makefile | 1 +
sound/soc/starfive/jh8100_pdm.c | 447 ++++++++++++++++++
5 files changed, 544 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/starfive,jh8100-pdm.yaml
create mode 100644 sound/soc/starfive/jh8100_pdm.c
--
2.25.1
next reply other threads:[~2024-04-23 10:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-23 8:34 Xingyu Wu [this message]
2024-04-23 8:34 ` [PATCH v2 1/2] ASoC: dt-bindings: Add PDM controller for the StarFive JH8100 SoC Xingyu Wu
2024-04-23 9:49 ` Krzysztof Kozlowski
2024-04-24 2:12 ` Xingyu Wu
2024-05-22 8:31 ` Xingyu Wu
2024-05-22 8:35 ` Xingyu Wu
2024-04-23 8:34 ` [PATCH v2 2/2] ASoC: starfive: Add PDM controller support Xingyu Wu
2024-05-22 2:11 ` Xingyu Wu
2024-05-22 11:22 ` Mark Brown
2024-05-23 1:48 ` Xingyu Wu
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=20240423083405.263912-1-xingyu.wu@starfivetech.com \
--to=xingyu.wu@starfivetech.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=robh+dt@kernel.org \
--cc=tiwai@suse.com \
--cc=walker.chen@starfivetech.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