Skip to content

Commit

Permalink
star: Initialize AIF2 registers to same values as GB
Browse files Browse the repository at this point in the history
From the old nvodm codec config, GPIOs 1,2 and 6 are supposed to
be logic level input switches:

        NvU32 reg700 = 0xa101;
        NvU32 reg701 = 0xa101;
        NvU32 reg702 = 0x8100;
        NvU32 reg703 = 0x8100;
        NvU32 reg704 = 0x8100;
        NvU32 reg705 = 0xa101;
        NvU32 reg706 = 0x0100;
  • Loading branch information
rmcc committed Dec 20, 2012
1 parent b4c0375 commit f5783f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/mach-tegra/lge/star/board-star-audio.c
Expand Up @@ -47,11 +47,13 @@ static struct wm8994_drc_cfg wm8994_drc_data[] = {

struct wm8994_pdata wm8994_data = {
/* configure gpio1 function: 0x0001(Logic level input/output) */
.gpio_defaults[0] = 0x0001,
.gpio_defaults[0] = 0xa101,
.gpio_defaults[1] = 0xa101,
/* configure gpio3/4/5/7 function for AIF2 voice */
.gpio_defaults[2] = 0x8100,
.gpio_defaults[3] = 0x8100,
.gpio_defaults[4] = 0x8100,
.gpio_defaults[5] = 0xa101,
.gpio_defaults[6] = 0x0100,
/* configure gpio8/9/10/11 function for AIF3 BT */
.gpio_defaults[7] = 0x8100,
Expand Down

0 comments on commit f5783f9

Please sign in to comment.