static void dp_lcd_set_power(struct plat_lcd_data *pd,
				unsigned int power)
{
	/* PMIC_LDO_19_EN */
	gpio_request(EXYNOS5410_GPJ3(6), "GPJ3");
	if (power)
		gpio_direction_output(EXYNOS5410_GPJ3(6), 1);

#ifndef CONFIG_BACKLIGHT_PWM
	/* LCD_PWM_IN_2.8V: LCD_B_PWM, GPB2_0 */
	gpio_request(EXYNOS5410_GPB2(0), "GPB2");
#endif

	/* LCD_EN: GPH0_1 */
	gpio_request(EXYNOS5410_GPH0(1), "GPH0");

	/* LCD_EN: GPH0_1 */
	gpio_direction_output(EXYNOS5410_GPH0(1), power);
	msleep(90);

#ifndef CONFIG_BACKLIGHT_PWM
	/* LCD_PWM_IN_2.8V: LCD_B_PWM, GPB2_0 */
	gpio_direction_output(EXYNOS5410_GPB2(0), power);

	gpio_free(EXYNOS5410_GPB2(0));
#endif

	/* PMIC_LDO_19_EN */
	if (!power)
		gpio_direction_output(EXYNOS5410_GPJ3(6), 0);

	gpio_free(EXYNOS5410_GPH0(1));
	gpio_free(EXYNOS5410_GPJ3(6));
}
static void universal5410_audio_gpio_init(void)
{
        int err;

#ifdef CONFIG_SND_SOC_WM1811
	err = gpio_request(EXYNOS5410_GPJ3(7), "CODEC LDO enable");
	if (err < 0)
		pr_err("%s: Failed to get enable GPIO: %d\n", __func__, err);

	err = gpio_direction_output(EXYNOS5410_GPJ3(7), 1);
	if (err < 0)
		pr_err("%s: Failed to set GPIO direction: %d\n", __func__, err);

	gpio_set_value(EXYNOS5410_GPJ3(7), 1);
#endif

#ifdef CONFIG_SND_SOC_WM5102
	err = gpio_request(EXYNOS5410_GPJ2(1), "CODEC RESET enable");
	if (err < 0)
		pr_err("%s: Failed to get enable GPIO: %d\n", __func__, err);

	err = gpio_direction_output(EXYNOS5410_GPJ2(1), 1);
	if (err < 0)
		pr_err("%s: Failed to set GPIO direction: %d\n", __func__, err);

	gpio_set_value(EXYNOS5410_GPJ2(1), 0);
	gpio_free(EXYNOS5410_GPJ2(1));
#endif
}
#include "board-universal5410.h"


static struct es325_veq_parm veq_parm_table[] = {
	{ 0,  0},
	{ 2,  6},
	{ 2,  9},
	{ 2, 12},
	{ 2,  9},
	{ 2,  6},
	{19,  3},
};

static struct es325_platform_data es325_pdata = {
	.gpio_wakeup = EXYNOS5410_GPJ3(7),
	.gpio_reset = EXYNOS5410_GPJ2(3),
	.clk_enable = exynos5_audio_set_mclk,
	.pass[0] = {1, 3},
	.pass[1] = {2, 4},
	.passthrough_src = 1,
	.passthrough_dst = 3,
	.use_sleep = true,
	.veq_parm_table = veq_parm_table,
	.veq_parm_table_size = ARRAY_SIZE(veq_parm_table),
};

static struct platform_device *universal5410_2mic_devices[] __initdata = {
	&exynos5_device_hs_i2c0,
};