linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: imx6q-sabrelite: Setup CLKO IOMUX
@ 2012-08-02  1:11 Fabio Estevam
  2012-08-02  1:40 ` Shawn Guo
  2012-08-02  7:44 ` Dirk Behme
  0 siblings, 2 replies; 5+ messages in thread
From: Fabio Estevam @ 2012-08-02  1:11 UTC (permalink / raw)
  To: linux-arm-kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

In order to have audio functional on mx6qsabrelite, it is necessary to setup
the IOMUX for MX6Q_PAD_GPIO_0__CCM_CLKO pins as it provides the audio clock.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx6q-sabrelite.dts |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
index d42e851..1769f44 100644
--- a/arch/arm/boot/dts/imx6q-sabrelite.dts
+++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
@@ -53,6 +53,7 @@
 						fsl,pins = <
 							   144  0x80000000	/* MX6Q_PAD_EIM_D22__GPIO_3_22 */
 							   121  0x80000000	/* MX6Q_PAD_EIM_D19__GPIO_3_19 */
+							   953  0x80000000	/* MX6Q_PAD_GPIO_0__CCM_CLKO */		
 							   >;
 					};
 				};
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] ARM: imx6q-sabrelite: Setup CLKO IOMUX
  2012-08-02  1:11 [PATCH] ARM: imx6q-sabrelite: Setup CLKO IOMUX Fabio Estevam
@ 2012-08-02  1:40 ` Shawn Guo
  2012-08-02  1:43   ` Fabio Estevam
  2012-08-02  7:44 ` Dirk Behme
  1 sibling, 1 reply; 5+ messages in thread
From: Shawn Guo @ 2012-08-02  1:40 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Aug 01, 2012 at 10:11:08PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> In order to have audio functional on mx6qsabrelite, it is necessary to setup
> the IOMUX for MX6Q_PAD_GPIO_0__CCM_CLKO pins as it provides the audio clock.
> 
The commit messages should generally be wrapped at column 72.  I fixed
it up and queued the patch for 3.6-rc.  Thanks.

-- 
Regards,
Shawn

> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/boot/dts/imx6q-sabrelite.dts |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
> index d42e851..1769f44 100644
> --- a/arch/arm/boot/dts/imx6q-sabrelite.dts
> +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
> @@ -53,6 +53,7 @@
>  						fsl,pins = <
>  							   144  0x80000000	/* MX6Q_PAD_EIM_D22__GPIO_3_22 */
>  							   121  0x80000000	/* MX6Q_PAD_EIM_D19__GPIO_3_19 */
> +							   953  0x80000000	/* MX6Q_PAD_GPIO_0__CCM_CLKO */		
>  							   >;
>  					};
>  				};
> -- 
> 1.7.1
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] ARM: imx6q-sabrelite: Setup CLKO IOMUX
  2012-08-02  1:40 ` Shawn Guo
@ 2012-08-02  1:43   ` Fabio Estevam
  2012-08-02  1:55     ` Shawn Guo
  0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2012-08-02  1:43 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Aug 1, 2012 at 10:40 PM, Shawn Guo <shawn.guo@linaro.org> wrote:
> On Wed, Aug 01, 2012 at 10:11:08PM -0300, Fabio Estevam wrote:
>> From: Fabio Estevam <fabio.estevam@freescale.com>
>>
>> In order to have audio functional on mx6qsabrelite, it is necessary to setup
>> the IOMUX for MX6Q_PAD_GPIO_0__CCM_CLKO pins as it provides the audio clock.
>>
> The commit messages should generally be wrapped at column 72.  I fixed
> it up and queued the patch for 3.6-rc.  Thanks.

Ok, thanks.

With this patch applied audio is probed correctly now:

sgtl5000 0-000a: Using internal LDO instead of VDDD
sgtl5000 0-000a: sgtl5000 revision 0x11
imx-sgtl5000 sound.11:  sgtl5000 <-> 2028000.ssi mapping ok

,but I get error during aplay:

root at freescale /home$ aplay audio48k16S.wav
Playing WAVE 'audio48k16S.wav' : Signed 16 bit Little Endian,
Raimx-pcm-audio imx-pcm-audio: imx-pcm-audio hw params failed: -22
te 48000 Hz, Stereo
aplay: set_params:959: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 48000
PERIOD_TIME: (85333 85334)
PERIOD_SIZE: 4096
PERIOD_BYTES: 16384
PERIODS: 4
BUFFER_TIME: (341333 341334)
BUFFER_SIZE: 16384
BUFFER_BYTES: 65536
TICK_TIME: 0
root at freescale /home$

,and I guess this happens because of the missing mx6 sdma firmware.

Where can I get the mx6 sdma firmware binary from?

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] ARM: imx6q-sabrelite: Setup CLKO IOMUX
  2012-08-02  1:43   ` Fabio Estevam
@ 2012-08-02  1:55     ` Shawn Guo
  0 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2012-08-02  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Aug 01, 2012 at 10:43:39PM -0300, Fabio Estevam wrote:
> Where can I get the mx6 sdma firmware binary from?
> 
FSL tree, I think.

-- 
Regards,
Shawn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] ARM: imx6q-sabrelite: Setup CLKO IOMUX
  2012-08-02  1:11 [PATCH] ARM: imx6q-sabrelite: Setup CLKO IOMUX Fabio Estevam
  2012-08-02  1:40 ` Shawn Guo
@ 2012-08-02  7:44 ` Dirk Behme
  1 sibling, 0 replies; 5+ messages in thread
From: Dirk Behme @ 2012-08-02  7:44 UTC (permalink / raw)
  To: linux-arm-kernel

On 02.08.2012 03:11, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> In order to have audio functional on mx6qsabrelite, it is necessary to setup
> the IOMUX for MX6Q_PAD_GPIO_0__CCM_CLKO pins as it provides the audio clock.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Tested-by: Dirk Behme <dirk.behme@de.bosch.com>

Thanks

Dirk

> ---
>  arch/arm/boot/dts/imx6q-sabrelite.dts |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts
> index d42e851..1769f44 100644
> --- a/arch/arm/boot/dts/imx6q-sabrelite.dts
> +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts
> @@ -53,6 +53,7 @@
>  						fsl,pins = <
>  							   144  0x80000000	/* MX6Q_PAD_EIM_D22__GPIO_3_22 */
>  							   121  0x80000000	/* MX6Q_PAD_EIM_D19__GPIO_3_19 */
> +							   953  0x80000000	/* MX6Q_PAD_GPIO_0__CCM_CLKO */		
>  							   >;
>  					};
>  				};

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-02  7:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-02  1:11 [PATCH] ARM: imx6q-sabrelite: Setup CLKO IOMUX Fabio Estevam
2012-08-02  1:40 ` Shawn Guo
2012-08-02  1:43   ` Fabio Estevam
2012-08-02  1:55     ` Shawn Guo
2012-08-02  7:44 ` Dirk Behme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).