summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-09-11 15:27:32 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2015-09-11 16:11:35 +0300
commit2155d1eb546f1b4082374266323cbb709f1e6659 (patch)
tree66280a88f24063012f8e77808aeaf1558202c669 /tools
parentd8313c30021f039a5d9d380b28a7d20e0c70f1f8 (diff)
tools/intel_bios_reader: Add MIPI device type
Decode the MIPI [sic] device type. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/intel_bios.h1
-rw-r--r--tools/intel_bios_reader.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/intel_bios.h b/tools/intel_bios.h
index a97797f0..6135a2b4 100644
--- a/tools/intel_bios.h
+++ b/tools/intel_bios.h
@@ -197,6 +197,7 @@ struct bdb_general_features {
#define DEVICE_TYPE_HDMI_DVI 0x60d2
#define DEVICE_TYPE_DVI 0x68d2
#define DEVICE_TYPE_eDP 0x78C6
+#define DEVICE_TYPE_MIPI 0x7cc2
#define DEVICE_CFG_NONE 0x00
#define DEVICE_CFG_12BIT_DVOB 0x01
diff --git a/tools/intel_bios_reader.c b/tools/intel_bios_reader.c
index 459b547b..e308eaa0 100644
--- a/tools/intel_bios_reader.c
+++ b/tools/intel_bios_reader.c
@@ -239,6 +239,7 @@ static const struct {
{ DEVICE_TYPE_HDMI_DVI, "HDMI/DVI" },
{ DEVICE_TYPE_DVI, "DVI" },
{ DEVICE_TYPE_eDP, "eDP" },
+ { DEVICE_TYPE_MIPI, "MIPI" },
};
static const int num_child_device_types =
sizeof(child_device_types) / sizeof(child_device_types[0]);