Hello Takashi,
On 04/17/2018 01:17 PM, Mark Brown wrote:
> On Tue, Apr 17, 2018 at 08:29:17AM +0000, Olivier MOYSAN wrote:
>
>> I guess the blocking patch in this patchset is the patch "add IEC958
>> channel status control helper". This patch has been reviewed sever
Hello Mark,
On 12/19/2017 10:35 AM, Mark Brown wrote:
> On Fri, Dec 15, 2017 at 03:15:22PM +0000, Olivier MOYSAN wrote:
>
>> You are right. wm8994 allows to select either MCLK for each AIF.
>> From this point of view, the current patch is too limiting.
>> MCLK
by wm8994_set_dai_sysclk()
is used.
I have a limited view of potential side effects here, so any comments are
welcome.
If some adaptations are required to make this change more generic, please let
me know.
Regards
Olivier
Olivier Moysan (2):
ASoC: add support of mclk clock providers in wm8894 driver
When defined in device tree, MCLK1 and MCLK2 are used
as sysclk for aif1 and aif2 interfaces respectively.
If clock rate is let 0, the frequency provided by
wm8994_set_dai_sysclk() is used instead.
Signed-off-by: Olivier Moysan
---
sound/soc/codecs/wm8994.c | 20 +++-
1 file
Wolfson wm8994 codec bindings exposes MCLK1 and MCLK1 clocks.
This patch adds support of MCLK1 and MCLK2 in mfd driver.
Signed-off-by: Olivier Moysan
---
drivers/mfd/wm8994-core.c| 9 +
include/linux/mfd/wm8994/pdata.h | 6 ++
2 files changed, 15 insertions(+)
diff --git
Hello Mark,
Thanks for your comment.
On 12/14/2017 06:36 PM, Mark Brown wrote:
> On Thu, Dec 14, 2017 at 05:53:58PM +0100, Olivier Moysan wrote:
>> When defined in device tree, MCLK1 and MCLK2 are used
>> as sysclk for aif1 and aif2 interfaces respectively.
>
> That's n
Hello Mark,
On 12/20/2017 04:50 PM, Mark Brown wrote:
> On Wed, Dec 20, 2017 at 12:42:10PM +0000, Olivier MOYSAN wrote:
>
>> As a generic machine, simple or audio graph cards are not able to manage
>> codec clock muxing.
>> If we exclude the management of muxin
Fix uninitialized warning introduced by
"Move static settings to DAI init" commit
in stm32_sai_set_config() function.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_sai_sub.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/stm/stm32_sai_sub
Hello Takashi,
Sorry for late answer. I was OoO.
Ok, I will add a protection on sai->substream accesses.
Best regards
Olivier
On 10/26/2017 05:32 PM, Takashi Iwai wrote:
> On Thu, 19 Oct 2017 15:03:20 +0200,
> Olivier Moysan wrote:
>>
>> Add check on substream valid
This patch-set gathers DMA management fixes for STM32 SPDIFRX.
Olivier Moysan (2):
ASoC: stm32: spdifrx: fix 16 bits capture
ASoC: stm32: spdifrx: fix control DMA error management
sound/soc/stm/stm32_spdifrx.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions
Fix DMA channel request error handling.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_spdifrx.c | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c
index d7dbe84..b9bdefc 100644
--- a/sound/soc
Change DMA bus width to manage properly 16 bits packed format.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_spdifrx.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c
index 84cc567..d7dbe84 100644
Add mclk-fs support to audio graph card
as it was previously implemented in simple card.
Signed-off-by: Olivier Moysan
---
sound/soc/generic/audio-graph-card.c | 47 ++--
1 file changed, 39 insertions(+), 8 deletions(-)
diff --git a/sound/soc/generic/audio-graph
The aim of these patches is to port mclk-fs property to audio graph card,
as originally implemented in simple card.
Olivier Moysan (2):
ASoC: add mclk-fs to audio graph card binding
ASoC: add mclk-fs support to audio graph card
.../devicetree/bindings/sound/audio-graph-card.txt | 1
Add mclk-fs support to audio graph card
as initially supported in simple card.
Signed-off-by: Olivier Moysan
---
Documentation/devicetree/bindings/sound/audio-graph-card.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/sound/audio-graph-card.txt
b
er.
Please let me know, if I need to prepare a v2 without helpers, or if we
can go further in the review of iec helpers patch ?
Best regards
olivier
On 03/13/2018 05:27 PM, Olivier Moysan wrote:
> This patchset adds support of iec958 controls to STM32 SAI driver.
>
> The patch makes us
Add of dependency for STM32 ASoC drivers.
DFSDM of dependency is already inherited
from STM32_DFSDM_ADC dependency.
Signed-off-by: olivier moysan
---
sound/soc/stm/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/stm/Kconfig b/sound/soc/stm/Kconfig
Add support of S/PDIF iec60958 playback on STM32 SAI.
Signed-off-by: olivier moysan
---
sound/soc/stm/stm32_sai.c | 2 +
sound/soc/stm/stm32_sai.h | 2 +
sound/soc/stm/stm32_sai_sub.c | 153 +++---
3 files changed, 133 insertions(+), 24 deletions
Allow dmaengine client to optionally register a processing callback.
This callback is intended to apply processing
on samples in buffer copied from/to user space, before/after DMA transfer.
Signed-off-by: Olivier Moysan
---
include/sound/dmaengine_pcm.h | 3 ++
sound/soc/soc-generic
insertion)
This patch-set introduces a callback to allow processing on samples.
The implementation is based on previous discussions available here:
https://patchwork.kernel.org/patch/9570255/
BRs
Olivier
Olivier Moysan (3):
ASoC: stm32: Add S/PDIF to SAI bindings
ASoC: dmaengine_pcm: add
Add S/PDIF IEC6958 protocol support to STM32 SAI bindings.
Signed-off-by: olivier moysan
---
Documentation/devicetree/bindings/sound/st,stm32-sai.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/st,stm32-sai.txt
b/Documentation/devicetree
Hello Rob,
On 06/23/2017 08:55 PM, Rob Herring wrote:
> On Fri, Jun 16, 2017 at 03:57:31PM +0200, olivier moysan wrote:
>> This adds documentation of device tree bindings for the
>> STM32 SPDIFRX interface.
>>
>> Signed-off-by: olivier moysan
>> ---
>>
Use function of_find_device_by_node() to retrieve SAI
synchro provider device and private data.
This allows to remove registration of probed SAI
in a linked list.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_sai.c | 105 ++
1 file changed, 22
SAI sync property must be described in SAI subnodes
section, as it is a property of child node.
This patch fixes commit 14f0e5f8d97e632695d92f41f2e91d10d8005d47
"ASoC: stm32: Add synchronization to SAI bindings".
Signed-off-by: Olivier Moysan
---
Documentation/devicetree/bindings/soun
Fix sai binding and simplify code related to synchro feature.
This change allows to remove stm32_sai_remove() function
and use devm_of_platform_populate().
Olivier Moysan (3):
ASoC: stm32: fix sync property description in SAI bindings
ASoC: stm32: sai: simplify sync modes management
ASoC
Use devm_of_platform_populate() instead of of_platform_depopulate()
to simplify driver code.
Signed-off-by: Benjamin Gaignard
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_sai.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/sound/soc/stm/stm32_sai.c b
When configured as module, CS42L51 codec driver uses two modules
snd-soc-cs42l51 and snd-soc-cs42l51-i2c.
Add soft dependency on snd-soc-cs42l51-i2c in snd-soc-cs42l51,
to allow smart module dependency solving.
Signed-off-by: Olivier Moysan
---
sound/soc/codecs/cs42l51.c | 1 +
1 file changed
Add a trace to report actual resolution of audio samples.
Signed-off-by: Olivier Moysan
---
drivers/iio/adc/stm32-dfsdm-adc.c | 4
drivers/iio/adc/stm32-dfsdm.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c
b/drivers/iio/adc/stm32-dfsdm-adc.c
.
Add a trace to allow simple check of sample resolution.
Olivier Moysan (2):
ASoC: stm32: dfsdm: change rate limits
ASoC: stm32: dfsdm: add actual resolution trace
drivers/iio/adc/stm32-dfsdm-adc.c | 4
drivers/iio/adc/stm32-dfsdm.h | 2 ++
sound/soc/stm/stm32_adfsdm.c | 8
The DFSDM can support a larger rate range than currently
supported in driver.
Increase rate upper limit to 48kHz and allow all rates
in the range 8kHz to 48kHz.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_adfsdm.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff
Convert the STM32 SAI bindings to DT schema format using json-schema.
Signed-off-by: Olivier Moysan
---
Changes in v2:
- use pattern for compatible of child nodes
- rework dmas and clocks properties
- add "additionalProperties"
Changes in v3:
- move clocks properties for st,s
.
However, this shutdown delay is already handled in the DAPMs
of the audio codec linked to SAI CPU DAI.
So, the choice is made, not to support this delay on CPU DAI side.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_sai_sub.c | 10 --
1 file changed, 8 insertions(+), 2 deletions
Add master clock provider support to STM32 I2S.
Signed-off-by: Olivier Moysan
---
Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml
b/Documentation/devicetree/bindings
Add master clock generation support in STM32 I2S driver.
The master clock provided by I2S can be used to feed a codec.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_i2s.c | 310 --
1 file changed, 266 insertions(+), 44 deletions(-)
diff --git a/sound
Add master clock generation support in STM32 I2S driver.
Olivier Moysan (2):
ASoC: dt-bindings: add mclk provider support to stm32 i2s
ASoC: stm32: i2s: add master clock provider
.../bindings/sound/st,stm32-i2s.yaml | 4 +
sound/soc/stm/stm32_i2s.c | 310
Add STM32 SPDIFRX and DFSDM audio support to multi_v7_defconfig
Change in v2:
- Add targeted SoC in commit message for DFSDM config
Olivier Moysan (2):
ARM: multi_v7_defconfig: enable spdifrx support
ARM: multi_v7_defconfig: enable dfsdm audio support
arch/arm/configs/multi_v7_defconfig
Add STM32 SPDIFRX support by enabling CONFIG_SND_SOC_STM32_SPDIFRX
as module.
Signed-off-by: Olivier Moysan
Reviewed-by: Krzysztof Kozlowski
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs
Add STM32 DFSDM audio support by enabling CONFIG_SND_SOC_STM32_DFSDM
as module.
Signed-off-by: Olivier Moysan
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index b30a3bc6762b
the shutdown delay
explicitly. From experiments, at least 10ms delay is necessary.
Set delay to 20ms as recommended in Documentation/timers/timers-howto.rst
when using msleep().
Signed-off-by: Olivier Moysan
---
Recommended Power-Down Sequence:
(see https://statics.cirrus.com/pubs/proDatasheet/CS42L51_F2
,stm32-dfsdm-adc.yaml rather than converting st,stm32-adfsdm.txt
Olivier Moysan (2):
dt-bindings: stm32: dfsdm: update audio properties
dt-bindings: stm32: dfsdm: remove stm32-adfsdm.txt binding
.../bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 7 ++-
.../bindings/sound/st,stm32-adfsdm.txt
- Add missing compatible property in audio node.
- Remove obsolete "st,stm32-dfsdm-pdm" compatible.
- Remove useless comment in adc io-channels description.
Signed-off-by: Olivier Moysan
---
.../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml| 7 +--
1 file changed, 5
Device tree audio configuration for STM32 DFSDM is already
covered in the following binding:
Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml
Remove stm32-adfsdm.txt obsolete binding.
Signed-off-by: Olivier Moysan
---
.../bindings/sound/st,stm32-adfsdm.txt| 63
t")
Signed-off-by: Olivier Moysan
Signed-off-by: Fabrice Gasnier
---
drivers/iio/adc/stm32-adc-core.c | 41 +++---
drivers/iio/adc/stm32-adc.c | 50 ++--
2 files changed, 65 insertions(+), 26 deletions(-)
diff --git a/drivers/iio/adc/stm32-
Add DFSDM audio support by enabling CONFIG_SND_SOC_STM32_DFSDM
as module.
Signed-off-by: Olivier Moysan
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index b30a3bc6762b
Add STM32 SPDIFRX support by enabling CONFIG_SND_SOC_STM32_SPDIFRX
as module.
Signed-off-by: Olivier Moysan
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index 1fff2591e434
Add STM32 SPDIFRX and DFSDM audio support to multi_v7_defconfig
Olivier Moysan (2):
ARM: multi_v7_defconfig: enable spdifrx support
ARM: multi_v7_defconfig: enable dfsdm audio support
arch/arm/configs/multi_v7_defconfig | 2 ++
1 file changed, 2 insertions(+)
--
2.17.1
Hi Alex
On 11/26/20 12:25 PM, Alexandre Torgue wrote:
> Hi Olivier
>
> On 11/20/20 10:15 AM, Olivier Moysan wrote:
>> Add STM32 SPDIFRX and DFSDM audio support to multi_v7_defconfig
>>
>> Change in v2:
>> - Add targeted SoC in commit message for DFSDM config
&g
Add support of identification registers in STM32 SAI.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_sai.c | 44 +++
sound/soc/stm/stm32_sai.h | 54 ---
sound/soc/stm/stm32_sai_sub.c | 14 ++-
3 files
- Remove processing related to DMA in irq handler as this
data transfer is managed directly in DMA callback.
- Update comment in stm32_adc_set_watermark() function.
Signed-off-by: Olivier Moysan
---
drivers/iio/adc/stm32-adc.c | 29 ++---
1 file changed, 6 insertions
Convert the STM32 DFSDM audio bindings to DT schema format
using json-schema.
Signed-off-by: Olivier Moysan
---
.../bindings/sound/st,stm32-adfsdm.txt| 63 ---
.../bindings/sound/st,stm32-adfsdm.yaml | 42 +
2 files changed, 42 insertions(+), 63
Hi Mark,
Gentle reminder on this series, as it seems that there was no update
since Rob's "reviewed-by" for dt bindings, on 11/09.
BRs
Olivier
On 9/11/20 11:19 AM, Olivier Moysan wrote:
> Add master clock generation support in STM32 I2S driver.
>
> Olivier Moysan (2):
>
Fix function name prefix for naming consistency.
Signed-off-by: olivier moysan
---
sound/soc/stm/stm32_spdifrx.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c
index b9bdefc..42ad2ae 100644
--- a/sound/soc
This patchset changes spdifrx dai name and fixes a typo issue.
Olivier Moysan (2):
ASoC: stm32: spdifrx: fix typo in function name.
ASoC: stm32: spdifrx: Use default dai name
sound/soc/stm/stm32_spdifrx.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
--
1.9.1
Use dai name provided by framework from dev_name() function.
Signed-off-by: olivier moysan
---
sound/soc/stm/stm32_spdifrx.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c
index 42ad2ae..373df4f 100644
--- a/sound/soc/stm
Add of dependency for STM32 ASoC drivers.
DFSDM of dependency is already inherited
from STM32_DFSDM_ADC dependency.
Signed-off-by: olivier moysan
---
sound/soc/stm/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/stm/Kconfig b/sound/soc/stm/Kconfig
index 3ad881f..b5375f9
hello,
On 02/01/2018 10:10 AM, Ladislav Michl wrote:
> On Thu, Feb 01, 2018 at 09:54:41AM +0100, Olivier Moysan wrote:
>> Add of dependency for STM32 ASoC drivers.
>> DFSDM of dependency is already inherited
>> from STM32_DFSDM_ADC dependency.
>>
>&
This patch-set adds support of synchronization features for SAI interface.
It also adds minor fixes and improvements.
Olivier Moysan (7):
ASoC: stm32: Add synchronization to SAI bindings
ASoC: stm32: sai: Move static settings to DAI init
ASoC: stm32: sai: Fix DMA burst size
ASoC: stm32
Clear IRQ mask on stream stop to avoid spurious IRQs.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_sai_sub.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c
index 815ef10..fd7dc77 100644
--- a/sound
Add check on substream validity.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_sai_sub.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c
index 2af397d..815ef10 100644
--- a/sound/soc/stm
Set best burst size tradeoff for 8, 16, 32 bits transfers.
Signed-off-by: olivier moysan
---
sound/soc/stm/stm32_sai_sub.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c
index fdc1891
Add synchronization configuration to STM32 SAI bindings.
This patch also adds peripheral clock which is required
to access synchronization register.
Signed-off-by: Olivier Moysan
---
Documentation/devicetree/bindings/sound/st,stm32-sai.txt | 14 +++---
1 file changed, 11 insertions
Audio interface direction and protocol settings does not change
at runtime. So, these settings are moved from hw_params
function to dai_probe and set_fmt.
Signed-off-by: olivier moysan
---
sound/soc/stm/stm32_sai_sub.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions
Use devm version of reset_control_get function
to manage driver removing properly.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_sai.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c
index 1258bef..5fe878ac 100644
Add Synchronization support for STM32 SAI.
Signed-off-by: olivier moysan
---
sound/soc/stm/stm32_sai.c | 160 --
sound/soc/stm/stm32_sai.h | 22 +-
sound/soc/stm/stm32_sai_sub.c | 95 +
3 files changed, 269 insertions
Please ignore "[INTERNAL]" in subject.
Sorry for this unappropriated header.
On 10/19/2017 03:03 PM, Olivier Moysan wrote:
> This patch-set adds support of synchronization features for SAI interface.
> It also adds minor fixes and improvements.
>
> Olivier Moysan (7):
On 7/24/19 6:40 PM, Alexandre Torgue wrote:
> Hi Olivier
>
> On 7/5/19 1:53 PM, Olivier Moysan wrote:
>> Add support of Cirrus cs42l51 audio codec on stm32mp157a-dk1 board.
>> Configuration overview:
>> - SAI2A is the CPU interface used for the codec audio pla
Add DFSDM pins to stm32mp157c.
Signed-off-by: Olivier Moysan
---
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 39 +++
1 file changed, 39 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
index
Hi ALex,
On 8/2/19 10:09 AM, Alexandre Torgue wrote:
> Hi Olivier
>
> On 8/1/19 9:46 AM, Olivier Moysan wrote:
>> Add DFSDM pins to stm32mp157c.
>>
>> Signed-off-by: Olivier Moysan
>> ---
>>arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 39
>>
Enable support for SAI on STM32MP1.
Signed-off-by: Olivier Moysan
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index c5d37dfafe98..929d13842171 100644
--- a/arch/arm/configs
Enable audio graph card support for stm32mp157a-dk1 board.
Signed-off-by: Olivier Moysan
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index 03a4d93df8c4..c7104a1c1687 100644
Enable Cirrus CS42L51 audio codec for stm32mp157a-dk1 board.
Signed-off-by: Olivier Moysan
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index 02265e195e50..03a4d93df8c4
This patchset adds audio support for stm32mp157a-dk1 board.
Olivier Moysan (4):
ARM: multi_v7_defconfig: enable stm32 sai support
ARM: multi_v7_defconfig: enable stm32 i2s support
ARM: multi_v7_defconfig: enable cs42l51 codec support
ARM: multi_v7_defconfig: enable audio graph card
Enable support for I2S on STM32MP1.
Signed-off-by: Olivier Moysan
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index 929d13842171..02265e195e50 100644
--- a/arch/arm/configs
and release mclk.
Fixes: 2458adb8f92a ("SoC: simple-card-utils: set 0Hz to sysclk when shutdown")
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_sai_sub.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/sound/soc/stm/stm32_sai_sub.c b/sou
Add HDMI audio support through Sil9022 HDMI transceiver
on stm32mp157a-dk1 board.
Signed-off-by: Olivier Moysan
---
arch/arm/boot/dts/stm32mp157a-dk1.dts | 27 ++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts
b/arch
-by: Olivier Moysan
---
sound/soc/stm/stm32_spdifrx.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c
index cd4b235fce57..3fd28ee01675 100644
--- a/sound/soc/stm/stm32_spdifrx.c
+++ b/sound/soc/stm
[ 52.379245] 1fe0: 0003 beb6e790 b6eb17b7 b6e3e6c6
Signed-off-by: Olivier Moysan
---
drivers/iio/buffer/industrialio-hw-consumer.c | 9 -
drivers/iio/industrialio-buffer.c | 2 +-
drivers/iio/industrialio-core.c | 3 ++-
include/linux/iio/iio.h
Hello Jonathan,
Thanks for your comment.
On 10/12/19 10:57 AM, Jonathan Cameron wrote:
> On Fri, 11 Oct 2019 17:13:14 +0200
> Olivier Moysan wrote:
>
>> The aim of this patch is to correct a recursive locking warning,
>> detected when setting CONFIG_PROVE_LOCKING flag (as s
, to match this constraint.
dai-tdm-slot-num and dai-tdm-slot-width properties are used here,
assuming that i2s is a special case of tdm, where slot number is 2.
Signed-off-by: Olivier Moysan
---
arch/arm/boot/dts/stm32mp157a-dk1.dts | 89 +++
1 file changed, 89
Add identification registers to address range
of SAI DT parent node, for stm32mp157c.
Change-Id: I696363794fab59ba8d7869b3ffbc041dacdf28de
Signed-off-by: Olivier Moysan
---
arch/arm/boot/dts/stm32mp157c.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm
Add support of audio 16 bits format record to STM32
DFSDM driver.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_adfsdm.c | 49 +++-
1 file changed, 39 insertions(+), 10 deletions(-)
diff --git a/sound/soc/stm/stm32_adfsdm.c b/sound/soc/stm
resolution for output data
- Add a comment about 16 bits data transfers
Olivier Moysan (5):
iio: adc: stm32-dfsdm: fix output resolution
iio: adc: stm32-dfsdm: fix data type
iio: adc: stm32-dfsdm: manage data resolution in trigger mode
iio: adc: stm32-dfsdm: add fast mode support
iio: adc: stm32
positive sample is reached.
Fixes: eca949800d2d ("IIO: ADC: add stm32 DFSDM support for PDM microphone")
Signed-off-by: Olivier Moysan
---
drivers/iio/adc/stm32-dfsdm-adc.c | 158 +-
drivers/iio/adc/stm32-dfsdm.h | 24 --
2 files changed, 142
Add a comment on DMA configuration for 16 bits record.
Signed-off-by: Olivier Moysan
---
drivers/iio/adc/stm32-dfsdm-adc.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c
b/drivers/iio/adc/stm32-dfsdm-adc.c
index d855a605eab6..ee1e0569d0e1 100644
("IIO: ADC: add STM32 DFSDM sigma delta ADC support")
Signed-off-by: Olivier Moysan
---
drivers/iio/adc/stm32-dfsdm-adc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c
b/drivers/iio/adc/stm32-dfsdm-adc.c
index cb596f104919..6b
there are too tight time constraints for filter parameters
computation. For this reason both fast and non fast filter parameters
are pre-computed previously.
Signed-off-by: Olivier Moysan
---
drivers/iio/adc/stm32-dfsdm-adc.c | 65 ++-
drivers/iio/adc/stm32-dfsdm.h
Add output sample resolution management in scan mode.
Add stm32_dfsdm_process_data() function to share sample
processing between continuous and trigger modes.
Signed-off-by: Olivier Moysan
---
drivers/iio/adc/stm32-dfsdm-adc.c | 41 ++-
1 file changed, 28
Acked-by: Olivier Moysan
On 2/13/19 3:41 PM, Wen Yang wrote:
> From: Olivier MOYSAN
> Sent: 11 February 2019 15:09
> To: Wen Yang; Arnaud POULIQUEN; Liam Girdwood; Mark Brown; Jaroslav Kysela;
> Takashi Iwai; Maxime Coquelin; Alexandre TORGUE
> Cc: alsa-de...@alsa-project.org;
Hi Wen,
On 2/9/19 11:41 AM, Wen Yang wrote:
> The of_find_device_by_node() takes a reference to the underlying device
> structure, we should release that reference.
>
> Fixes: 7dd0d835582f ("ASoC: stm32: sai: simplify sync modes management")
> Signed-off-by: Wen Yang
> ---
>
Kernel clock management:
Enable/disable I2S kernel clock on audio stream startup/shutdown.
Peripheral clock management:
Manage I2S peripheral clock power through regmap services.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_i2s.c | 44 +++-
1
Add suspend and resume sleep callbacks,
to support system low power modes.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_i2s.c | 33 ++---
1 file changed, 30 insertions(+), 3 deletions(-)
diff --git a/sound/soc/stm/stm32_i2s.c b/sound/soc/stm/stm32_i2s.c
peripheral clock power through regmap services .
Olivier Moysan (2):
ASoC: stm32: i2s: add power management
SoC: stm32: i2s: manage clock power
sound/soc/stm/stm32_i2s.c | 77 +++
1 file changed, 45 insertions(+), 32 deletions(-)
--
2.7.4
Signed-off-by: Olivier Moysan
---
sound/soc/codecs/cs42l51.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/sound/soc/codecs/cs42l51.c b/sound/soc/codecs/cs42l51.c
index eb40bff54cec..fd2bd74024c1 100644
--- a/sound/soc/codecs/cs42l51.c
+++ b/sound/soc/codecs
Add clocks properties to cs42l51 Cirrus codec,
to support master clock provider.
Signed-off-by: Olivier Moysan
---
Documentation/devicetree/bindings/sound/cs42l51.txt | 17 +
Documentation/devicetree/bindings/trivial-devices.txt | 1 -
2 files changed, 17 insertions(+), 1
add mclk provider support to stm32 sai
Signed-off-by: Olivier Moysan
---
Documentation/devicetree/bindings/sound/st,stm32-sai.txt | 7 +++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/st,stm32-sai.txt
b/Documentation/devicetree/bindings/sound/st
Add master clock generation support in STM32 SAI.
The master clock provided by SAI can be used to feed a codec.
Signed-off-by: Olivier Moysan
---
sound/soc/stm/stm32_sai.h | 3 +
sound/soc/stm/stm32_sai_sub.c | 275 --
2 files changed, 242
is computed at runtime from stream rate and mclk-fs ratio
provided in DT
mclk rate is propagated through sysclk callback to the SAI which is
mclk consumer.
The mclk rate is set exclusively to avoid concurrent rate requests on
SAI master.
Regards
Olivier
Olivier Moysan (4
Add MCLK dapm to allow configuration of cirrus CS42l51
codec as a master clock consumer.
Signed-off-by: Olivier Moysan
---
sound/soc/codecs/cs42l51.c | 8
1 file changed, 8 insertions(+)
diff --git a/sound/soc/codecs/cs42l51.c b/sound/soc/codecs/cs42l51.c
index 5080d7a3c279
On 4/24/19 5:28 PM, Fabien Dessenne wrote:
> During probe, return the "get_irq" error value instead of -ENOENT. This
> allows the driver to be deferred probed if needed.
>
> Signed-off-by: Fabien Dessenne
Acked-by: Olivier Moysan
> ---
> sound/soc/stm/stm3
Add SAI pins muxing to stm32mp157.
Signed-off-by: Olivier Moysan
---
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 73 +++
1 file changed, 73 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi
index
101 - 200 of 301 matches
Mail list logo