blob: a4198f3ecd1a9f1ec95db097d53f2792ecec9fd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __MAINBOARD_GOOGLE_CORSOLA_DISPLAY_H__
#define __MAINBOARD_GOOGLE_CORSOLA_DISPLAY_H__
#include <soc/display.h>
#include <soc/i2c.h>
#define BRIDGE_I2C I2C0
#define PMIC_AW37503_SLAVE 0x3E
#define PMIC_I2C_BUS I2C6
void aw37503_init(unsigned int bus);
bool is_pmic_aw37503(unsigned int bus);
uint32_t panel_id(void);
void backlight_control(void);
/* Return the mipi panel description from given panel id */
struct panel_description *get_panel_description(void);
/* Return the ANX7625 bridge description */
struct panel_description *get_anx7625_description(void);
/* Return the PS8640 bridge description */
struct panel_description *get_ps8640_description(void);
#endif
|