There's a pll4_audio_div clock, an extra divider for pll4, missing
in current clock tree, thus add it.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
.../devicetree/bindings/clock/imx6q-clock.txt |1 +
arch/arm/mach-imx/clk-imx6q.c |9 +
2 files
* fifo mode. To support this mode, we need to first update sdma sciprt
* list, and then enable dual fifo BIT in SSI driver, and last update DT
* bindings of i.MX series.
Nicolin Chen (4):
dma: imx-sdma: Add sdma firmware version 2 support
dma: imx-sdma: Add new dma type for ssi dual fifo
By enabling dual fifo mode, it would allow SSI enter a better performance
to transimit/receive data without occasional hardware underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
sound/soc/fsl/fsl_ssi.c | 27 ++-
1 file changed, 26 insertions(+), 1
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
arch/arm/boot/dts/imx51.dtsi | 4 ++--
arch/arm/boot/dts/imx53.dtsi | 4 ++--
arch/arm/boot/dts/imx6qdl.dtsi | 12 ++--
arch/arm/boot/dts/imx6sl.dtsi
This patch adds a new DMA_TYPE for SSI dual FIFO script, included
in SDMA firmware version 2. This script would allow SSI use dual
fifo mode to transimit/receive data without occasional hardware
underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
Documentation/devicetree
On i.MX5/6 series, SDMA is using new version firmware to support SSI
dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
drivers/dma/imx-sdma.c | 15 ++-
include/linux/platform_data/dma-imx-sdma.h
On Fri, Nov 08, 2013 at 06:49:32PM +0800, Nicolin Chen wrote:
* ! This series of patches has a direct dependency between them. When
* ! applying them, we need to apply to one single branch. Otherwise,
* ! it would break currect branches.
Changelog
v4:
* PATCH-3: Add period size
for the last two patches.
v1:
* SSI can reduce hardware overrun/underrun possibility when using dual
* fifo mode. To support this mode, we need to first update sdma sciprt
* list, and then enable dual fifo BIT in SSI driver, and last update DT
* bindings of i.MX series.
Nicolin Chen (4):
dma: imx
On i.MX5/6 series, SDMA is using new version firmware to support SSI
dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
drivers/dma/imx-sdma.c | 15 ++-
include/linux/platform_data/dma-imx-sdma.h
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
arch/arm/boot/dts/imx51.dtsi | 4 ++--
arch/arm/boot/dts/imx53.dtsi | 4 ++--
arch/arm/boot/dts/imx6qdl.dtsi | 12 ++--
arch/arm/boot/dts/imx6sl.dtsi
By enabling dual fifo mode, it would allow SSI enter a better performance
to transimit/receive data without occasional hardware underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
sound/soc/fsl/fsl_ssi.c | 27 ++-
1 file changed, 26 insertions(+), 1
This patch adds a new DMA_TYPE for SSI dual FIFO script, included
in SDMA firmware version 2. This script would allow SSI use dual
fifo mode to transimit/receive data without occasional hardware
underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
Documentation/devicetree
),
sgtl5000-supplies);
+
Ditto
Best regards,
Nicolin Chen
ldo_regulator_remove(codec);
return 0;
--
1.8.0
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
Hi all,
I'm sorry to push this. But this series has been an orphan for a while.
Could any one please receive and foster it?
Thank you.
Nicolin Chen
On Wed, Nov 13, 2013 at 10:55:23PM +0800, Nicolin Chen wrote:
* ! This series of patches has a direct dependency between them. When
On Mon, Dec 02, 2013 at 11:56:17AM +, Mark Brown wrote:
On Sat, Nov 16, 2013 at 12:25:29AM +0800, Nicolin Chen wrote:
The normal mode of SSI allows it to send/receive data to/from the first
slot of each period. So we can use this normal mode to trick I2S signal
by puting/getting data
, and then enable dual fifo BIT in SSI driver, and last update DT
* bindings of i.MX series.
Nicolin Chen (4):
dma: imx-sdma: Add sdma firmware version 2 support
dma: imx-sdma: Add new dma type for ssi dual fifo script
ASoC: fsl_ssi: Add dual fifo mode support
ARM: dts: imx: use dual-fifo
On i.MX5/6 series, SDMA is using new version firmware to support SSI
dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
drivers/dma/imx-sdma.c | 15 ++-
include/linux/platform_data/dma-imx-sdma.h
This patch adds a new DMA_TYPE for SSI dual FIFO script, included
in SDMA firmware version 2. This script would allow SSI use dual
fifo mode to transimit/receive data without occasional hardware
underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
Documentation/devicetree
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
arch/arm/boot/dts/imx51.dtsi | 4 ++--
arch/arm/boot/dts/imx53.dtsi | 4 ++--
arch/arm/boot/dts/imx6qdl.dtsi | 12 ++--
arch/arm/boot/dts/imx6sl.dtsi
By enabling dual fifo mode, it would allow SSI enter a better performance
to transimit/receive data without occasional hardware underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
sound/soc/fsl/fsl_ssi.c | 27 ++-
1 file changed, 26 insertions(+), 1
possibility when using dual
* fifo mode. To support this mode, we need to first update sdma sciprt
* list, and then enable dual fifo BIT in SSI driver, and last update DT
* bindings of i.MX series.
Nicolin Chen (4):
dma: imx-sdma: Add sdma firmware version 2 support
dma: imx-sdma: Add new dma
On i.MX5/6 series, SDMA is using new version firmware to support SSI
dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it.
Signed-off-by: Nicolin Chen b42...@freescale.com
Acked-by: Sascha Hauer s.ha...@pengutronix.de
---
drivers/dma/imx-sdma.c | 15
By enabling dual fifo mode, it would allow SSI enter a better performance
to transimit/receive data without occasional hardware underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
Acked-by: Timur Tabi ti...@tabi.org
Acked-by: Mark Brown broo...@linaro.org
---
sound/soc/fsl
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series.
Signed-off-by: Nicolin Chen b42...@freescale.com
Acked-by: Shawn Guo shawn@linaro.org
---
arch/arm/boot/dts/imx51.dtsi | 4 ++--
arch/arm/boot/dts/imx53.dtsi | 4 ++--
arch/arm/boot/dts/imx6qdl.dtsi | 12
This patch adds a new DMA_TYPE for SSI dual FIFO script, included
in SDMA firmware version 2. This script would allow SSI use dual
fifo mode to transimit/receive data without occasional hardware
underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
Acked-by: Kumar Gala ga
(0).
Signed-off-by: Nicolin Chen b42...@freescale.com
---
arch/arm/boot/dts/imx6qdl.dtsi | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index 6e096ca..6b76e55 100644
--- a/arch/arm/boot
The normal mode of SSI allows it to send/receive data to/from the first
slot of each period. So we can use this normal mode to trick I2S signal
by puting/getting data to/from the first slot only (the left channel)
so as to support monaural audio playback and recording.
Signed-off-by: Nicolin Chen
i.MX platforms,
just currently I don't have those boards so I drop their changes for now.
Nicolin Chen (2):
ARM: dts: imx: specify the value of audmux pinctrl instead of
0x8000
ASoC: fsl_ssi: Add monaural audio support for non-ac97 interface
arch/arm/boot/dts/imx6qdl.dtsi | 22
Hi Shawn,
On Fri, Nov 15, 2013 at 11:02:49AM +0800, Shawn Guo wrote:
On Thu, Nov 14, 2013 at 07:07:08PM +0800, Nicolin Chen wrote:
This series of patches need to be applied into one single tree because
the second patch depends on the first one. Without it, SSI would playback
constant
On Fri, Nov 15, 2013 at 11:22:52AM +0800, Shawn Guo wrote:
On Fri, Nov 15, 2013 at 10:59:57AM +0800, Nicolin Chen wrote:
Hi Shawn,
On Fri, Nov 15, 2013 at 11:02:49AM +0800, Shawn Guo wrote:
On Thu, Nov 14, 2013 at 07:07:08PM +0800, Nicolin Chen wrote:
This series of patches need
On Fri, Nov 15, 2013 at 02:42:01PM +0800, Shawn Guo wrote:
On Thu, Nov 14, 2013 at 07:07:09PM +0800, Nicolin Chen wrote:
We must specify the value of audmux pinctrl if we want to use pinctrl_pm().
Thus change bypass value 0x8000 to what we exactly need.
This patch also seperately
,
Nicolin Chen
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
The normal mode of SSI allows it to send/receive data to/from the first
slot of each period. So we can use this normal mode to trick I2S signal
by puting/getting data to/from the first slot only (the left channel)
so as to support monaural audio playback and recording.
Signed-off-by: Nicolin Chen
Although there's no direct relationship between any of these three patches,
I recommend to apply them in order so as to circumvent merging conflicts.
Nicolin Chen (3):
ASoC: fsl: imx-wm8962: Don't update bias_level in machine driver
ASoC: fsl: imx-wm8962: Grant hw_params/free() permission
the bypass path feature, we make both set_bias_level() and hw_xxx()
ways coexist.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
sound/soc/fsl/imx-wm8962.c | 136 -
1 file changed, 86 insertions(+), 50 deletions(-)
diff --git a/sound/soc/fsl/imx
If we update it here, the set_bias_level() of Codec driver won't be normally
called and we will then miss some essential procedures in set_bias_level() of
the Codec driver. Thus drop it.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
sound/soc/fsl/imx-wm8962.c | 2 --
1 file changed, 2
detection feature and switchs I/O
routes accordingly. Meanwhile, for those monaural input cases, we also turn on
the ADC monomix features of WM8962 if needed.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
.../devicetree/bindings/sound/imx-audio-wm8962.txt | 8 +
Documentation/devicetree
This patch adds support for the Cirrus Logic CS42888 Audio CODEC that
has four 24-bit A/D and eight 24-bit D/A converters.
[ CS42888 supports both I2C and SPI control ports. As initial patch,
this patch only adds the support for I2C. ]
Signed-off-by: Nicolin Chen guangyu.c...@freescale.com
On Mon, Feb 24, 2014 at 08:30:11PM +0900, Mark Brown wrote:
On Mon, Feb 24, 2014 at 02:55:29PM +0800, Nicolin Chen wrote:
This patch adds support for the Cirrus Logic CS42888 Audio CODEC that
has four 24-bit A/D and eight 24-bit D/A converters.
Looks generally good, some fairly small nits
.
+ if (!IS_ERR(cs42888-clk))
+ clk_disable_unprepare(cs42888-clk);
Does the device work without MCLK?
Yes, MCLK is required. If you can’t get the clock you should error out.
Will refine it as you suggest.
Thank you for the comments.
Nicolin Chen
--
To unsubscribe from
SoC (DAI master) so it could
be totally controlled by CPU DAI driver, ESAI for example has its own
dividers to derive the HCKT clock (MCLK for Tx) from ahb clock in SoC
clock tree, in which case we might not easily pass a valid clock phandle
via DT. (RFC to this thought.)
Thank you,
Nicolin Chen
On Mon, Feb 24, 2014 at 04:32:06PM +, Austin, Brian wrote:
On Feb 24, 2014, at 10:06 AM, Nicolin Chen guangyu.c...@freescale.com wrote:
On Mon, Feb 24, 2014 at 03:52:24PM +, Austin, Brian wrote:
+if (!IS_ERR(cs42888-clk))
+clk_disable_unprepare(cs42888
On Tue, Feb 25, 2014 at 09:00:27AM +0900, Mark Brown wrote:
On Tue, Feb 25, 2014 at 12:06:49AM +0800, Nicolin Chen wrote:
On Mon, Feb 24, 2014 at 03:52:24PM +, Austin, Brian wrote:
Wait...Regarding this clock part, I just forgot the reason I put the code:
385 cs42888-clk
On Mon, Feb 24, 2014 at 06:54:09PM +0100, Lars-Peter Clausen wrote:
Hi,
Couple of trivial things.
Will fix them all.
Thanks a lot,
Nicolin Chen
On 02/24/2014 07:55 AM, Nicolin Chen wrote:
[...]
+config SND_SOC_CS42888
+tristate Cirrus Logic CS42888 CODEC
+depends on I2C
On Tue, Feb 25, 2014 at 12:09:47PM +0900, Mark Brown wrote:
On Tue, Feb 25, 2014 at 10:38:41AM +0800, Nicolin Chen wrote:
Hmm...my words might not be so clear last time: we have to handle the
dividers
of ESAI in ESAI driver because the dividers is in the ESAI's IP, not in the
SoC
On Tue, Feb 25, 2014 at 12:39:29PM +0900, Mark Brown wrote:
On Tue, Feb 25, 2014 at 11:13:14AM +0800, Nicolin Chen wrote:
On Tue, Feb 25, 2014 at 12:09:47PM +0900, Mark Brown wrote:
We should be able to arrange to have the ESAI be a clock provider
shouldn't we? If the clocks need
On Tue, Feb 25, 2014 at 12:52:32PM +0900, Mark Brown wrote:
On Tue, Feb 25, 2014 at 11:46:36AM +0800, Nicolin Chen wrote:
On Tue, Feb 25, 2014 at 12:39:29PM +0900, Mark Brown wrote:
So register it from the ESAI driver then.
Then I think I need to find a way to pass the clock to CODEC
On Tue, Feb 25, 2014 at 12:54:04AM -0300, Fabio Estevam wrote:
Hi Nicolin,
On Tue, Feb 25, 2014 at 12:46 AM, Nicolin Chen
guangyu.c...@freescale.com wrote:
So register it from the ESAI driver then.
Then I think I need to find a way to pass the clock to CODEC driver...
Does
This patch adds support for the Cirrus Logic CS42888 Audio CODEC that
has four 24-bit A/D and eight 24-bit D/A converters.
[ CS42888 supports both I2C and SPI control ports. As initial patch,
this patch only adds the support for I2C. ]
Signed-off-by: Nicolin Chen guangyu.c...@freescale.com
On Tue, Mar 11, 2014 at 11:30:53AM +, Mark Rutland wrote:
On Tue, Mar 11, 2014 at 11:19:51AM +, Nicolin Chen wrote:
This patch adds support for the Cirrus Logic CS42888 Audio CODEC that
has four 24-bit A/D and eight 24-bit D/A converters.
[ CS42888 supports both I2C and SPI
This patch adds support for the Cirrus Logic CS42888 Audio CODEC that
has four 24-bit A/D and eight 24-bit D/A converters.
[ CS42888 supports both I2C and SPI control ports. As initial patch,
this patch only adds the support for I2C. ]
Signed-off-by: Nicolin Chen guangyu.c...@freescale.com
, it'll
make one of dai work in an incorrect mode.
Thus this patch fixes it by overwriting the DAIFMT_MASTER bit of cpu_dai-fmt
with the one of codec_dai-fmt since we defined DAIFMT_MASTER basing on CODEC
at the first place.
Signed-off-by: Nicolin Chen guangyu.c...@freescale.com
---
sound/soc
, I'll send the CS42888 part
first by the end of the day and we can add CS42488 later.
Thanks all,
Nicolin Chen
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
On Tue, Mar 11, 2014 at 01:25:53PM +, Mark Brown wrote:
On Tue, Mar 11, 2014 at 08:54:32PM +0800, Nicolin Chen wrote:
Adding Jyri who's been looking at this as well but not added anyone else
working on simple-card so you might've missed his mails.
It's pretty fair to do
Hi Brian,
On Wed, Mar 12, 2014 at 02:05:00AM +, Austin, Brian wrote:
On Mar 11, 2014, at 13:46, Mark Brown broo...@kernel.org wrote:
On Tue, Mar 11, 2014 at 04:55:58PM +0100, Lars-Peter Clausen wrote:
On 03/11/2014 04:41 PM, Brian Austin wrote:
So WRT the CS42888, this is
on CODEC at the first place while
the other bits are same.
Signed-off-by: Nicolin Chen guangyu.c...@freescale.com
---
Changelog
v2:
* Keep the fmt identical for both CPU and CODEC sides.
* Appended warning to binding doc.
.../devicetree/bindings/sound/simple-card.txt| 6 ++
sound/soc
though), which results people need to re-set bitclock-invert and
frame-invert if they switch the DAI format from left_j to i2s for example.
Thank you,
Nicolin Chen
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More
On Wed, Mar 12, 2014 at 11:25:32AM +0200, Jyri Sarha wrote:
On 03/12/2014 05:02 AM, Nicolin Chen wrote:
The current simple-card driver separates the daimft for cpu_dai and
codec_dai.
So we might get different values for them (0x4003 and 0x1003 for example):
asoc-simple-card sound
or 24bits)
- Flexible selection between system clock or external oscillator as input
clock source, programmable internal clock divider and frame sync generation.
Signed-off-by: Nicolin Chen guangyu.c...@freescale.com
---
Changelog
v3:
* Added monaural audio support by using Normal mode
I just received the 'applied' mail. But still want to confirm this topic to
see how to refine the driver in the step ahead.
On Fri, Jan 10, 2014 at 12:04:39PM +, Mark Brown wrote:
On Fri, Jan 10, 2014 at 10:35:39AM +0800, Nicolin Chen wrote:
Resent this because of losing attached file
On Fri, Jan 10, 2014 at 01:26:42PM +, Mark Brown wrote:
On Fri, Jan 10, 2014 at 09:03:39PM +0800, Nicolin Chen wrote:
On Fri, Jan 10, 2014 at 12:04:39PM +, Mark Brown wrote:
This is about what I'd expect but then surely the next step is for the
driver to choose a defualt BCLK
On Fri, Jan 10, 2014 at 04:52:29PM +, Mark Brown wrote:
On Fri, Jan 10, 2014 at 11:48:25PM +0800, Nicolin Chen wrote:
I think I start to understand the point here: If a user only needs to
playback
the default case - 44.1KHz for example, the driver can just configure all
was revising a new CODEC driver for ESAI and meanwhile abort
to plan to try simple card for this combination but being suspended due to
some tough internal issues. So I think it should be a good idea for us to
move towards simple card starting from this patch.
Surely, Acked.
Nicolin Chen
On Mon, Feb 10, 2014 at 02:47:17PM +0800, Xiubo Li wrote:
Cc: Nicolin Chen guangyu.c...@freescale.com
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/fsl_esai.c | 4 ++--
sound/soc/fsl/fsl_esai.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound
On Mon, Feb 10, 2014 at 04:24:43PM +0800, Xiubo Li-B47053 wrote:
Sorry, my misunderstanding about your comment.
Please ignore the last mail.
I will send v2 of this patch.
No, you don't need to.
Just rechecked it with RM. Your patch is correct.
I forgot I used A's WIDTH intentionally at
On Tue, Feb 11, 2014 at 01:41:15PM +0800, Xiubo Li wrote:
For most platforms, the CPU and SPDIF device is in the same endianess
mode. While for the LS1 platform, the CPU is in LE mode and the SPDIF
is in BE mode.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Nicolin Chen guangyu.c
On Tue, Feb 11, 2014 at 01:41:16PM +0800, Xiubo Li wrote:
For most platforms, the CPU and ESAI device is in the same endianess
mode. While for the LS1 platform, the CPU is in LE mode and the ESAI
is in BE mode.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Nicolin Chen guangyu.c
patches:
Acked-by: Nicolin Chen guangyu.c...@freescale.com
Thank you
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http
This patch adds support for the Cirrus Logic CS42448/CS42888 Audio CODEC that
has six/four 24-bit AD and eight 24-bit DA converters.
[ CS42448/CS42888 supports both I2C and SPI control ports. As initial patch,
this patch only adds the support for I2C. ]
Signed-off-by: Nicolin Chen guangyu.c
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
arch/arm/boot/dts/imx51.dtsi | 4 ++--
arch/arm/boot/dts/imx53.dtsi | 4 ++--
arch/arm/boot/dts/imx6qdl.dtsi | 12 ++--
arch/arm/boot/dts/imx6sl.dtsi
a direct dependency between them. When
* ! applying them, we need to apply in one single branch. Otherwise,
* ! it would break currect branches.
Nicolin Chen (3):
dma: imx-sdma: Add ssi dual fifo script support
ASoC: fsl_ssi: Add dual fifo mode support
ARM: dts: imx: use dual-fifo sdma script
There's a script for SSI missing in current sdma script list. Thus add it.
This script would allow SSI use its dual fifo mode to transimit/receive
data without occasional hardware underrun/overrun.
This patch also fixed a counting error for total number of scripts.
Signed-off-by: Nicolin Chen
By enabling dual fifo mode, it would allow SSI enter a better performance
to transimit/receive data without occasional hardware underrun/overrun.
[ Passed compile-test with mpc85xx_defconfig ]
Signed-off-by: Nicolin Chen b42...@freescale.com
---
sound/soc/fsl/fsl_ssi.c | 24
a version check and add those new scripts first?
Thank you,
Nicolin Chen
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49
Just found that I missed Sascha's mail address in my TO list of last reply.
So resend it. And sorry for the duplicated mails.
- Forwarded message from Nicolin Chen b42...@freescale.com -
Date: Wed, 30 Oct 2013 12:48:48 +0800
From: Nicolin Chen b42...@freescale.com
Subject: Re: [PATCH 1/3
.
*
* ! This series of patches has a direct dependency between them. When
* ! applying them, we need to apply in one single branch. Otherwise,
* ! it would break currect branches.
Nicolin Chen (4):
dma: imx-sdma: Add sdma firmware version 2 support
dma: imx-sdma: Add new dma type for ssi dual fifo
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
arch/arm/boot/dts/imx51.dtsi | 4 ++--
arch/arm/boot/dts/imx53.dtsi | 4 ++--
arch/arm/boot/dts/imx6qdl.dtsi | 12 ++--
arch/arm/boot/dts/imx6sl.dtsi
This patch adds a new DMA_TYPE for SSI dual FIFO script, included
in SDMA firmware version 2. This script would allow SSI use dual
fifo mode to transimit/receive data without occasional hardware
underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
Documentation/devicetree
On i.MX5/6 series, SDMA is using new version firmware to support SSI
dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
drivers/dma/imx-sdma.c | 15 ++-
include/linux/platform_data/dma-imx-sdma.h
By enabling dual fifo mode, it would allow SSI enter a better performance
to transimit/receive data without occasional hardware underrun/overrun.
[ Passed compile-test with mpc85xx_defconfig ]
Signed-off-by: Nicolin Chen b42...@freescale.com
---
sound/soc/fsl/fsl_ssi.c | 24
;
ssi_private-dma_params_rx.maxburst = ~0x1;
I'll use this in v3. Thank you!
Nicolin Chen
Regards,
Philippe
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
. Otherwise,
* ! it would break currect branches.
Nicolin Chen (4):
dma: imx-sdma: Add sdma firmware version 2 support
dma: imx-sdma: Add new dma type for ssi dual fifo script
ASoC: fsl_ssi: Add dual fifo mode support
ARM: dts: imx: use dual-fifo sdma script for ssi
.../devicetree
This patch adds a new DMA_TYPE for SSI dual FIFO script, included
in SDMA firmware version 2. This script would allow SSI use dual
fifo mode to transimit/receive data without occasional hardware
underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
Documentation/devicetree
By enabling dual fifo mode, it would allow SSI enter a better performance
to transimit/receive data without occasional hardware underrun/overrun.
[ Passed compile-test with mpc85xx_defconfig ]
Signed-off-by: Nicolin Chen b42...@freescale.com
---
sound/soc/fsl/fsl_ssi.c | 22
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
arch/arm/boot/dts/imx51.dtsi | 4 ++--
arch/arm/boot/dts/imx53.dtsi | 4 ++--
arch/arm/boot/dts/imx6qdl.dtsi | 12 ++--
arch/arm/boot/dts/imx6sl.dtsi
On i.MX5/6 series, SDMA is using new version firmware to support SSI
dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
drivers/dma/imx-sdma.c | 15 ++-
include/linux/platform_data/dma-imx-sdma.h
When using pool space for DMA buffer, there might be duplicated calling
of gen_pool_alloc() and gen_pool_virt_to_phys() in each implementation.
Thus it's better to add a simple helper function, a compatible one to
the common dma_alloc_coherent(), to save some code.
Signed-off-by: Nicolin Chen
This patch adds a new DMA_TYPE for SSI dual FIFO script, included
in SDMA firmware version 2. This script would allow SSI use dual
fifo mode to transimit/receive data without occasional hardware
underrun/overrun.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
Documentation/devicetree
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
arch/arm/boot/dts/imx51.dtsi | 4 ++--
arch/arm/boot/dts/imx53.dtsi | 4 ++--
arch/arm/boot/dts/imx6qdl.dtsi | 12 ++--
arch/arm/boot/dts/imx6sl.dtsi
By enabling dual fifo mode, it would allow SSI enter a better performance
to transimit/receive data without occasional hardware underrun/overrun.
[ Passed compile-test with mpc85xx_defconfig ]
Signed-off-by: Nicolin Chen b42...@freescale.com
---
sound/soc/fsl/fsl_ssi.c | 18
On i.MX5/6 series, SDMA is using new version firmware to support SSI
dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
drivers/dma/imx-sdma.c | 15 ++-
include/linux/platform_data/dma-imx-sdma.h
of patches has a direct dependency between them. When
* ! applying them, we need to apply to one single branch. Otherwise,
* ! it would break currect branches.
Nicolin Chen (4):
dma: imx-sdma: Add sdma firmware version 2 support
dma: imx-sdma: Add new dma type for ssi dual fifo script
ASoC: fsl_ssi
Sir,
On Thu, Oct 31, 2013 at 02:26:19PM -0700, Andrew Morton wrote:
On Thu, 31 Oct 2013 17:16:07 +0800 Nicolin Chen b42...@freescale.com wrote:
When using pool space for DMA buffer, there might be duplicated calling
of gen_pool_alloc() and gen_pool_virt_to_phys() in each implementation
regards,
Nicolin Chen
diff --git a/sound/soc/fsl/fsl-sai.h b/sound/soc/fsl/fsl-sai.h
new file mode 100644
index 000..1637679
--- /dev/null
+++ b/sound/soc/fsl/fsl-sai.h
@@ -0,0 +1,120 @@
+/*
+ * Copyright 2012-2013 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you
for adding for me. Much obliged.
On Thu, Oct 31, 2013 at 09:44:12PM +0800, Nicolin Chen wrote:
Nicolin Chen (4):
dma: imx-sdma: Add sdma firmware version 2 support
dma: imx-sdma: Add new dma type for ssi dual fifo script
ASoC: fsl_ssi: Add dual fifo mode support
ARM: dts: imx: use dual
or figure out why your System would hang with current sgtl5000 driver. If it
really has a critical bug in its regulator-related code, I think you can then
make a greater contribution by fixing the bug rather than bypassing it.
Best regards,
Nicolin Chen
static int ldo_regulator_register(struct
regards,
Nicolin Chen
+{
+ int ret;
+ struct device *dev = rtd-card-dev;
+
+ ret = snd_soc_dai_set_sysclk(rtd-codec_dai, SGTL5000_SYSCLK,
+ sysclk_rate, SND_SOC_CLOCK_IN);
+ if (ret) {
+ dev_err(dev, could not set codec driver clock
When using pool space for DMA buffer, there might be duplicated calling
of gen_pool_alloc() and gen_pool_virt_to_phys() in each implementation.
Thus it's better to add a simple helper function, a compatible one to
the common dma_alloc_coherent(), to save some code.
Signed-off-by: Nicolin Chen
/genalloc: [Okay]
ARM: davinci: [Untested]
dma: mmp_tdma: [Untested]
[media] coda: [Untested]
uio: uio_pruss: [Untested]
ALSA: memalloc: [Tested] by Nicolin Chen with i.MX6Q SabreSD
ASoC: davinci: [Untested]
ASoC: pxa: use [Untested]
Nicolin Chen (8):
lib/genalloc: add a helper function
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code.
Signed-off-by: Nicolin Chen b42...@freescale.com
---
drivers/uio/uio_pruss.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/uio/uio_pruss.c b/drivers/uio/uio_pruss.c
index f519da9
1 - 100 of 1771 matches
Mail list logo