| 1 |
|
| 2 |
|
| 3 |
#ifndef __MAINBOARD_GOOGLE_CORSOLA_DISPLAY_H__ |
| 4 |
#define __MAINBOARD_GOOGLE_CORSOLA_DISPLAY_H__ |
| 5 |
|
| 6 |
#include <soc/display.h> |
| 7 |
#include <soc/i2c.h> |
| 8 |
#include <soc/tps65132s.h> |
| 9 |
|
| 10 |
#define BRIDGE_I2C I2C0 |
| 11 |
#define PMIC_AW37503_SLAVE 0x3E |
| 12 |
#define PMIC_I2C_BUS I2C6 |
| 13 |
|
| 14 |
void aw37503_init(unsigned int bus); |
| 15 |
bool is_pmic_aw37503(unsigned int bus); |
| 16 |
uint32_t panel_id(void); |
| 17 |
void backlight_control(void); |
| 18 |
void tps65132s_power_on(struct tps65132s_cfg *config); |
| 19 |
|
| 20 |
|
| 21 |
struct panel_description *get_panel_description(void); |
| 22 |
|
| 23 |
|
| 24 |
struct panel_description *get_anx7625_description(void); |
| 25 |
|
| 26 |
|
| 27 |
struct panel_description *get_ps8640_description(void); |
| 28 |
|
| 29 |
#endif |