cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / corsola / panel.h
bloba4198f3ecd1a9f1ec95db097d53f2792ecec9fd1
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __MAINBOARD_GOOGLE_CORSOLA_DISPLAY_H__
4 #define __MAINBOARD_GOOGLE_CORSOLA_DISPLAY_H__
6 #include <soc/display.h>
7 #include <soc/i2c.h>
9 #define BRIDGE_I2C I2C0
10 #define PMIC_AW37503_SLAVE 0x3E
11 #define PMIC_I2C_BUS I2C6
13 void aw37503_init(unsigned int bus);
14 bool is_pmic_aw37503(unsigned int bus);
15 uint32_t panel_id(void);
16 void backlight_control(void);
18 /* Return the mipi panel description from given panel id */
19 struct panel_description *get_panel_description(void);
21 /* Return the ANX7625 bridge description */
22 struct panel_description *get_anx7625_description(void);
24 /* Return the PS8640 bridge description */
25 struct panel_description *get_ps8640_description(void);
27 #endif