#define DSI_PANEL_RESET 1
#define DSI_PANEL_RST_GPIO TEGRA_GPIO_PH3
+#define DSI_PANEL_BL_EN_GPIO TEGRA_GPIO_PH2
#define DC_CTRL_MODE TEGRA_DC_OUT_CONTINUOUS_MODE
msleep(20);
#endif
+ gpio_direction_output(DSI_PANEL_BL_EN_GPIO, 1);
+
#if PANEL_10_1_PANASONIC_1920_1200 || \
PANEL_11_6_AUO_1920_1080 || \
PANEL_10_1_SHARP_2560_1600
static struct platform_tegra_pwm_backlight_data dalmore_disp1_bl_data = {
.which_dc = 0,
.which_pwm = TEGRA_PWM_PM1,
- .gpio_conf_to_sfio = TEGRA_GPIO_PW1,
+ .gpio_conf_to_sfio = TEGRA_GPIO_PH1,
.max_brightness = 255,
.dft_brightness = 224,
.notify = dalmore_disp1_bl_notify,
return err;
}
+ err = gpio_request(DSI_PANEL_BL_EN_GPIO, "panel backlight");
+ if (err < 0) {
+ pr_err("panel backlight gpio request failed\n");
+ return err;
+ }
+
return err;
}
#define DSI_PANEL_RESET 1
#define DSI_PANEL_RST_GPIO TEGRA_GPIO_PH5
+#define DSI_PANEL_BL_EN_GPIO TEGRA_GPIO_PH2
#define DC_CTRL_MODE TEGRA_DC_OUT_CONTINUOUS_MODE
msleep(20);
#endif
+ gpio_direction_output(DSI_PANEL_BL_EN_GPIO, 1);
+
#if PANEL_5_LG_720_1280
if (avdd_lcd_2v8) {
err = regulator_enable(avdd_lcd_2v8);
static struct platform_tegra_pwm_backlight_data pluto_disp1_bl_data = {
.which_dc = 0,
.which_pwm = TEGRA_PWM_PM1,
- .gpio_conf_to_sfio = TEGRA_GPIO_PW1,
+ .gpio_conf_to_sfio = TEGRA_GPIO_PH1,
.max_brightness = 255,
.dft_brightness = 224,
.notify = pluto_disp1_bl_notify,
return err;
}
+ err = gpio_request(DSI_PANEL_BL_EN_GPIO, "panel backlight");
+ if (err < 0) {
+ pr_err("panel backlight gpio request failed\n");
+ return err;
+ }
+
#if PANEL_5_LG_720_1280
err = gpio_request(EN_VDD_LCD_1V8, "panel regulator enable");
if (err < 0) {