summaryrefslogtreecommitdiff
path: root/src/mainboard/google/geralt/panel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/geralt/panel.h')
-rw-r--r--src/mainboard/google/geralt/panel.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/geralt/panel.h b/src/mainboard/google/geralt/panel.h
index e940094da0..40e880b6c6 100644
--- a/src/mainboard/google/geralt/panel.h
+++ b/src/mainboard/google/geralt/panel.h
@@ -3,6 +3,19 @@
#ifndef __MAINBOARD_GOOGLE_GERALT_PANEL_H__
#define __MAINBOARD_GOOGLE_GERALT_PANEL_H__
+#include <mipi/panel.h>
+#include <soc/ddp.h>
+
+struct panel_description {
+ const char *name;
+ struct panel_serializable_data *s;
+ void (*power_on)(void);
+ void (*configure_panel_backlight)(void);
+ enum disp_path_sel disp_path;
+};
+
uint32_t panel_id(void);
+struct panel_description *get_panel_description(uint32_t panel_id);
+struct panel_description *get_active_panel(void);
#endif