From patchwork Fri Sep 11 13:14:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= X-Patchwork-Id: 7161681 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9015F9F326 for ; Fri, 11 Sep 2015 13:14:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C8F8320797 for ; Fri, 11 Sep 2015 13:14:43 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id ED8FD20303 for ; Fri, 11 Sep 2015 13:14:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6A01E6E41C; Fri, 11 Sep 2015 06:14:42 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id CAD356E41C for ; Fri, 11 Sep 2015 06:14:40 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 11 Sep 2015 06:14:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,511,1437462000"; d="scan'208";a="787402602" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by fmsmga001.fm.intel.com with SMTP; 11 Sep 2015 06:14:38 -0700 Received: by stinkbox (sSMTP sendmail emulation); Fri, 11 Sep 2015 16:14:38 +0300 From: ville.syrjala@linux.intel.com To: intel-gfx@lists.freedesktop.org Date: Fri, 11 Sep 2015 16:14:32 +0300 Message-Id: <1441977272-1263-3-git-send-email-ville.syrjala@linux.intel.com> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1441977272-1263-1-git-send-email-ville.syrjala@linux.intel.com> References: <1441977272-1263-1-git-send-email-ville.syrjala@linux.intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH i-g-t 3/3] tools/intel_bios_reader: Add MIPI device type X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ville Syrjälä Decode the MIPI [sic] device type. Signed-off-by: Ville Syrjälä --- tools/intel_bios.h | 1 + tools/intel_bios_reader.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/intel_bios.h b/tools/intel_bios.h index a97797f..6135a2b 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 459b547..e308eaa 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]);