summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/board-mx6q_sabreauto.c
diff options
context:
space:
mode:
authorAdrian Alonso <aalonso@freescale.com>2011-12-15 14:49:09 -0600
committerJason Liu <r64343@freescale.com>2012-01-09 21:11:56 +0800
commitd81518ba9da18167611896f2612d8f03e8f7c5a2 (patch)
tree8be4775b470224825320f4cb9c919c5f22d52ea4 /arch/arm/mach-mx6/board-mx6q_sabreauto.c
parent28c526f2b01d8b026736446758c7c11369a442ac (diff)
ENGR00170519 imx6q-ard remove regulator for sgtl5000 codec
* Remove platform regulators information for sgtl5000 codec sgtl5000 codec not populated in imx6q-sabreauto platform * Remove register sgtl5000 regulator devices Signed-off-by: Adrian Alonso <aalonso@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/board-mx6q_sabreauto.c')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabreauto.c85
1 files changed, 0 insertions, 85 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
index 8a03c09cf4e8..1b5c2d48debb 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
@@ -1134,85 +1134,6 @@ static struct platform_device cs42888_sabreauto_vlc_reg_devices = {
#endif /* CONFIG_SND_SOC_CS42888 */
-#ifdef CONFIG_SND_SOC_SGTL5000
-
-static struct regulator_consumer_supply sgtl5000_sabreauto_consumer_vdda = {
- .supply = "VDDA",
- .dev_name = "0-000a",
-};
-
-static struct regulator_consumer_supply sgtl5000_sabreauto_consumer_vddio = {
- .supply = "VDDIO",
- .dev_name = "0-000a",
-};
-
-static struct regulator_consumer_supply sgtl5000_sabreauto_consumer_vddd = {
- .supply = "VDDD",
- .dev_name = "0-000a",
-};
-
-static struct regulator_init_data sgtl5000_sabreauto_vdda_reg_initdata = {
- .num_consumer_supplies = 1,
- .consumer_supplies = &sgtl5000_sabreauto_consumer_vdda,
-};
-
-static struct regulator_init_data sgtl5000_sabreauto_vddio_reg_initdata = {
- .num_consumer_supplies = 1,
- .consumer_supplies = &sgtl5000_sabreauto_consumer_vddio,
-};
-
-static struct regulator_init_data sgtl5000_sabreauto_vddd_reg_initdata = {
- .num_consumer_supplies = 1,
- .consumer_supplies = &sgtl5000_sabreauto_consumer_vddd,
-};
-
-static struct fixed_voltage_config sgtl5000_sabreauto_vdda_reg_config = {
- .supply_name = "VDDA",
- .microvolts = 1800000,
- .gpio = -1,
- .init_data = &sgtl5000_sabreauto_vdda_reg_initdata,
-};
-
-static struct fixed_voltage_config sgtl5000_sabreauto_vddio_reg_config = {
- .supply_name = "VDDIO",
- .microvolts = 3300000,
- .gpio = -1,
- .init_data = &sgtl5000_sabreauto_vddio_reg_initdata,
-};
-
-static struct fixed_voltage_config sgtl5000_sabreauto_vddd_reg_config = {
- .supply_name = "VDDD",
- .microvolts = 0,
- .gpio = -1,
- .init_data = &sgtl5000_sabreauto_vddd_reg_initdata,
-};
-
-static struct platform_device sgtl5000_sabreauto_vdda_reg_devices = {
- .name = "reg-fixed-voltage",
- .id = 7,
- .dev = {
- .platform_data = &sgtl5000_sabreauto_vdda_reg_config,
- },
-};
-
-static struct platform_device sgtl5000_sabreauto_vddio_reg_devices = {
- .name = "reg-fixed-voltage",
- .id = 8,
- .dev = {
- .platform_data = &sgtl5000_sabreauto_vddio_reg_config,
- },
-};
-
-static struct platform_device sgtl5000_sabreauto_vddd_reg_devices = {
- .name = "reg-fixed-voltage",
- .id = 9,
- .dev = {
- .platform_data = &sgtl5000_sabreauto_vddd_reg_config,
- },
-};
-
-#endif /* CONFIG_SND_SOC_SGTL5000 */
-
static int __init imx6q_init_audio(void)
{
struct clk *pll3_pfd, *esai_clk;
@@ -1230,12 +1151,6 @@ static int __init imx6q_init_audio(void)
clk_set_parent(esai_clk, pll3_pfd);
clk_set_rate(esai_clk, 101647058);
-#ifdef CONFIG_SND_SOC_SGTL5000
- platform_device_register(&sgtl5000_sabreauto_vdda_reg_devices);
- platform_device_register(&sgtl5000_sabreauto_vddio_reg_devices);
- platform_device_register(&sgtl5000_sabreauto_vddd_reg_devices);
-#endif
-
#ifdef CONFIG_SND_SOC_CS42888
platform_device_register(&cs42888_sabreauto_va_reg_devices);
platform_device_register(&cs42888_sabreauto_vd_reg_devices);