xref: /linux/drivers/gpu/drm/i915/display/intel_dsi_vbt.h (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2021 Intel Corporation
4  */
5 
6 #ifndef __INTEL_DSI_VBT_H__
7 #define __INTEL_DSI_VBT_H__
8 
9 #include <linux/types.h>
10 
11 enum mipi_seq;
12 struct intel_dsi;
13 
14 bool intel_dsi_vbt_init(struct intel_dsi *intel_dsi, u16 panel_id);
15 void intel_dsi_vbt_gpio_init(struct intel_dsi *intel_dsi, bool panel_is_on);
16 void intel_dsi_vbt_gpio_cleanup(struct intel_dsi *intel_dsi);
17 void intel_dsi_vbt_exec_sequence(struct intel_dsi *intel_dsi,
18 				 enum mipi_seq seq_id);
19 void intel_dsi_log_params(struct intel_dsi *intel_dsi);
20 
21 #endif /* __INTEL_DSI_VBT_H__ */
22