Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254869
b: refs/heads/master
c: 8c568df
h: refs/heads/master
i:
  254867: d83270f
v: v3
  • Loading branch information
Sven Neumann authored and Eric Miao committed Jul 11, 2011
1 parent 6bb40b0 commit bb713a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a065685d2f0b4bb69d0f64d2cd396a5c463db2a9
refs/heads/master: 8c568df9d7e9b40063f0a5d4235e3d28df88f92a
11 changes: 6 additions & 5 deletions trunk/arch/arm/mach-pxa/raumfeld.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,14 +598,15 @@ static void __init raumfeld_lcd_init(void)

pxa_set_fb_info(NULL, &raumfeld_sharp_lcd_info);

/* Earlier devices had the backlight regulator controlled
* via PWM, later versions use another controller for that */
if ((system_rev & 0xff) < 2) {
/* Hardware revision 2 has the backlight regulator controlled
* by an LT3593, earlier and later devices use PWM for that. */
if ((system_rev & 0xff) == 2) {
platform_device_register(&raumfeld_lt3593_device);
} else {
mfp_cfg_t raumfeld_pwm_pin_config = GPIO17_PWM0_OUT;
pxa3xx_mfp_config(&raumfeld_pwm_pin_config, 1);
platform_device_register(&raumfeld_pwm_backlight_device);
} else
platform_device_register(&raumfeld_lt3593_device);
}

ret = gpio_request(GPIO_TFT_VA_EN, "display VA enable");
if (ret < 0)
Expand Down

0 comments on commit bb713a5

Please sign in to comment.