Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. All rights reserved. |
| 3 | * Sanghee Kim <sh0130.kim@samsung.com> |
| 4 | * Piotr Wilczek <p.wilczek@samsung.com> |
| 5 | * |
| 6 | * SPDX-License-Identifier: GPL-2.0+ |
| 7 | */ |
| 8 | |
| 9 | #include <common.h> |
| 10 | #include <lcd.h> |
Simon Glass | 903fd79 | 2014-10-20 19:48:37 -0600 | [diff] [blame] | 11 | #include <asm/gpio.h> |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 12 | #include <asm/arch/pinmux.h> |
| 13 | #include <asm/arch/power.h> |
Piotr Wilczek | 1ecab0f | 2014-03-07 14:59:49 +0100 | [diff] [blame] | 14 | #include <asm/arch/mipi_dsim.h> |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 15 | #include <power/pmic.h> |
| 16 | #include <power/max77686_pmic.h> |
| 17 | #include <power/battery.h> |
| 18 | #include <power/max77693_pmic.h> |
| 19 | #include <power/max77693_muic.h> |
| 20 | #include <power/max77693_fg.h> |
| 21 | #include <libtizen.h> |
| 22 | #include <errno.h> |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 23 | #include <usb.h> |
Marek Vasut | 5d5716e | 2015-12-04 02:51:20 +0100 | [diff] [blame] | 24 | #include <usb/dwc2_udc.h> |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 25 | #include <usb_mass_storage.h> |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 26 | |
| 27 | DECLARE_GLOBAL_DATA_PTR; |
| 28 | |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 29 | static unsigned int board_rev = -1; |
| 30 | |
| 31 | static inline u32 get_model_rev(void); |
| 32 | |
| 33 | static void check_hw_revision(void) |
| 34 | { |
| 35 | int modelrev = 0; |
Simon Glass | 7f19610 | 2014-10-20 19:48:39 -0600 | [diff] [blame] | 36 | char str[12]; |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 37 | int i; |
| 38 | |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 39 | /* |
| 40 | * GPM1[1:0]: MODEL_REV[1:0] |
| 41 | * Don't set as pull-none for these N/C pin. |
| 42 | * TRM say that it may cause unexcepted state and leakage current. |
| 43 | * and pull-none is only for output function. |
| 44 | */ |
Simon Glass | 7f19610 | 2014-10-20 19:48:39 -0600 | [diff] [blame] | 45 | for (i = 0; i < 2; i++) { |
| 46 | int pin = i + EXYNOS4X12_GPIO_M10; |
| 47 | |
| 48 | sprintf(str, "model_rev%d", i); |
| 49 | gpio_request(pin, str); |
| 50 | gpio_cfg_pin(pin, S5P_GPIO_INPUT); |
| 51 | } |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 52 | |
| 53 | /* GPM1[5:2]: HW_REV[3:0] */ |
Simon Glass | 7f19610 | 2014-10-20 19:48:39 -0600 | [diff] [blame] | 54 | for (i = 0; i < 4; i++) { |
| 55 | int pin = i + EXYNOS4X12_GPIO_M12; |
| 56 | |
| 57 | sprintf(str, "hw_rev%d", i); |
| 58 | gpio_request(pin, str); |
| 59 | gpio_cfg_pin(pin, S5P_GPIO_INPUT); |
| 60 | gpio_set_pull(pin, S5P_GPIO_PULL_NONE); |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 61 | } |
| 62 | |
| 63 | /* GPM1[1:0]: MODEL_REV[1:0] */ |
| 64 | for (i = 0; i < 2; i++) |
Akshay Saraswat | f6ae1ca | 2014-05-13 10:30:14 +0530 | [diff] [blame] | 65 | modelrev |= (gpio_get_value(EXYNOS4X12_GPIO_M10 + i) << i); |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 66 | |
| 67 | /* board_rev[15:8] = model */ |
| 68 | board_rev = modelrev << 8; |
| 69 | } |
| 70 | |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 71 | u32 get_board_rev(void) |
| 72 | { |
| 73 | return board_rev; |
| 74 | } |
| 75 | |
| 76 | static inline u32 get_model_rev(void) |
| 77 | { |
| 78 | return (board_rev >> 8) & 0xff; |
| 79 | } |
| 80 | |
| 81 | static void board_external_gpio_init(void) |
| 82 | { |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 83 | /* |
| 84 | * some pins which in alive block are connected with external pull-up |
| 85 | * but it's default setting is pull-down. |
| 86 | * if that pin set as input then that floated |
| 87 | */ |
| 88 | |
Akshay Saraswat | f6ae1ca | 2014-05-13 10:30:14 +0530 | [diff] [blame] | 89 | gpio_set_pull(EXYNOS4X12_GPIO_X02, S5P_GPIO_PULL_NONE); /* PS_ALS_INT */ |
| 90 | gpio_set_pull(EXYNOS4X12_GPIO_X04, S5P_GPIO_PULL_NONE); /* TSP_nINT */ |
| 91 | gpio_set_pull(EXYNOS4X12_GPIO_X07, S5P_GPIO_PULL_NONE); /* AP_PMIC_IRQ*/ |
| 92 | gpio_set_pull(EXYNOS4X12_GPIO_X15, S5P_GPIO_PULL_NONE); /* IF_PMIC_IRQ*/ |
| 93 | gpio_set_pull(EXYNOS4X12_GPIO_X20, S5P_GPIO_PULL_NONE); /* VOL_UP */ |
| 94 | gpio_set_pull(EXYNOS4X12_GPIO_X21, S5P_GPIO_PULL_NONE); /* VOL_DOWN */ |
| 95 | gpio_set_pull(EXYNOS4X12_GPIO_X23, S5P_GPIO_PULL_NONE); /* FUEL_ALERT */ |
| 96 | gpio_set_pull(EXYNOS4X12_GPIO_X24, S5P_GPIO_PULL_NONE); /* ADC_INT */ |
| 97 | gpio_set_pull(EXYNOS4X12_GPIO_X27, S5P_GPIO_PULL_NONE); /* nPOWER */ |
| 98 | gpio_set_pull(EXYNOS4X12_GPIO_X30, S5P_GPIO_PULL_NONE); /* WPC_INT */ |
| 99 | gpio_set_pull(EXYNOS4X12_GPIO_X35, S5P_GPIO_PULL_NONE); /* OK_KEY */ |
| 100 | gpio_set_pull(EXYNOS4X12_GPIO_X37, S5P_GPIO_PULL_NONE); /* HDMI_HPD */ |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 101 | } |
| 102 | |
Piotr Wilczek | 1ecab0f | 2014-03-07 14:59:49 +0100 | [diff] [blame] | 103 | int exynos_early_init_f(void) |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 104 | { |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 105 | board_external_gpio_init(); |
| 106 | |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 107 | return 0; |
| 108 | } |
| 109 | |
Piotr Wilczek | 1ecab0f | 2014-03-07 14:59:49 +0100 | [diff] [blame] | 110 | int exynos_init(void) |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 111 | { |
Łukasz Majewski | 2454252 | 2014-04-09 15:09:44 +0200 | [diff] [blame] | 112 | struct exynos4_power *pwr = |
| 113 | (struct exynos4_power *)samsung_get_base_power(); |
| 114 | |
Piotr Wilczek | 1ecab0f | 2014-03-07 14:59:49 +0100 | [diff] [blame] | 115 | check_hw_revision(); |
| 116 | printf("HW Revision:\t0x%04x\n", board_rev); |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 117 | |
Łukasz Majewski | 2454252 | 2014-04-09 15:09:44 +0200 | [diff] [blame] | 118 | /* |
| 119 | * First bootloader on the TRATS2 platform uses |
| 120 | * INFORM4 and INFORM5 registers for recovery |
| 121 | * |
| 122 | * To indicate correct boot chain - those two |
| 123 | * registers must be cleared out |
| 124 | */ |
| 125 | writel(0, &pwr->inform4); |
| 126 | writel(0, &pwr->inform5); |
| 127 | |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 128 | return 0; |
| 129 | } |
| 130 | |
Piotr Wilczek | 1ecab0f | 2014-03-07 14:59:49 +0100 | [diff] [blame] | 131 | int exynos_power_init(void) |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 132 | { |
Simon Glass | fc47cf9 | 2016-11-23 06:34:40 -0700 | [diff] [blame] | 133 | #ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */ |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 134 | int chrg; |
| 135 | struct power_battery *pb; |
| 136 | struct pmic *p_chrg, *p_muic, *p_fg, *p_bat; |
| 137 | |
Piotr Wilczek | ef23b99 | 2013-12-18 15:43:37 +0100 | [diff] [blame] | 138 | pmic_init_max77693(I2C_10); /* I2C adapter 10 - bus name soft1 */ |
| 139 | power_muic_init(I2C_10); /* I2C adapter 10 - bus name soft1 */ |
| 140 | power_fg_init(I2C_9); /* I2C adapter 9 - bus name soft0 */ |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 141 | power_bat_init(0); |
| 142 | |
| 143 | p_chrg = pmic_get("MAX77693_PMIC"); |
| 144 | if (!p_chrg) { |
| 145 | puts("MAX77693_PMIC: Not found\n"); |
| 146 | return -ENODEV; |
| 147 | } |
| 148 | |
| 149 | p_muic = pmic_get("MAX77693_MUIC"); |
| 150 | if (!p_muic) { |
| 151 | puts("MAX77693_MUIC: Not found\n"); |
| 152 | return -ENODEV; |
| 153 | } |
| 154 | |
| 155 | p_fg = pmic_get("MAX77693_FG"); |
| 156 | if (!p_fg) { |
| 157 | puts("MAX17042_FG: Not found\n"); |
| 158 | return -ENODEV; |
| 159 | } |
| 160 | |
| 161 | if (p_chrg->chrg->chrg_bat_present(p_chrg) == 0) |
| 162 | puts("No battery detected\n"); |
| 163 | |
| 164 | p_bat = pmic_get("BAT_TRATS2"); |
| 165 | if (!p_bat) { |
| 166 | puts("BAT_TRATS2: Not found\n"); |
| 167 | return -ENODEV; |
| 168 | } |
| 169 | |
| 170 | p_fg->parent = p_bat; |
| 171 | p_chrg->parent = p_bat; |
| 172 | p_muic->parent = p_bat; |
| 173 | |
| 174 | p_bat->pbat->battery_init(p_bat, p_fg, p_chrg, p_muic); |
| 175 | |
| 176 | pb = p_bat->pbat; |
| 177 | chrg = p_muic->chrg->chrg_type(p_muic); |
| 178 | debug("CHARGER TYPE: %d\n", chrg); |
| 179 | |
| 180 | if (!p_chrg->chrg->chrg_bat_present(p_chrg)) { |
| 181 | puts("No battery detected\n"); |
Przemyslaw Marczak | 4a18836 | 2014-06-10 16:55:08 +0200 | [diff] [blame] | 182 | return 0; |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 183 | } |
| 184 | |
| 185 | p_fg->fg->fg_battery_check(p_fg, p_bat); |
| 186 | |
| 187 | if (pb->bat->state == CHARGE && chrg == CHARGER_USB) |
| 188 | puts("CHARGE Battery !\n"); |
Simon Glass | fc47cf9 | 2016-11-23 06:34:40 -0700 | [diff] [blame] | 189 | #endif |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 190 | return 0; |
| 191 | } |
| 192 | |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 193 | #ifdef CONFIG_USB_GADGET |
| 194 | static int s5pc210_phy_control(int on) |
| 195 | { |
Simon Glass | fc47cf9 | 2016-11-23 06:34:40 -0700 | [diff] [blame] | 196 | #ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */ |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 197 | int ret = 0; |
| 198 | unsigned int val; |
| 199 | struct pmic *p, *p_pmic, *p_muic; |
| 200 | |
| 201 | p_pmic = pmic_get("MAX77686_PMIC"); |
| 202 | if (!p_pmic) |
| 203 | return -ENODEV; |
| 204 | |
| 205 | if (pmic_probe(p_pmic)) |
| 206 | return -1; |
| 207 | |
| 208 | p_muic = pmic_get("MAX77693_MUIC"); |
| 209 | if (!p_muic) |
| 210 | return -ENODEV; |
| 211 | |
| 212 | if (pmic_probe(p_muic)) |
| 213 | return -1; |
| 214 | |
| 215 | if (on) { |
| 216 | ret = max77686_set_ldo_mode(p_pmic, 12, OPMODE_ON); |
| 217 | if (ret) |
| 218 | return -1; |
| 219 | |
| 220 | p = pmic_get("MAX77693_PMIC"); |
| 221 | if (!p) |
| 222 | return -ENODEV; |
| 223 | |
| 224 | if (pmic_probe(p)) |
| 225 | return -1; |
| 226 | |
| 227 | /* SAFEOUT */ |
| 228 | ret = pmic_reg_read(p, MAX77693_SAFEOUT, &val); |
| 229 | if (ret) |
| 230 | return -1; |
| 231 | |
| 232 | val |= MAX77693_ENSAFEOUT1; |
| 233 | ret = pmic_reg_write(p, MAX77693_SAFEOUT, val); |
| 234 | if (ret) |
| 235 | return -1; |
| 236 | |
| 237 | /* PATH: USB */ |
| 238 | ret = pmic_reg_write(p_muic, MAX77693_MUIC_CONTROL1, |
| 239 | MAX77693_MUIC_CTRL1_DN1DP2); |
| 240 | |
| 241 | } else { |
| 242 | ret = max77686_set_ldo_mode(p_pmic, 12, OPMODE_LPM); |
| 243 | if (ret) |
| 244 | return -1; |
| 245 | |
| 246 | /* PATH: UART */ |
| 247 | ret = pmic_reg_write(p_muic, MAX77693_MUIC_CONTROL1, |
| 248 | MAX77693_MUIC_CTRL1_UT1UR2); |
| 249 | } |
| 250 | |
| 251 | if (ret) |
| 252 | return -1; |
Simon Glass | fc47cf9 | 2016-11-23 06:34:40 -0700 | [diff] [blame] | 253 | #endif |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 254 | return 0; |
| 255 | } |
| 256 | |
Marek Vasut | c098287 | 2015-12-04 02:23:29 +0100 | [diff] [blame] | 257 | struct dwc2_plat_otg_data s5pc210_otg_data = { |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 258 | .phy_control = s5pc210_phy_control, |
| 259 | .regs_phy = EXYNOS4X12_USBPHY_BASE, |
| 260 | .regs_otg = EXYNOS4X12_USBOTG_BASE, |
| 261 | .usb_phy_ctrl = EXYNOS4X12_USBPHY_CONTROL, |
| 262 | .usb_flags = PHY0_SLEEP, |
| 263 | }; |
| 264 | |
| 265 | int board_usb_init(int index, enum usb_init_type init) |
| 266 | { |
| 267 | debug("USB_udc_probe\n"); |
Marek Vasut | a4bb9b3 | 2015-12-04 02:26:33 +0100 | [diff] [blame] | 268 | return dwc2_udc_probe(&s5pc210_otg_data); |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 269 | } |
| 270 | |
Mateusz Zalega | 75504e9 | 2014-04-30 13:07:48 +0200 | [diff] [blame] | 271 | int g_dnl_board_usb_cable_connected(void) |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 272 | { |
Simon Glass | fc47cf9 | 2016-11-23 06:34:40 -0700 | [diff] [blame] | 273 | #ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */ |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 274 | struct pmic *muic = pmic_get("MAX77693_MUIC"); |
| 275 | if (!muic) |
| 276 | return 0; |
| 277 | |
| 278 | return !!muic->chrg->chrg_type(muic); |
Simon Glass | fc47cf9 | 2016-11-23 06:34:40 -0700 | [diff] [blame] | 279 | #else |
| 280 | return false; |
| 281 | #endif |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 282 | } |
| 283 | #endif |
Piotr Wilczek | ab8efbb | 2013-11-21 15:46:45 +0100 | [diff] [blame] | 284 | |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 285 | /* |
| 286 | * LCD |
| 287 | */ |
| 288 | |
| 289 | #ifdef CONFIG_LCD |
Piotr Wilczek | 1ecab0f | 2014-03-07 14:59:49 +0100 | [diff] [blame] | 290 | int mipi_power(void) |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 291 | { |
Simon Glass | fc47cf9 | 2016-11-23 06:34:40 -0700 | [diff] [blame] | 292 | #ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */ |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 293 | struct pmic *p = pmic_get("MAX77686_PMIC"); |
| 294 | |
| 295 | /* LDO8 VMIPI_1.0V_AP */ |
| 296 | max77686_set_ldo_mode(p, 8, OPMODE_ON); |
| 297 | /* LDO10 VMIPI_1.8V_AP */ |
| 298 | max77686_set_ldo_mode(p, 10, OPMODE_ON); |
Simon Glass | fc47cf9 | 2016-11-23 06:34:40 -0700 | [diff] [blame] | 299 | #endif |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 300 | |
| 301 | return 0; |
| 302 | } |
| 303 | |
| 304 | void exynos_lcd_power_on(void) |
| 305 | { |
Simon Glass | fc47cf9 | 2016-11-23 06:34:40 -0700 | [diff] [blame] | 306 | #ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */ |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 307 | struct pmic *p = pmic_get("MAX77686_PMIC"); |
| 308 | |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 309 | /* LCD_2.2V_EN: GPC0[1] */ |
Simon Glass | 7f19610 | 2014-10-20 19:48:39 -0600 | [diff] [blame] | 310 | gpio_request(EXYNOS4X12_GPIO_C01, "lcd_2v2_en"); |
Akshay Saraswat | f6ae1ca | 2014-05-13 10:30:14 +0530 | [diff] [blame] | 311 | gpio_set_pull(EXYNOS4X12_GPIO_C01, S5P_GPIO_PULL_UP); |
| 312 | gpio_direction_output(EXYNOS4X12_GPIO_C01, 1); |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 313 | |
| 314 | /* LDO25 VCC_3.1V_LCD */ |
| 315 | pmic_probe(p); |
| 316 | max77686_set_ldo_voltage(p, 25, 3100000); |
| 317 | max77686_set_ldo_mode(p, 25, OPMODE_LPM); |
Simon Glass | fc47cf9 | 2016-11-23 06:34:40 -0700 | [diff] [blame] | 318 | #endif |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 319 | } |
| 320 | |
| 321 | void exynos_reset_lcd(void) |
| 322 | { |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 323 | /* reset lcd */ |
Simon Glass | 7f19610 | 2014-10-20 19:48:39 -0600 | [diff] [blame] | 324 | gpio_request(EXYNOS4X12_GPIO_F21, "lcd_reset"); |
Akshay Saraswat | f6ae1ca | 2014-05-13 10:30:14 +0530 | [diff] [blame] | 325 | gpio_direction_output(EXYNOS4X12_GPIO_F21, 0); |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 326 | udelay(10); |
Akshay Saraswat | f6ae1ca | 2014-05-13 10:30:14 +0530 | [diff] [blame] | 327 | gpio_set_value(EXYNOS4X12_GPIO_F21, 1); |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 328 | } |
| 329 | |
Piotr Wilczek | 1ecab0f | 2014-03-07 14:59:49 +0100 | [diff] [blame] | 330 | void exynos_lcd_misc_init(vidinfo_t *vid) |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 331 | { |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 332 | #ifdef CONFIG_TIZEN |
| 333 | get_tizen_logo_info(vid); |
| 334 | #endif |
Piotr Wilczek | 1ecab0f | 2014-03-07 14:59:49 +0100 | [diff] [blame] | 335 | #ifdef CONFIG_S6E8AX0 |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 336 | s6e8ax0_init(); |
Piotr Wilczek | 1ecab0f | 2014-03-07 14:59:49 +0100 | [diff] [blame] | 337 | #endif |
Piotr Wilczek | 4d6c967 | 2013-09-20 15:01:27 +0200 | [diff] [blame] | 338 | } |
| 339 | #endif /* LCD */ |