提交 87581fd4 编写于 作者: J Jarkko Nikula 提交者: Tony Lindgren

omap: rx51: Add platform_data for tlv320aic3x with reset gpionumber

Proper operation of the tlv320aic3x audio codec requires that reset
sequencing is done in pair with supply voltages when using the regulator
framework. Add the codec reset gpio used in Nokia RX51 to tlv320aic3x
data.
Signed-off-by: NJarkko Nikula <jhnikula@gmail.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 000d534e
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#include <plat/onenand.h> #include <plat/onenand.h>
#include <plat/gpmc-smc91x.h> #include <plat/gpmc-smc91x.h>
#include <sound/tlv320aic3x.h>
#include "mux.h" #include "mux.h"
#include "hsmmc.h" #include "hsmmc.h"
...@@ -707,6 +709,10 @@ static struct twl4030_platform_data rx51_twldata __initdata = { ...@@ -707,6 +709,10 @@ static struct twl4030_platform_data rx51_twldata __initdata = {
.vio = &rx51_vio, .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[] = { static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_1[] = {
{ {
I2C_BOARD_INFO("twl5030", 0x48), I2C_BOARD_INFO("twl5030", 0x48),
...@@ -719,6 +725,7 @@ static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_1[] = { ...@@ -719,6 +725,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[] = { static struct i2c_board_info __initdata rx51_peripherals_i2c_board_info_2[] = {
{ {
I2C_BOARD_INFO("tlv320aic3x", 0x18), I2C_BOARD_INFO("tlv320aic3x", 0x18),
.platform_data = &rx51_aic3x_data,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册