.state = &stingray_cpcap_audio_state,
.speaker_gpio = TEGRA_GPIO_PR3,
.headset_gpio = -1,
+ .spdif_gpio = TEGRA_GPIO_PD4,
.bluetooth_bypass = init_dac2,
};
tegra_dvfs_rail_disable_by_name("vdd_core");
}
+ /* disable spdif GPIO for now */
+ /* spdif line is turned on but never used, this causes pops
+ on a speaker dock connected to HDMI monitor, later version
+ h/w with spdif audio out will need this pin */
+ tegra_gpio_enable(TEGRA_GPIO_PD4);
+ gpio_request(TEGRA_GPIO_PD4, "spdif_enable");
+ gpio_direction_output(TEGRA_GPIO_PD4, 0);
+ gpio_export(TEGRA_GPIO_PD4, false);
+
/* Enable 4329 Power GPIO */
tegra_gpio_enable(TEGRA_GPIO_PU4);
gpio_request(TEGRA_GPIO_PU4, "4329_pwr");