From: Jarkko Nikula <jhnikula@gmail.com>
To: Jarkko Nikula <jhnikula@gmail.com>
Cc: linux-omap@vger.kernel.org, Tony Lindgren <tony@atomide.com>,
Eduardo Valentin <eduardo.valentin@nokia.com>
Subject: Re: [PATCH 3/3] omap: rx51: Add supplies for the tlv320aic3x codec driver
Date: Wed, 5 May 2010 17:20:11 +0300 [thread overview]
Message-ID: <20100505172011.c57044f0.jhnikula@gmail.com> (raw)
In-Reply-To: <1272902176-21033-3-git-send-email-jhnikula@gmail.com>
On Mon, 3 May 2010 18:56:16 +0300
Jarkko Nikula <jhnikula@gmail.com> wrote:
> Upcoming change to tlv320aic3x codec driver require four supplies.
> Implement this by connecting analogic supplies to TWL4030 VMMC2 and digital
> supplies to TWL4030 VIO.
>
> Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
> Cc: Eduardo Valentin <eduardo.valentin@nokia.com>
>
> ---
>
> Analogic supplies were able to find from Maemo kernel sources and earlier
> patch from Eduardo:
>
> http://marc.info/?l=linux-omap&m=125500331032616&w=2
>
> I made an educated guess that digital codec supplies are connected to 1.8 V
> IO voltage and it is derived from TWL4030 VIO (like in BeagleBoard).
> ---
> arch/arm/mach-omap2/board-rx51-peripherals.c | 60 +++++++++++++++++++++++---
> 1 files changed, 53 insertions(+), 7 deletions(-)
>
I have one patch more to this set but it cannot be applied before this
tlv320aic3x patch hits into mainline:
http://mailman.alsa-project.org/pipermail/alsa-devel/2010-May/027408.html
--
Jarkko
==================== CUT HERE ============================
From: Jarkko Nikula <jhnikula@gmail.com>
Date: Wed, 5 May 2010 13:57:00 +0300
Subject: [PATCH] omap: rx51: Add platform_data for tlv320aic3x with reset gpio number
Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
---
arch/arm/mach-omap2/board-rx51-peripherals.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
index 8179d55..0047026 100644
--- a/arch/arm/mach-omap2/board-rx51-peripherals.c
+++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
@@ -33,6 +33,8 @@
#include <plat/onenand.h>
#include <plat/gpmc-smc91x.h>
+#include <sound/tlv320aic3x.h>
+
#include "mux.h"
#include "hsmmc.h"
@@ -664,6 +666,10 @@ static struct twl4030_platform_data rx51_twldata __initdata = {
.vio = &rx51_vio,
};
+static struct aic3x_pdata rx51_aic3x_data __initdata = {
+ .gpio_reset = 60,
+};
+
static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_1[] = {
{
I2C_BOARD_INFO("twl5030", 0x48),
@@ -676,6 +682,7 @@ static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_1[] = {
static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_2[] = {
{
I2C_BOARD_INFO("tlv320aic3x", 0x18),
+ .platform_data = &rx51_aic3x_data,
},
};
--
1.7.0
next prev parent reply other threads:[~2010-05-05 14:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-03 15:56 [PATCH 1/3] omap: rx51: Change the TWL4030 VMMC2 voltage constraints and supply name Jarkko Nikula
2010-05-03 15:56 ` [PATCH 2/3] omap: rx51: Add i2c2 board_info with tlv320aic3x Jarkko Nikula
2010-05-05 18:48 ` [APPLIED] " Tony Lindgren
2010-05-03 15:56 ` [PATCH 3/3] omap: rx51: Add supplies for the tlv320aic3x codec driver Jarkko Nikula
2010-05-05 14:20 ` Jarkko Nikula [this message]
2010-05-05 14:25 ` Mark Brown
2010-05-05 15:15 ` Tony Lindgren
2010-05-05 15:20 ` Mark Brown
2010-05-05 18:41 ` Jarkko Nikula
2010-05-05 21:11 ` Tony Lindgren
2010-05-05 18:49 ` [APPLIED] [PATCH 3/3] omap: rx51: Add supplies for the tlv320aic3x codec Tony Lindgren
2010-05-05 18:48 ` [APPLIED] [PATCH 1/3] omap: rx51: Change the TWL4030 VMMC2 voltage Tony Lindgren
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=20100505172011.c57044f0.jhnikula@gmail.com \
--to=jhnikula@gmail.com \
--cc=eduardo.valentin@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/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).