From patchwork Sat May 9 11:18:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srk@48.io X-Patchwork-Id: 11539783 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ABC7315E6 for ; Mon, 11 May 2020 07:17:56 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8AA202080C for ; Mon, 11 May 2020 07:17:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=48.io header.i=@48.io header.b="q8enCW2W" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8AA202080C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=48.io Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A8F056E241; Mon, 11 May 2020 07:17:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from pruto.48.io (48.io [IPv6:2a01:430:17:1::ffff:361]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1644A6E33A for ; Sat, 9 May 2020 11:27:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pruto.48.io (Postfix) with ESMTPSA id 762B694C91; Sat, 9 May 2020 13:18:43 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.2 pruto.48.io 762B694C91 Authentication-Results: pruto.48.io; dmarc=none (p=none dis=none) header.from=48.io DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=48.io; s=default; t=1589023123; bh=O95HQb+eKrzYJGAAvZyUidtJu6EvpStYBMsCe/HsdKU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=q8enCW2WkGcEePXOd74RmgJr5ty06CgzIPc/4f2O5gCz0EQOrEjY50bpsTO/ox2Ex kSsNPis7cxIrSCLNbPHmd8uV3MCdLMITivVjWKmlBxYLI90W1/v7CAan77DfFq8lWa ANlf83W31t0rb8U2CmGxopPxjDal5TKNF7Kfx0f8= From: srk@48.io To: Andrzej Hajda Subject: [PATCH 2/2] drm/panel: simple: Add Innolux N133HSE panel support Date: Sat, 9 May 2020 13:18:34 +0200 Message-Id: <20200509111834.26335-3-srk@48.io> In-Reply-To: <20200509111834.26335-1-srk@48.io> References: <20200509111834.26335-1-srk@48.io> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 11 May 2020 07:17:28 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jernej Skrabec , Richard Marko , Jonas Karlman , David Airlie , Neil Armstrong , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Lubomir Rintel , Rob Herring , Thierry Reding , Laurent Pinchart , Fabio Estevam , Sean Cross , Shawn Guo Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Sean Cross The Innolux N133HSE panel is a 13.3" 1920x1080 panel that contains an integrated backlight, and connects via eDP. It is used in the Kosagi Novena. Signed-off-by: Sean Cross Signed-off-by: Richard Marko Cc: Shawn Guo Cc: Fabio Estevam Cc: Thierry Reding To: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 3ad828eaefe1..c8a93771d398 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1906,6 +1906,30 @@ static const struct panel_desc innolux_n116bge = { }, }; +static const struct drm_display_mode innolux_n133hse_ea1_mode = { + .clock = 138500, + .hdisplay = 1920, + .hsync_start = 1920 + 46, + .hsync_end = 1920 + 46 + 30, + .htotal = 1920 + 46 + 30 + 84, + .vdisplay = 1080, + .vsync_start = 1080 + 2, + .vsync_end = 1080 + 2 + 4, + .vtotal = 1080 + 2 + 4 + 26, + .vrefresh = 60, +}; + +static const struct panel_desc innolux_n133hse_ea1 = { + .modes = &innolux_n133hse_ea1_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 293, + .height = 165, + }, + .connector_type = DRM_MODE_CONNECTOR_eDP, +}; + static const struct drm_display_mode innolux_n156bge_l21_mode = { .clock = 69300, .hdisplay = 1366, @@ -3577,6 +3601,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,n116bge", .data = &innolux_n116bge, + }, { + .compatible = "innolux,n133hse-ea1", + .data = &innolux_n133hse_ea1, }, { .compatible = "innolux,n156bge-l21", .data = &innolux_n156bge_l21,