diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-09-11 15:01:16 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-09-11 16:11:35 +0300 |
commit | d8313c30021f039a5d9d380b28a7d20e0c70f1f8 (patch) | |
tree | 7d9e56c55b5ea7c324cf30904f44789280455c1e /tools/intel_bios.h | |
parent | a02305260eaba0da622cacc8308adbeffa467db7 (diff) |
tools/intel_bios_reader: Decode the device type bits
Each bit in the device type is supposed to mean something. Decode their
meaning.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools/intel_bios.h')
-rw-r--r-- | tools/intel_bios.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/intel_bios.h b/tools/intel_bios.h index cd6abf94..a97797f0 100644 --- a/tools/intel_bios.h +++ b/tools/intel_bios.h @@ -142,6 +142,24 @@ struct bdb_general_features { #define DEVICE_HANDLE_LPF1 0x08 #define DEVICE_HANDLE_LFP2 0x80 +/* device type bits */ +#define DEVICE_TYPE_CLASS_EXTENSION 15 +#define DEVICE_TYPE_POWER_MANAGEMENT 14 +#define DEVICE_TYPE_HOTPLUG_SIGNALING 13 +#define DEVICE_TYPE_INTERNAL_CONNECTOR 12 +#define DEVICE_TYPE_NOT_HDMI_OUTPUT 11 +#define DEVICE_TYPE_MIPI_OUTPUT 10 +#define DEVICE_TYPE_COMPOSITE_OUTPUT 9 +#define DEVICE_TYPE_DIAL_CHANNEL 8 +#define DEVICE_TYPE_CONTENT_PROTECTION 7 +#define DEVICE_TYPE_HIGH_SPEED_LINK 6 +#define DEVICE_TYPE_LVDS_SIGNALING 5 +#define DEVICE_TYPE_TMDS_DVI_SIGNALING 4 +#define DEVICE_TYPE_VIDEO_SIGNALING 3 +#define DEVICE_TYPE_DISPLAYPORT_OUTPUT 2 +#define DEVICE_TYPE_DIGITAL_OUTPUT 1 +#define DEVICE_TYPE_ANALOG_OUTPUT 0 + /* Pre 915 */ #define DEVICE_TYPE_NONE 0x00 #define DEVICE_TYPE_CRT 0x01 |