summaryrefslogtreecommitdiff
path: root/board/ge/mx53ppd/mx53ppd_video.c
diff options
context:
space:
mode:
authorRobert Beckett <bob.beckett@collabora.com>2020-01-31 15:07:54 +0200
committerStefano Babic <sbabic@denx.de>2020-02-09 21:47:20 +0100
commit1dec7fa79716adb478052798ceb0cf5c3a412f61 (patch)
tree9b7cf8add78976ba994a332ba6f7cb68ead607d2 /board/ge/mx53ppd/mx53ppd_video.c
parentb64088c5c2d161a8732f04076195a48d8bbf25e7 (diff)
board: ge: bx50v3, imx53ppd: use DM I2C
Remove old (pre-DM) i2c setup code. Enable DM i2c. Convert common code to use DM rtc. Convert common code to read VPD from eeprom partition. Convert the generic i2c PMIC init code to use the new da9063 driver. mx53ppd only: Correct RTC compatible in device tree. Enable MXC DM i2c driver. Define CONFIG_SYS_MALLOC_F_LEN so that DM is available in pre-reloc. Make GPIO banks available during preloc, since initialisation is done in board_early_init_f(). Add gpio_request() calls to satisfy the DM_GPIO compatibility API. Remove unused power configuration. Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Signed-off-by: Ian Ray <ian.ray@ge.com>
Diffstat (limited to 'board/ge/mx53ppd/mx53ppd_video.c')
-rw-r--r--board/ge/mx53ppd/mx53ppd_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/ge/mx53ppd/mx53ppd_video.c b/board/ge/mx53ppd/mx53ppd_video.c
index 394dcd6801..9dd9f0c98d 100644
--- a/board/ge/mx53ppd/mx53ppd_video.c
+++ b/board/ge/mx53ppd/mx53ppd_video.c
@@ -104,6 +104,7 @@ static void lcd_enable(void)
pwm_config(1, 5000000, 5000000);
/* Backlight Power */
+ gpio_request(BACKLIGHT_ENABLE, "BACKLIGHT_ENABLE");
gpio_direction_output(BACKLIGHT_ENABLE, 1);
pwm_enable(1);