diff options
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index 15b6d450fbf0..a64e38841c49 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c | |||
@@ -166,6 +166,16 @@ static void ap320_wvga_power_on(void *board_data) | |||
166 | ctrl_outw(0x100, FPGA_BKLREG); | 166 | ctrl_outw(0x100, FPGA_BKLREG); |
167 | } | 167 | } |
168 | 168 | ||
169 | static void ap320_wvga_power_off(void *board_data) | ||
170 | { | ||
171 | /* backlight */ | ||
172 | ctrl_outw(0, FPGA_BKLREG); | ||
173 | gpio_set_value(GPIO_PTS3, 1); | ||
174 | |||
175 | /* ASD AP-320/325 LCD OFF */ | ||
176 | ctrl_outw(0, FPGA_LCDREG); | ||
177 | } | ||
178 | |||
169 | static struct sh_mobile_lcdc_info lcdc_info = { | 179 | static struct sh_mobile_lcdc_info lcdc_info = { |
170 | .clock_source = LCDC_CLK_EXTERNAL, | 180 | .clock_source = LCDC_CLK_EXTERNAL, |
171 | .ch[0] = { | 181 | .ch[0] = { |
@@ -191,6 +201,7 @@ static struct sh_mobile_lcdc_info lcdc_info = { | |||
191 | }, | 201 | }, |
192 | .board_cfg = { | 202 | .board_cfg = { |
193 | .display_on = ap320_wvga_power_on, | 203 | .display_on = ap320_wvga_power_on, |
204 | .display_off = ap320_wvga_power_off, | ||
194 | }, | 205 | }, |
195 | } | 206 | } |
196 | }; | 207 | }; |