[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240307033708.139535-1-xingyu.wu@starfivetech.com>
Date: Thu, 7 Mar 2024 11:37:06 +0800
From: Xingyu Wu <xingyu.wu@...rfivetech.com>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Takashi Iwai <tiwai@...e.com>,
Jaroslav Kysela <perex@...ex.cz>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor.dooley@...rochip.com>
Cc: Walker Chen <walker.chen@...rfivetech.com>,
Xingyu Wu <xingyu.wu@...rfivetech.com>,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
alsa-devel@...a-project.org,
linux-sound@...r.kernel.org
Subject: [PATCH v1 0/2] Add PDM controller for StarFive JH8100 SoC
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 modules, each PDM module can drive
one bitstream sampling clock and two bitstream coming data with
sampling clock rising and falling edge.
On the JH8100 SoC, PDM and I2S are fixedly connected as follow:
PDM module 0 --> I2S channel 0
PDM module 1 --> I2S channel 1
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.
Xingyu Wu (2):
dt-bindings: ASoC: Add PDM controller for the StarFive JH8100 SoC
ASoC: starfive: Add PDM controller support
.../bindings/sound/starfive,jh8100-pdm.yaml | 84 ++++
MAINTAINERS | 7 +
sound/soc/starfive/Kconfig | 7 +
sound/soc/starfive/Makefile | 1 +
sound/soc/starfive/jh8100_pdm.c | 395 ++++++++++++++++++
5 files changed, 494 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/starfive,jh8100-pdm.yaml
create mode 100644 sound/soc/starfive/jh8100_pdm.c
--
2.25.1
Powered by blists - more mailing lists