[Epic 4G Android Development] tmillar07:
Some verification on the driver side, direct from Sammy...

From: xxxxxxxx xxxxxxx xxxxxxx@samsung.com

>> +/* 3.5 pie jack */

>> +static struct snd_soc_jack jack;

>> +

>> +/* 3.5 pie jack detection DAPM pins */

>> +static struct snd_soc_jack_pin jack_pins[] = {

>> + {

>> + .pin = "Headset Mic",

>> + .mask = SND_JACK_MICROPHONE,

>> + }, {

>> + .pin = "Headset Stereophone",

>> + .mask = SND_JACK_HEADPHONE | SND_JACK_MECHANICAL |

>> + SND_JACK_AVOUT,

>> + },

>> +};

>> +

>> +/* 3.5 pie jack detection gpios */

>> +static struct snd_soc_jack_gpio jack_gpios[] = {

>> + {

>> + .gpio = S5PV210_GPH0(6),

>> + .name = "DET_3.5",

>> + .report = SND_JACK_HEADSET | SND_JACK_MECHANICAL |

>> + SND_JACK_AVOUT,

>> + .debounce_time = 200,

>> + },

>> +};

>> +

>> +static const struct snd_soc_dapm_widget aquila_dapm_widgets[] = {

>> + SND_SOC_DAPM_SPK("Ext Spk", NULL),

>> + SND_SOC_DAPM_SPK("Ext Rcv", NULL),

>> + SND_SOC_DAPM_HP("Headset Stereophone", NULL),

>> + SND_SOC_DAPM_MIC("Headset Mic", NULL),

>> + SND_SOC_DAPM_MIC("Main Mic", NULL),

>> + SND_SOC_DAPM_MIC("2nd Mic", NULL),

>> + SND_SOC_DAPM_LINE("Radio In", NULL),

>> +};

>> +

>> +static const struct snd_soc_dapm_route aquila_dapm_routes[] = {

>> + {"Ext Spk", NULL, "SPKOUTLP"},

>> + {"Ext Spk", NULL, "SPKOUTLN"},

>> +

>> + {"Ext Rcv", NULL, "HPOUT2N"},

>> + {"Ext Rcv", NULL, "HPOUT2P"},

>> +

>> + {"Headset Stereophone", NULL, "HPOUT1L"},

>> + {"Headset Stereophone", NULL, "HPOUT1R"},

>> +

>> + {"IN1RN", NULL, "Headset Mic"},

>> + {"IN1RP", NULL, "Headset Mic"},

>> +

>> + {"IN1RN", NULL, "2nd Mic"},

>> + {"IN1RP", NULL, "2nd Mic"},

>> +

>> + {"IN1LN", NULL, "Main Mic"},

>> + {"IN1LP", NULL, "Main Mic"},

>> +

>> + {"IN2LN", NULL, "Radio In"},

>> + {"IN2RN", NULL, "Radio In"},

>> +};

>> +

>> +static int aquila_wm8994_init(struct snd_soc_pcm_runtime *rtd)

>> +{

>> + struct snd_soc_codec *codec = rtd->codec;

>> + int ret;

>> +

>> + /* add aquila specific widgets */

>> + snd_soc_dapm_new_controls(codec, aquila_dapm_widgets,

>> + ARRAY_SIZE(aquila_dapm_widgets));

>> +

>> + /* set up aquila specific audio routes */

>> + snd_soc_dapm_add_routes(codec, aquila_dapm_routes,

>> + ARRAY_SIZE(aquila_dapm_routes));

>> +

>> + /* set endpoints to not connected */

>> + snd_soc_dapm_nc_pin(codec, "IN2LP:VXRN");

>> + snd_soc_dapm_nc_pin(codec, "IN2RP:VXRP");

>> + snd_soc_dapm_nc_pin(codec, "LINEOUT1N");

>> + snd_soc_dapm_nc_pin(codec, "LINEOUT1P");

>> + snd_soc_dapm_nc_pin(codec, "LINEOUT2N");

>> + snd_soc_dapm_nc_pin(codec, "LINEOUT2P");

>> + snd_soc_dapm_nc_pin(codec, "SPKOUTRN");

>> + snd_soc_dapm_nc_pin(codec, "SPKOUTRP");

>> +

>> + snd_soc_dapm_sync(codec);

>> +

>> + /* Headset jack detection */

>> + ret = snd_soc_jack_new(&aquila, "Headset Jack",

>> + SND_JACK_HEADSET | SND_JACK_MECHANICAL | SND_JACK_AVOUT,

>> + &jack);

>> + if (ret)

>> + return ret;

>> +

>> + ret = snd_soc_jack_add_pins(&jack, ARRAY_SIZE(jack_pins), jack_pins);

>> + if (ret)

>> + return ret;

>> +

>> + ret = snd_soc_jack_add_gpios(&jack, ARRAY_SIZE(jack_gpios), jack_gpios);

>> + if (ret)

>> + return ret;

>> +

>> + return 0;

>> +}

ARM: S5P: Add TV out device reference for Samsung S5P SoCs

This patch adds TV out device reference for Samsung S5P SoCs.

ARM: S5PV210: Update clock register file

This patch updates regs-clock.h for Samsung S5PV210 TV out driver.

ARM: S5PV210: Add TV out driver register definition files

This patch adds TV out driver register definition files for Samsung S5PV210.

ARM: S5P: Add TV out device definition for Samsung S5P SoCs.

This patch adds TV out device definition for Samsung S5P SoCs.

Summary of changes:

arch/arm/mach-s5pv210/include/mach/regs-cec.h | 89 ++

arch/arm/mach-s5pv210/include/mach/regs-clock.h | 1 +

arch/arm/mach-s5pv210/include/mach/regs-hdmi.h | 1065 ++++++++++++++++++++

.../mach-s5pv210/include/mach/regs-hdmi_clock.h | 87 ++

arch/arm/mach-s5pv210/include/mach/regs-sdaout.h | 490 +++++++++

arch/arm/mach-s5pv210/include/mach/regs-vmx.h | 241 +++++

.../mach-s5pv210/include/mach/regs-vprocessor.h | 360 +++++++

arch/arm/plat-s5p/devs.c | 86 ++

arch/arm/plat-samsung/include/plat/devs.h | 4 +

9 files changed, 2423 insertions(+), 0 deletions(-)

create mode 100644 arch/arm/mach-s5pv210/include/mach/regs-cec.h

create mode 100644 arch/arm/mach-s5pv210/include/mach/regs-hdmi.h

create mode 100644 arch/arm/mach-s5pv210/include/mach/regs-hdmi_clock.h

create mode 100644 arch/arm/mach-s5pv210/include/mach/regs-sdaout.h

create mode 100644 arch/arm/mach-s5pv210/include/mach/regs-vmx.h

create mode 100644 arch/arm/mach-s5pv210/include/mach/regs-vprocessor.h

The branch, master has been updated

This is an automated email from the git hooks/post-receive script. It was

generated because a ref change was pushed to the repository containing

the project "linux kernel tree".

hooks/post-receive

case IRQ_TYPE_EDGE_RISING:

-	newvalue = S3C2410_EXTINT_RISEEDGE;

+	newvalue = S3C_GPIO_EDGE_RISING;

break;

case IRQ_TYPE_EDGE_FALLING:

-	newvalue = S3C2410_EXTINT_FALLEDGE;

+	newvalue = S3C_GPIO_EDGE_FALLING;

break;

case IRQ_TYPE_EDGE_BOTH:

-	newvalue = S3C2410_EXTINT_BOTHEDGE;

+	newvalue = S3C_GPIO_EDGE_BOTH;

break;

case IRQ_TYPE_LEVEL_LOW:

-	newvalue = S3C2410_EXTINT_LOWLEV;

+	newvalue = S3C_GPIO_LEVEL_LOW;

break;

case IRQ_TYPE_LEVEL_HIGH:

-	newvalue = S3C2410_EXTINT_HILEV;

+	newvalue = S3C_GPIO_LEVEL_HIGH;

break;