diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-12-12 15:34:00 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2012-12-12 15:34:00 +0100 |
commit | ab52fcd9bf5aea752cbd4933921e2c63ee5bf069 (patch) | |
tree | 3f9514680c15655a75ec1f862d0993db4bbc0e9e /arch/arm/mach-tegra/board-colibri_t20-panel.c | |
parent | 272cca580687f898c933da7fad1afb208804a5ae (diff) |
colibri_t20: move HDMI power rail configuration
The HDMI power rail configuration used to be done within the LVDS aka
TFTLCD panel enable function. Now moving it to the platform power
initialisation where it really belongs. This avoids any
duplicate/spurious regulator configuration.
Diffstat (limited to 'arch/arm/mach-tegra/board-colibri_t20-panel.c')
-rw-r--r-- | arch/arm/mach-tegra/board-colibri_t20-panel.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/arm/mach-tegra/board-colibri_t20-panel.c b/arch/arm/mach-tegra/board-colibri_t20-panel.c index 006f668659cb..21a992252922 100644 --- a/arch/arm/mach-tegra/board-colibri_t20-panel.c +++ b/arch/arm/mach-tegra/board-colibri_t20-panel.c @@ -113,31 +113,6 @@ static struct platform_device colibri_t20_backlight_device = { #ifdef CONFIG_TEGRA_DC static int colibri_t20_panel_enable(void) { - struct regulator *reg = regulator_get(NULL, "vdd_ldo4"); - - if (!reg) { - regulator_enable(reg); - regulator_put(reg); - } - - reg = regulator_get(NULL, "avdd_vdac"); - pr_info("LDO6: %d\n", regulator_get_voltage(reg)); - regulator_set_voltage(reg, 2850000, 2850000); - pr_info("LDO6: %d\n", regulator_get_voltage(reg)); - regulator_enable(reg); - - reg = regulator_get(NULL, "avdd_hdmi"); - pr_info("LDO7: %d\n", regulator_get_voltage(reg)); - regulator_set_voltage(reg, 3300000, 3300000); - pr_info("LDO7: %d\n", regulator_get_voltage(reg)); - regulator_enable(reg); - - reg = regulator_get(NULL, "avdd_hdmi_pll"); - pr_info("LDO8: %d\n", regulator_get_voltage(reg)); - regulator_set_voltage(reg, 1800000, 1800000); - pr_info("LDO8: %d\n", regulator_get_voltage(reg)); - regulator_enable(reg); - return 0; } |