From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mx31ads: Configure SSI5 pins in IOMUX for PMIC module audio support
Date: Wed, 24 Feb 2010 10:30:29 +0100 [thread overview]
Message-ID: <20100224093029.GA25271@pengutronix.de> (raw)
In-Reply-To: <1266923111-16575-1-git-send-email-broonie@opensource.wolfsonmicro.com>
On Tue, Feb 23, 2010 at 11:05:11AM +0000, Mark Brown wrote:
> SSI5 on the CPU is connected to the PMIC module to provide audio support
> so unconditionally configure the relevant pins on the CPU to route out
> the signals.
Ok, applied
Sascha
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> arch/arm/mach-mx3/mach-mx31ads.c | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-mx3/mach-mx31ads.c b/arch/arm/mach-mx3/mach-mx31ads.c
> index e5423f8..e402e0d 100644
> --- a/arch/arm/mach-mx3/mach-mx31ads.c
> +++ b/arch/arm/mach-mx3/mach-mx31ads.c
> @@ -490,6 +490,19 @@ static void mxc_init_i2c(void)
> }
> #endif
>
> +static unsigned int ssi_pins[] = {
> + MX31_PIN_SFS5__SFS5,
> + MX31_PIN_SCK5__SCK5,
> + MX31_PIN_SRXD5__SRXD5,
> + MX31_PIN_STXD5__STXD5,
> +};
> +
> +static void mxc_init_audio(void)
> +{
> + mxc_register_device(&imx_ssi_device0, NULL);
> + mxc_iomux_setup_multiple_pins(ssi_pins, ARRAY_SIZE(ssi_pins), "ssi");
> +}
> +
> /*!
> * This structure defines static mappings for the i.MX31ADS board.
> */
> @@ -525,6 +538,7 @@ static void __init mxc_board_init(void)
> mxc_init_extuart();
> mxc_init_imx_uart();
> mxc_init_i2c();
> + mxc_init_audio();
> }
>
> static void __init mx31ads_timer_init(void)
> --
> 1.7.0
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2010-02-24 9:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-23 11:05 [PATCH] mx31ads: Configure SSI5 pins in IOMUX for PMIC module audio support Mark Brown
2010-02-24 9:30 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100224093029.GA25271@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).