Bo-Chen Chen | c5d0c94 | 2022-12-01 16:35:48 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef __MAINBOARD_GOOGLE_GERALT_PANEL_H__ |
| 4 | #define __MAINBOARD_GOOGLE_GERALT_PANEL_H__ |
| 5 | |
Yidi Lin | ba604b5 | 2024-01-03 16:07:24 +0800 | [diff] [blame] | 6 | #include <soc/display.h> |
Ruihai Zhou | d4b6b81 | 2023-11-08 09:11:34 +0800 | [diff] [blame] | 7 | #include <soc/tps65132s.h> |
Bo-Chen Chen | 4946516 | 2022-11-30 14:47:41 +0800 | [diff] [blame] | 8 | |
Ruihai Zhou | d3089a3 | 2023-11-07 16:29:50 +0800 | [diff] [blame] | 9 | void configure_mipi_pwm_backlight(void); |
Bo-Chen Chen | f57155b | 2022-12-07 19:09:57 +0800 | [diff] [blame] | 10 | void fill_lp_backlight_gpios(struct lb_gpios *gpios); |
Ruihai Zhou | d4b6b81 | 2023-11-08 09:11:34 +0800 | [diff] [blame] | 11 | void power_on_mipi_panel(const struct tps65132s_cfg *cfg); |
Bo-Chen Chen | c5d0c94 | 2022-12-01 16:35:48 +0800 | [diff] [blame] | 12 | uint32_t panel_id(void); |
Bo-Chen Chen | 4946516 | 2022-11-30 14:47:41 +0800 | [diff] [blame] | 13 | struct panel_description *get_panel_description(uint32_t panel_id); |
Bo-Chen Chen | c5d0c94 | 2022-12-01 16:35:48 +0800 | [diff] [blame] | 14 | |
| 15 | #endif |