From patchwork Wed Aug 8 12:15:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chauhan, Madhav" X-Patchwork-Id: 10559881 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E892296FA for ; Wed, 8 Aug 2018 12:25:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7D6E2AA9A for ; Wed, 8 Aug 2018 12:25:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC21B2AAAD; Wed, 8 Aug 2018 12:25:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 868F32AA9A for ; Wed, 8 Aug 2018 12:25:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5DBAA6E1DD; Wed, 8 Aug 2018 12:25:56 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id AB7FF6E1DD for ; Wed, 8 Aug 2018 12:25:54 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Aug 2018 05:25:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,457,1526367600"; d="scan'208";a="63520688" Received: from madhav-desktop.iind.intel.com ([10.223.25.13]) by orsmga008.jf.intel.com with ESMTP; 08 Aug 2018 05:25:52 -0700 From: Madhav Chauhan To: intel-gfx@lists.freedesktop.org Date: Wed, 8 Aug 2018 17:45:47 +0530 Message-Id: <1533730559-461-1-git-send-email-madhav.chauhan@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [Intel-gfx] [PATCH 00/12] ICL DSI CMD MODE X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jani.nikula@intel.com, vandita.kulkarni@intel.com, rodrigo.vivi@intel.com MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP MIPI DSI supports video and command mode type of operations. Command Mode refers to operation in which transactions primarily take the form of sending commands and data to a peripheral such as a display module, that incorporates a display controller. The host processor indirectly controls activity at the peripheral by sending commands, parameters and data to the display controller. This series implement DSI command mode support for ICELAKE platform. Patches are *not* tested and based on the following DSI patches published on GITHUB: https://github.com/madhavchauhan/Intel-DSI-Driver Madhav Chauhan (12): drm/i915/icl: Define utility pin ctrl register bits drm/i915/icl: Config utility pin for DSI drm/i915/icl: Define DSI cmd mode registers drm/i915/icl: DSI transcoder config for command mode drm/i915/icl: Define TE interrupt related bits drm/i915/icl: Find encoder for DSI command mode drm/i915/icl: Configure TE interrupts for DSI drm/i915/icl: Enable/disable TE interrupts drm/i915/icl: DSI TE interrupt handler drm/i915/icl: Unmask/Clear DSI TE interrupts drm/i915/icl: Send frame to DSI panel drm/i915/icl: Transcoder timings for command mode drivers/gpu/drm/i915/i915_irq.c | 65 ++++++++++++++++++++- drivers/gpu/drm/i915/i915_reg.h | 78 ++++++++++++++++++++++--- drivers/gpu/drm/i915/icl_dsi.c | 119 +++++++++++++++++++++++++++++++++++++++ drivers/gpu/drm/i915/intel_drv.h | 3 + 4 files changed, 255 insertions(+), 10 deletions(-)