Debian Codegraph @

src/mainboard/google/corsola/panel.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
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 /* Return the mipi panel description from given panel id */
21 struct panel_description *get_panel_description(void);
22
23 /* Return the ANX7625 bridge description */
24 struct panel_description *get_anx7625_description(void);
25
26 /* Return the PS8640 bridge description */
27 struct panel_description *get_ps8640_description(void);
28
29 #endif