From patchwork Wed Feb 11 10:23:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Cross X-Patchwork-Id: 5811791 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 CFEE79F30C for ; Wed, 11 Feb 2015 10:32:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F09F4200FF for ; Wed, 11 Feb 2015 10:32:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 31C162024F for ; Wed, 11 Feb 2015 10:32:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752105AbbBKKco (ORCPT ); Wed, 11 Feb 2015 05:32:44 -0500 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:49304 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751894AbbBKKcl (ORCPT ); Wed, 11 Feb 2015 05:32:41 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 598FA20FC for ; Wed, 11 Feb 2015 05:23:17 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 11 Feb 2015 05:23:17 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=kosagi.com; h= x-sasl-enc:from:to:cc:subject:date:message-id:in-reply-to :references; s=mesmtp; bh=0q408YOmMi9rtAck0oIxRdjeSeM=; b=MrB2ay wjjwDFhdUP7VY/g/T0nRy2IU5/ESUyMCdqlpKW6zg7AiCUWrJe6EJUe7HdC7Y0DG pNKcNC8TJpz5bAGF+10RKQ+hMKKiVxm9UmK71hVzvXqLhuA/l/ug91nn0nfVj/+M mSRVvW2SKAMMVsKgyXCFqnAC5luYv6koRqBr8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:from:to:cc:subject:date :message-id:in-reply-to:references; s=smtpout; bh=0q408YOmMi9rtA ck0oIxRdjeSeM=; b=kb3Hiy7HPrWg3A3d/7XTMy+iKf3/qsSBEnXBV8TKOzreSm EHtRhI5bWLGKoKHsLQmMBkXRNpfm7K+bp+ZJ41BKxGdEEesv56+qdo97bTkr6x8H wAH0bELu/J9Qxv6iFj/dmnDbX2ub1DZjn8E9gXnjClRkbqy+XTn9vxl72d/CM= X-Sasl-enc: RnZDKvqUdMGOznZIJayDjNoG/27t+20tfzJsFvVoe91X 1423650196 Received: from localhost.localdomain (unknown [210.23.18.169]) by mail.messagingengine.com (Postfix) with ESMTPA id 3994F680112; Wed, 11 Feb 2015 05:23:12 -0500 (EST) From: Sean Cross To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Lucas Stach , Shawn Guo , Bjorn Helgaas , devicetree@vger.kernel.org, Richard Zhu , Grant Likely , linux-pci@vger.kernel.org Cc: bunnie@kosagi.com, Sean Cross Subject: [PATCH v3 1/3] drm/panel: simple: Add Innolux N133HSE panel support Date: Wed, 11 Feb 2015 18:23:00 +0800 Message-Id: <1423650182-16865-2-git-send-email-xobs@kosagi.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1423650182-16865-1-git-send-email-xobs@kosagi.com> References: <1423650182-16865-1-git-send-email-xobs@kosagi.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham 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 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 --- drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index e95385b..b06175e 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -653,6 +653,29 @@ 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 + 160, + .vdisplay = 1080, + .vsync_start = 1080 + 2, + .vsync_end = 1080 + 2 + 4, + .vtotal = 1080 + 32, + .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, + }, +}; + static const struct drm_display_mode innolux_n156bge_l21_mode = { .clock = 69300, .hdisplay = 1366, @@ -769,6 +792,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, }, {