mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
intel_bios_reader: Add support to dump MIPI Sequence block #53
Signed-off-by: Gaurav K Singh <gaurav.k.singh@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
committed by
Damien Lespiau
parent
525044ba32
commit
ac31f19264
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
struct vbt_header {
|
||||
char signature[20]; /**< Always starts with 'VBT$' */
|
||||
uint16_t version; /**< decimal */
|
||||
@@ -729,6 +730,31 @@ struct bdb_mipi_config {
|
||||
struct mipi_pps_data pps[MAX_MIPI_CONFIGURATIONS];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
/* variable number of these - max 6 */
|
||||
struct bdb_mipi_sequence {
|
||||
uint8_t version;
|
||||
uint8_t data[0];
|
||||
} __attribute__ ((packed));
|
||||
|
||||
/* MIPI Sequnece Block definitions */
|
||||
enum MIPI_SEQ {
|
||||
MIPI_SEQ_UNDEFINED = 0,
|
||||
MIPI_SEQ_ASSERT_RESET,
|
||||
MIPI_SEQ_INIT_OTP,
|
||||
MIPI_SEQ_DISPLAY_ON,
|
||||
MIPI_SEQ_DISPLAY_OFF,
|
||||
MIPI_SEQ_DEASSERT_RESET,
|
||||
MIPI_SEQ_MAX
|
||||
};
|
||||
|
||||
enum MIPI_SEQ_ELEMENT {
|
||||
MIPI_SEQ_ELEM_UNDEFINED = 0,
|
||||
MIPI_SEQ_ELEM_SEND_PKT,
|
||||
MIPI_SEQ_ELEM_DELAY,
|
||||
MIPI_SEQ_ELEM_GPIO,
|
||||
MIPI_SEQ_ELEM_MAX
|
||||
};
|
||||
|
||||
/*
|
||||
* Driver<->VBIOS interaction occurs through scratch bits in
|
||||
* GR18 & SWF*.
|
||||
|
||||
Reference in New Issue
Block a user