Re: [INTERNAL][PATCH 0/7] ASoC: stm32: Add SAI synchronization support

2017-10-19 Thread Olivier MOYSAN
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):

[INTERNAL][PATCH 7/7] ASoC: stm32: sai: Add synchronization support

2017-10-19 Thread Olivier Moysan
Add Synchronization support for STM32 SAI. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/stm32_sai.c | 160 -- sound/soc/stm/stm32_sai.h | 22 +- sound/soc/stm/stm32_sai_sub.c | 95 + 3

[INTERNAL][PATCH 7/7] ASoC: stm32: sai: Add synchronization support

2017-10-19 Thread Olivier Moysan
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

[INTERNAL][PATCH 6/7] ASoC: stm32: sai: Fix get reset controller

2017-10-19 Thread Olivier Moysan
Use devm version of reset_control_get function to manage driver removing properly. Signed-off-by: Olivier Moysan <olivier.moy...@st.com> --- 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

[INTERNAL][PATCH 6/7] ASoC: stm32: sai: Fix get reset controller

2017-10-19 Thread Olivier Moysan
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

[INTERNAL][PATCH 2/7] ASoC: stm32: sai: Move static settings to DAI init

2017-10-19 Thread Olivier Moysan
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 <olivier.moy...@st.com> --- sound/soc/stm/stm32_sai_sub.c | 23 +-- 1 file chang

[INTERNAL][PATCH 2/7] ASoC: stm32: sai: Move static settings to DAI init

2017-10-19 Thread Olivier Moysan
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

[INTERNAL][PATCH 1/7] ASoC: stm32: Add synchronization to SAI bindings

2017-10-19 Thread Olivier Moysan
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 <olivier.moy...@st.com> --- Documentation/devicetree/bindings/sound/st,stm32-sai.txt | 14 +++---

[INTERNAL][PATCH 1/7] ASoC: stm32: Add synchronization to SAI bindings

2017-10-19 Thread Olivier Moysan
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

[INTERNAL][PATCH 3/7] ASoC: stm32: sai: Fix DMA burst size

2017-10-19 Thread Olivier Moysan
Set best burst size tradeoff for 8, 16, 32 bits transfers. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- 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/s

[INTERNAL][PATCH 3/7] ASoC: stm32: sai: Fix DMA burst size

2017-10-19 Thread Olivier Moysan
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

[INTERNAL][PATCH 4/7] ASoC: stm32: sai: fix stop management in isr

2017-10-19 Thread Olivier Moysan
Add check on substream validity. Signed-off-by: Olivier Moysan <olivier.moy...@st.com> --- 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

[INTERNAL][PATCH 5/7] ASoC: stm32: sai: Remove spurious IRQs on stop

2017-10-19 Thread Olivier Moysan
Clear IRQ mask on stream stop to avoid spurious IRQs. Signed-off-by: Olivier Moysan <olivier.moy...@st.com> --- 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 8

[INTERNAL][PATCH 5/7] ASoC: stm32: sai: Remove spurious IRQs on stop

2017-10-19 Thread Olivier Moysan
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

[INTERNAL][PATCH 4/7] ASoC: stm32: sai: fix stop management in isr

2017-10-19 Thread Olivier Moysan
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

[INTERNAL][PATCH 0/7] ASoC: stm32: Add SAI synchronization support

2017-10-19 Thread Olivier Moysan
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

[INTERNAL][PATCH 0/7] ASoC: stm32: Add SAI synchronization support

2017-10-19 Thread Olivier Moysan
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

Re: [PATCH 1/2] dt-bindings: Document the STM32 SPDIFRX interface

2017-06-27 Thread Olivier MOYSAN
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 <olivier.moy...@st.c

Re: [PATCH 1/2] dt-bindings: Document the STM32 SPDIFRX interface

2017-06-27 Thread Olivier MOYSAN
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 >> --- >>

[PATCH v2 0/2] ASoC: stm32: add SPDIFRX driver

2017-06-20 Thread olivier moysan
and user data bits). DMA is used for control flow instead of interrupts to get better performances, as channel status and user data are retrieved byte per byte. v1 -> v2: - fix merge issue olivier moysan (2): ASoC: stm32: Add DT bindings for SPDIFRX interface ASoC: stm32: Add SPDIFRX supp

[PATCH v2 0/2] ASoC: stm32: add SPDIFRX driver

2017-06-20 Thread olivier moysan
and user data bits). DMA is used for control flow instead of interrupts to get better performances, as channel status and user data are retrieved byte per byte. v1 -> v2: - fix merge issue olivier moysan (2): ASoC: stm32: Add DT bindings for SPDIFRX interface ASoC: stm32: Add SPDIFRX supp

[PATCH v2 1/2] ASoC: stm32: Add DT bindings for SPDIFRX interface

2017-06-20 Thread olivier moysan
Add documentation of device tree bindings for the STM32 SPDIFRX interface. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- .../devicetree/bindings/sound/st,stm32-spdifrx.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devi

[PATCH v2 1/2] ASoC: stm32: Add DT bindings for SPDIFRX interface

2017-06-20 Thread olivier moysan
Add documentation of device tree bindings for the STM32 SPDIFRX interface. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-spdifrx.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/st,stm32

[PATCH v2 2/2] ASoC: stm32: Add SPDIFRX support

2017-06-20 Thread olivier moysan
Add SPDIFRX support to STM32. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/Kconfig | 10 + sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_spdifrx.c | 998 ++ 3 files changed, 1012 insertions(+) creat

[PATCH v2 2/2] ASoC: stm32: Add SPDIFRX support

2017-06-20 Thread olivier moysan
Add SPDIFRX support to STM32. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 10 + sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_spdifrx.c | 998 ++ 3 files changed, 1012 insertions(+) create mode 100644 sound/soc/stm

[PATCH 1/1] ASoC: stm32: change configuration flag

2017-06-19 Thread olivier moysan
Use a specific flag for SAI and I2S interfaces, instead of common flag. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/Kconfig | 19 --- sound/soc/stm/Makefile | 6 +++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/sound/s

[PATCH 1/1] ASoC: stm32: change configuration flag

2017-06-19 Thread olivier moysan
Use a specific flag for SAI and I2S interfaces, instead of common flag. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 19 --- sound/soc/stm/Makefile | 6 +++--- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/sound/soc/stm/Kconfig b/sound/soc/stm

Re: [PATCH 2/7] ASoC: stm32: change SAI configuration flag

2017-06-19 Thread Olivier MOYSAN
Hello Mark, On 06/16/2017 07:49 PM, Mark Brown wrote: > On Fri, Jun 16, 2017 at 02:15:29PM +0200, olivier moysan wrote: >> Use a specific flag for SAI interface instead >> of common stm32 asoc flag. > > This doesn't apply against current code, please check and resend. >

Re: [PATCH 2/7] ASoC: stm32: change SAI configuration flag

2017-06-19 Thread Olivier MOYSAN
Hello Mark, On 06/16/2017 07:49 PM, Mark Brown wrote: > On Fri, Jun 16, 2017 at 02:15:29PM +0200, olivier moysan wrote: >> Use a specific flag for SAI interface instead >> of common stm32 asoc flag. > > This doesn't apply against current code, please check and resend. >

[PATCH 2/2] ASoC: stm32: Add SPDIFRX support

2017-06-16 Thread olivier moysan
Add SPDIFRX support to STM32. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/Kconfig | 10 + sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_spdifrx.c | 998 ++ sound/soc/stm/stm32_spdifrx.h | 224 +++

[PATCH 1/2] dt-bindings: Document the STM32 SPDIFRX interface

2017-06-16 Thread olivier moysan
This adds documentation of device tree bindings for the STM32 SPDIFRX interface. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- .../devicetree/bindings/sound/st,stm32-spdifrx.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devi

[PATCH 2/2] ASoC: stm32: Add SPDIFRX support

2017-06-16 Thread olivier moysan
Add SPDIFRX support to STM32. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 10 + sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_spdifrx.c | 998 ++ sound/soc/stm/stm32_spdifrx.h | 224 ++ 4 files changed, 1236

[PATCH 1/2] dt-bindings: Document the STM32 SPDIFRX interface

2017-06-16 Thread olivier moysan
This adds documentation of device tree bindings for the STM32 SPDIFRX interface. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-spdifrx.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/st

[PATCH 0/2] ASoC: stm32: add SPDIFRX driver

2017-06-16 Thread olivier moysan
and user data bits). DMA is used for control flow instead of interrupts to get better performances, as channel status and user data are retrieved byte per byte. Note: This patch-set depends on "change SAI configuration flag" patch, which introduces a change on Kconfig file. olivier moysan

[PATCH 0/2] ASoC: stm32: add SPDIFRX driver

2017-06-16 Thread olivier moysan
and user data bits). DMA is used for control flow instead of interrupts to get better performances, as channel status and user data are retrieved byte per byte. Note: This patch-set depends on "change SAI configuration flag" patch, which introduces a change on Kconfig file. olivier moysan

[PATCH 5/7] ASoC: stm32: sai: change stop sequence

2017-06-16 Thread olivier moysan
Disable SAI before stopping DMA data transfers. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/stm32_sai_sub.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 24b8874..9

[PATCH 6/7] ASoC: stm32: sai: fix clock management

2017-06-16 Thread olivier moysan
Allow peripheral clock enable/disable on regmap accesses. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/stm32_sai_sub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 9

[PATCH 3/7] ASoC: stm32: sai: typo fixes

2017-06-16 Thread olivier moysan
Fix typos in sai driver. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/stm32_sai.c | 2 +- sound/soc/stm/stm32_sai.h | 1 - sound/soc/stm/stm32_sai_sub.c | 28 ++-- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a

[PATCH 5/7] ASoC: stm32: sai: change stop sequence

2017-06-16 Thread olivier moysan
Disable SAI before stopping DMA data transfers. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai_sub.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 24b8874..97b69a3 100644 --- a/sound/soc

[PATCH 6/7] ASoC: stm32: sai: fix clock management

2017-06-16 Thread olivier moysan
Allow peripheral clock enable/disable on regmap accesses. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai_sub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 97b69a3..2466af0 100644

[PATCH 3/7] ASoC: stm32: sai: typo fixes

2017-06-16 Thread olivier moysan
Fix typos in sai driver. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai.c | 2 +- sound/soc/stm/stm32_sai.h | 1 - sound/soc/stm/stm32_sai_sub.c | 28 ++-- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/sound/soc/stm/stm32_sai.c b

[PATCH 0/2] ASoC: stm32: sai: Add H7 support

2017-06-16 Thread olivier moysan
This patch-set adds support of the Serial Audio Interface (SAI) IP on H7 STM32 platform family. olivier moysan (2): dt-bindings: stm32: add h7 support for sai ASoC: stm32: sai: add h7 support .../devicetree/bindings/sound/st,stm32-sai.txt | 18 ++--- sound/soc/stm/stm32_sai.c

[PATCH 0/2] ASoC: stm32: sai: Add H7 support

2017-06-16 Thread olivier moysan
This patch-set adds support of the Serial Audio Interface (SAI) IP on H7 STM32 platform family. olivier moysan (2): dt-bindings: stm32: add h7 support for sai ASoC: stm32: sai: add h7 support .../devicetree/bindings/sound/st,stm32-sai.txt | 18 ++--- sound/soc/stm/stm32_sai.c

[PATCH 7/7] ASoC: stm32: sai: manage master clock

2017-06-16 Thread olivier moysan
Disable master clock by default, and activate it only when requested. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/stm32_sai_sub.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c

[PATCH 7/7] ASoC: stm32: sai: manage master clock

2017-06-16 Thread olivier moysan
Disable master clock by default, and activate it only when requested. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai_sub.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 2466af0..ce48c02 100644

[PATCH 2/7] ASoC: stm32: change SAI configuration flag

2017-06-16 Thread olivier moysan
Use a specific flag for SAI interface instead of common stm32 asoc flag. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/Kconfig | 10 +++--- sound/soc/stm/Makefile | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/sound/soc/stm/Kco

[PATCH 2/7] ASoC: stm32: change SAI configuration flag

2017-06-16 Thread olivier moysan
Use a specific flag for SAI interface instead of common stm32 asoc flag. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 10 +++--- sound/soc/stm/Makefile | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/sound/soc/stm/Kconfig b/sound/soc/stm/Kconfig index

[PATCH 2/2] ASoC: stm32: sai: add h7 support

2017-06-16 Thread olivier moysan
Add support of SAI on STM32H7 family. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/stm32_sai.c | 13 +- sound/soc/stm/stm32_sai.h | 72 ++--- sound/soc/stm/stm32_sai_sub.c | 92 --- 3

[PATCH 1/2] dt-bindings: stm32: add h7 support for sai

2017-06-16 Thread olivier moysan
Document device tree bindings for STM32H7 SAI. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- .../devicetree/bindings/sound/st,stm32-sai.txt | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/st

[PATCH 1/2] dt-bindings: stm32: add h7 support for sai

2017-06-16 Thread olivier moysan
Document device tree bindings for STM32H7 SAI. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-sai.txt | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/st,stm32-sai.txt b

[PATCH 2/2] ASoC: stm32: sai: add h7 support

2017-06-16 Thread olivier moysan
Add support of SAI on STM32H7 family. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai.c | 13 +- sound/soc/stm/stm32_sai.h | 72 ++--- sound/soc/stm/stm32_sai_sub.c | 92 --- 3 files changed, 155

[PATCH 4/7] ASoC: stm32: sai: remove spurious trace

2017-06-16 Thread olivier moysan
Remove spurious trace in sai driver. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/stm32_sai_sub.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index d7aeed3..24b8874 100644 --- a/sound/s

[PATCH 0/7] ASoC: stm32: sai: misc fixes

2017-06-16 Thread olivier moysan
This patch-set gathers various fixes on STM32 SAI driver. olivier moysan (7): dt-bindings: stm32: sai: fix DT example ASoC: stm32: change SAI configuration flag ASoC: stm32: sai: typo fixes ASoC: stm32: sai: remove spurious trace ASoC: stm32: sai: change stop sequence ASoC: stm32: sai

[PATCH 4/7] ASoC: stm32: sai: remove spurious trace

2017-06-16 Thread olivier moysan
Remove spurious trace in sai driver. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_sai_sub.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index d7aeed3..24b8874 100644 --- a/sound/soc/stm/stm32_sai_sub.c +++ b/sound

[PATCH 0/7] ASoC: stm32: sai: misc fixes

2017-06-16 Thread olivier moysan
This patch-set gathers various fixes on STM32 SAI driver. olivier moysan (7): dt-bindings: stm32: sai: fix DT example ASoC: stm32: change SAI configuration flag ASoC: stm32: sai: typo fixes ASoC: stm32: sai: remove spurious trace ASoC: stm32: sai: change stop sequence ASoC: stm32: sai

[PATCH 1/7] dt-bindings: stm32: sai: fix DT example

2017-06-16 Thread olivier moysan
Correct the device tree example. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- .../devicetree/bindings/sound/st,stm32-sai.txt | 25 +- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/st,stm32-sai.

[PATCH 1/7] dt-bindings: stm32: sai: fix DT example

2017-06-16 Thread olivier moysan
Correct the device tree example. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-sai.txt | 25 +- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/st,stm32-sai.txt b/Documentation/devicetree

Re: [PATCH 14/15] sound: stm32: use devm_of_platform_populate()

2017-05-30 Thread Olivier MOYSAN
Acked-by: Olivier Moysan <olivier.moy...@st.com>

Re: [PATCH 14/15] sound: stm32: use devm_of_platform_populate()

2017-05-30 Thread Olivier MOYSAN
Acked-by: Olivier Moysan

Re: [PATCH v4 2/3] ASoC: stm32: Add I2S driver

2017-05-22 Thread Olivier MOYSAN
Hello Mark, Thanks, for applying the patches. On 05/19/2017 07:33 PM, Mark Brown wrote: > On Thu, May 18, 2017 at 05:19:52PM +0200, olivier moysan wrote: > > This looks good so I'm going to apply it, a few things below though - > can you please send a followup patch f

Re: [PATCH v4 2/3] ASoC: stm32: Add I2S driver

2017-05-22 Thread Olivier MOYSAN
Hello Mark, Thanks, for applying the patches. On 05/19/2017 07:33 PM, Mark Brown wrote: > On Thu, May 18, 2017 at 05:19:52PM +0200, olivier moysan wrote: > > This looks good so I'm going to apply it, a few things below though - > can you please send a followup patch f

[PATCH v4 1/3] dt-bindings: Document STM32 I2S bindings

2017-05-18 Thread olivier moysan
Add documentation of device tree bindings for STM32 SPI/I2S. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- .../devicetree/bindings/sound/st,stm32-i2s.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/so

[PATCH v4 1/3] dt-bindings: Document STM32 I2S bindings

2017-05-18 Thread olivier moysan
Add documentation of device tree bindings for STM32 SPI/I2S. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-i2s.txt | 62 ++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/st,stm32-i2s.txt diff

[PATCH v4 0/3] ASoC: Add STM32 I2S support

2017-05-18 Thread olivier moysan
justified standard: right_j - PCM short: dsp_a PCM long format is not exposed as it does not match supported ASoC standards. v3 -> v4 - update example in dt bindings olivier moysan (3): dt-bindings: Document STM32 I2S bindings ASoC: stm32: Add I2S driver ASoC: stm32: Add full dup

[PATCH v4 0/3] ASoC: Add STM32 I2S support

2017-05-18 Thread olivier moysan
justified standard: right_j - PCM short: dsp_a PCM long format is not exposed as it does not match supported ASoC standards. v3 -> v4 - update example in dt bindings olivier moysan (3): dt-bindings: Document STM32 I2S bindings ASoC: stm32: Add I2S driver ASoC: stm32: Add full dup

[PATCH v4 3/3] ASoC: stm32: Add full duplex support to i2s

2017-05-18 Thread olivier moysan
This patch allows to use i2s interface either as single audio path (rx or tx), or bidirectional audio path. This patch is added separately, as the driver does not follow recommended use of the interface, to support this configuration. Signed-off-by: olivier moysan <olivier.moy...@st.

[PATCH v4 3/3] ASoC: stm32: Add full duplex support to i2s

2017-05-18 Thread olivier moysan
This patch allows to use i2s interface either as single audio path (rx or tx), or bidirectional audio path. This patch is added separately, as the driver does not follow recommended use of the interface, to support this configuration. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_i2s.c

[PATCH v4 2/3] ASoC: stm32: Add I2S driver

2017-05-18 Thread olivier moysan
Add I2S ASoC driver for STM32. This version of the driver supports only exclusive playback and capture interface. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/Kconfig | 2 +- sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_i2s.c

[PATCH v4 2/3] ASoC: stm32: Add I2S driver

2017-05-18 Thread olivier moysan
Add I2S ASoC driver for STM32. This version of the driver supports only exclusive playback and capture interface. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 2 +- sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_i2s.c | 941

Re: [PATCH v3 1/3] dt-bindings: Document STM32 I2S bindings

2017-05-18 Thread Olivier MOYSAN
Hello Rob, Thanks for your comment. On 05/13/2017 02:17 AM, Rob Herring wrote: > On Thu, May 11, 2017 at 11:45:02AM +0200, olivier moysan wrote: >> Add documentation of device tree bindings for STM32 SPI/I2S. >> >> Signed-off-by: olivier moysan <olivier.moy...@st.com>

Re: [PATCH v3 1/3] dt-bindings: Document STM32 I2S bindings

2017-05-18 Thread Olivier MOYSAN
Hello Rob, Thanks for your comment. On 05/13/2017 02:17 AM, Rob Herring wrote: > On Thu, May 11, 2017 at 11:45:02AM +0200, olivier moysan wrote: >> Add documentation of device tree bindings for STM32 SPI/I2S. >> >> Signed-off-by: olivier moysan >> --- >> .../d

[PATCH v3 1/3] dt-bindings: Document STM32 I2S bindings

2017-05-11 Thread olivier moysan
Add documentation of device tree bindings for STM32 SPI/I2S. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- .../devicetree/bindings/sound/st,stm32-i2s.txt | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/so

[PATCH v3 1/3] dt-bindings: Document STM32 I2S bindings

2017-05-11 Thread olivier moysan
Add documentation of device tree bindings for STM32 SPI/I2S. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-i2s.txt | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/st,stm32-i2s.txt diff

[PATCH v3 2/3] ASoC: stm32: Add I2S driver

2017-05-11 Thread olivier moysan
Add I2S ASoC driver for STM32. This version of the driver supports only exclusive playback and capture interface. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/Kconfig | 2 +- sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_i2s.c

[PATCH v3 2/3] ASoC: stm32: Add I2S driver

2017-05-11 Thread olivier moysan
Add I2S ASoC driver for STM32. This version of the driver supports only exclusive playback and capture interface. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 2 +- sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_i2s.c | 941

[PATCH v3 0/3] Add I2S driver

2017-05-11 Thread olivier moysan
justified standard: right_j - PCM short: dsp_a PCM long format is not exposed as it does not match supported ASoC standards. v2 -> v3 - fix spinlock handling olivier moysan (3): dt-bindings: Document STM32 I2S bindings ASoC: stm32: Add I2S driver ASoC: stm32: Add full duplex supp

[PATCH v3 0/3] Add I2S driver

2017-05-11 Thread olivier moysan
justified standard: right_j - PCM short: dsp_a PCM long format is not exposed as it does not match supported ASoC standards. v2 -> v3 - fix spinlock handling olivier moysan (3): dt-bindings: Document STM32 I2S bindings ASoC: stm32: Add I2S driver ASoC: stm32: Add full duplex supp

[PATCH v3 3/3] ASoC: stm32: Add full duplex support to i2s

2017-05-11 Thread olivier moysan
This patch allows to use i2s interface either as single audio path (rx or tx), or bidirectional audio path. This patch is added separately, as the driver does not follow recommended use of the interface, to support this configuration. Signed-off-by: olivier moysan <olivier.moy...@st.

[PATCH v3 3/3] ASoC: stm32: Add full duplex support to i2s

2017-05-11 Thread olivier moysan
This patch allows to use i2s interface either as single audio path (rx or tx), or bidirectional audio path. This patch is added separately, as the driver does not follow recommended use of the interface, to support this configuration. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_i2s.c

[PATCH v2 2/3] ASoC: stm32: Add I2S driver

2017-05-10 Thread olivier moysan
Add I2S ASoC driver for STM32. This version of the driver supports only exclusive playback and capture interface. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/stm/Kconfig | 2 +- sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_i2s.c

[PATCH v2 2/3] ASoC: stm32: Add I2S driver

2017-05-10 Thread olivier moysan
Add I2S ASoC driver for STM32. This version of the driver supports only exclusive playback and capture interface. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 2 +- sound/soc/stm/Makefile| 4 + sound/soc/stm/stm32_i2s.c | 941

[PATCH v2 1/3] dt-bindings: Document STM32 I2S bindings

2017-05-10 Thread olivier moysan
Add documentation of device tree bindings for STM32 SPI/I2S. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- .../devicetree/bindings/sound/st,stm32-i2s.txt | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/so

[PATCH v2 1/3] dt-bindings: Document STM32 I2S bindings

2017-05-10 Thread olivier moysan
Add documentation of device tree bindings for STM32 SPI/I2S. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-i2s.txt | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/st,stm32-i2s.txt diff

[PATCH v2 0/3] Add I2S driver

2017-05-10 Thread olivier moysan
justified standard: right_j - PCM short: dsp_a PCM long format is not exposed as it does not match supported ASoC standards. olivier moysan (3): dt-bindings: Document STM32 I2S bindings ASoC: stm32: Add I2S driver ASoC: stm32: Add full duplex support to i2s .../devicetree/bindings/sound/st

[PATCH v2 3/3] ASoC: stm32: Add full duplex support to i2s

2017-05-10 Thread olivier moysan
This patch allows to use i2s interface either as single audio path (rx or tx), or bidirectional audio path. This patch is added separately, as the driver does not follow recommended use of the interface, to support this configuration. Signed-off-by: olivier moysan <olivier.moy...@st.

[PATCH v2 0/3] Add I2S driver

2017-05-10 Thread olivier moysan
justified standard: right_j - PCM short: dsp_a PCM long format is not exposed as it does not match supported ASoC standards. olivier moysan (3): dt-bindings: Document STM32 I2S bindings ASoC: stm32: Add I2S driver ASoC: stm32: Add full duplex support to i2s .../devicetree/bindings/sound/st

[PATCH v2 3/3] ASoC: stm32: Add full duplex support to i2s

2017-05-10 Thread olivier moysan
This patch allows to use i2s interface either as single audio path (rx or tx), or bidirectional audio path. This patch is added separately, as the driver does not follow recommended use of the interface, to support this configuration. Signed-off-by: olivier moysan --- sound/soc/stm/stm32_i2s.c

Re: [PATCH v3 1/2] ASoC: stm32: add bindings for SAI

2017-05-02 Thread Olivier MOYSAN
Hello Rob, On 04/28/2017 10:53 PM, Rob Herring wrote: > On Mon, Apr 10, 2017 at 05:19:55PM +0200, olivier moysan wrote: >> This patch adds documentation of device tree bindings for the >> STM32 SAI ASoC driver. >> >> Signed-off-by: olivier moysan <olivier.moy...@st.

Re: [PATCH v3 1/2] ASoC: stm32: add bindings for SAI

2017-05-02 Thread Olivier MOYSAN
Hello Rob, On 04/28/2017 10:53 PM, Rob Herring wrote: > On Mon, Apr 10, 2017 at 05:19:55PM +0200, olivier moysan wrote: >> This patch adds documentation of device tree bindings for the >> STM32 SAI ASoC driver. >> >> Signed-off-by: olivier moysan >> --- >>

[PATCH v4 1/2] ASoC: stm32: add bindings for SAI

2017-04-11 Thread olivier moysan
This patch adds documentation of device tree bindings for the STM32 SAI ASoC driver. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- .../devicetree/bindings/sound/st,stm32-sai.txt | 89 ++ 1 file changed, 89 insertions(+) create mode 100644 Documen

[PATCH v4 1/2] ASoC: stm32: add bindings for SAI

2017-04-11 Thread olivier moysan
This patch adds documentation of device tree bindings for the STM32 SAI ASoC driver. Signed-off-by: olivier moysan --- .../devicetree/bindings/sound/st,stm32-sai.txt | 89 ++ 1 file changed, 89 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/st

[PATCH v4 2/2] ASoC: stm32: add SAI driver

2017-04-11 Thread olivier moysan
This patch implements SAI ASoC driver for STM32. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/Kconfig | 1 + sound/soc/Makefile| 1 + sound/soc/stm/Kconfig | 8 + sound/soc/stm/Makefile| 6 + sound/soc/stm/stm32

[PATCH v4 2/2] ASoC: stm32: add SAI driver

2017-04-11 Thread olivier moysan
This patch implements SAI ASoC driver for STM32. Signed-off-by: olivier moysan --- sound/soc/Kconfig | 1 + sound/soc/Makefile| 1 + sound/soc/stm/Kconfig | 8 + sound/soc/stm/Makefile| 6 + sound/soc/stm/stm32_sai.c | 115 ++ sound/soc

[PATCH v4 0/2] Add STM32 SAI support

2017-04-11 Thread olivier moysan
| |B registers | || || ++ || |+--+| || ++ v3 -> v4 Apply minor changes from Peter review olivier moysan (2): ASoC: stm32: add bindings for SAI ASoC: stm32: add SAI driver .../devicetree/bindings/sound/st,stm32-sai.txt | 89 +

[PATCH v4 0/2] Add STM32 SAI support

2017-04-11 Thread olivier moysan
| |B registers | || || ++ || |+--+| || ++ v3 -> v4 Apply minor changes from Peter review olivier moysan (2): ASoC: stm32: add bindings for SAI ASoC: stm32: add SAI driver .../devicetree/bindings/sound/st,stm32-sai.txt | 89 +

[PATCH v3 0/2] Add STM32 SAI support

2017-04-10 Thread olivier moysan
| |B registers | || || ++ || |+--+| || ++ v3: correct DT bindings - remove aliases - use audio graph card olivier moysan (2): ASoC: stm32: add bindings for SAI ASoC: stm32: add SAI driver .../devicetree/bindings/sound/st,stm32-sai.txt |

[PATCH v3 0/2] Add STM32 SAI support

2017-04-10 Thread olivier moysan
| |B registers | || || ++ || |+--+| || ++ v3: correct DT bindings - remove aliases - use audio graph card olivier moysan (2): ASoC: stm32: add bindings for SAI ASoC: stm32: add SAI driver .../devicetree/bindings/sound/st,stm32-sai.txt |

[PATCH v3 2/2] ASoC: stm32: add SAI driver

2017-04-10 Thread olivier moysan
This patch implements SAI ASoC driver for STM32. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- sound/soc/Kconfig | 1 + sound/soc/Makefile| 1 + sound/soc/stm/Kconfig | 8 + sound/soc/stm/Makefile| 6 + sound/soc/stm/stm32

[PATCH v3 2/2] ASoC: stm32: add SAI driver

2017-04-10 Thread olivier moysan
This patch implements SAI ASoC driver for STM32. Signed-off-by: olivier moysan --- sound/soc/Kconfig | 1 + sound/soc/Makefile| 1 + sound/soc/stm/Kconfig | 8 + sound/soc/stm/Makefile| 6 + sound/soc/stm/stm32_sai.c | 115 ++ sound/soc

[PATCH v3 1/2] ASoC: stm32: add bindings for SAI

2017-04-10 Thread olivier moysan
This patch adds documentation of device tree bindings for the STM32 SAI ASoC driver. Signed-off-by: olivier moysan <olivier.moy...@st.com> --- .../devicetree/bindings/sound/st,stm32-sai.txt | 89 ++ 1 file changed, 89 insertions(+) create mode 100644 Documen

<    1   2   3   4   >