Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp740612yba; Wed, 15 May 2019 09:08:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQ5wz3nP+jFqzvo2gS9Jfgl6bdo6CwEkWR23DW9rL9LW4wLEfFHU2IehWP1AA6b8tto661 X-Received: by 2002:a17:902:860c:: with SMTP id f12mr45612748plo.127.1557936518658; Wed, 15 May 2019 09:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557936518; cv=none; d=google.com; s=arc-20160816; b=SRMu+RXtRZ7TA7aiVafU3qbg9E8jlY6rq7D1qss4GmNT4ywZmyQ9r+f1g64qhLUsJc cU+5lwa/YzkYPZmZ0YOfxC4IGDaTr/yGvmvYOvdEK7068gxzh5BmvaGZXAKnvamiUDS4 KQa16FjFaWECeUtSGcGhEVbYrwCxnrjMc3VufXMCu6rJ/6wduFwSDIPoCjS4y6WK3CXC M2IHdbl/SQDhYufe+7+dMZI2AWWuzzZw38Oz00nz+u+D7wgTeUw7OumfIUtc7/bCv+00 kPO/BtvgIB1nyhw1JVVQ0sVMVdfQ3XpSDLP8Qzx9a1zrIcDou8zGJKrjsHCAcW0fYZ5f 6aYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=palfn63t7OdCfVO7lxCLKmqEOarrZoYgJbwehXucROE=; b=ci14ZhzKEC2HYUgf3Scw4PvwQ9ggJgh+uyjrfee9eMqaqWpCsYVeoY1FnC6dD1qkg4 vbXGQNr+rBmw9JhRgc1EuixSTN1ceaVCFLqfTBrWGpPYZGlI4w1IyLI/aJDnBhDEySu2 P/yrF7qUPcK9hQ6X8oLTvITM42zPG6s/qAFM5oTcO4ybMaAOkAcdz85nrPURo7XYu+ET OTVDiyMMGIAF5caV3lxjHbQN69WICPjIVNH+igIUZkIkdBqUH0g0gnj4edlhc1CUFvR+ 7x0R91UN+i35o3MbZIDlWGBLdIS6ZHHwUurDpbN98N3/OUQR1b56C42Ubaub6q2vamVO n+UA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5si794734plt.232.2019.05.15.09.08.17; Wed, 15 May 2019 09:08:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726839AbfEOQGe (ORCPT + 99 others); Wed, 15 May 2019 12:06:34 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:56107 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726292AbfEOQGd (ORCPT ); Wed, 15 May 2019 12:06:33 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 453zvC5gQHz1rYWk; Wed, 15 May 2019 18:06:31 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 453zvC4xNQz1qqkL; Wed, 15 May 2019 18:06:31 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id rCQpMR94fjUi; Wed, 15 May 2019 18:06:28 +0200 (CEST) X-Auth-Info: iebjVXC79l8TiIzH4UC9D4oTSAg4lZ2Ww7N8E4Jdsqk= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Wed, 15 May 2019 18:06:28 +0200 (CEST) From: Lukasz Majewski To: Daniel Vetter , Thierry Reding , David Airlie Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Thierry Reding , Lukasz Majewski Subject: [PATCH v4 2/2] drm/panel: simple: Add KOE tx14d24vm1bpa display support (320x240) Date: Wed, 15 May 2019 18:06:12 +0200 Message-Id: <20190515160612.6529-1-lukma@denx.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180412143715.6828-1-lukma@denx.de> References: <20180412143715.6828-1-lukma@denx.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds support for KOE's 5.7" display. Signed-off-by: Lukasz Majewski Reviewed-by: Rob Herring --- Previous discussion (and Rob's Reviewed-by) about this patch https://patchwork.kernel.org/patch/10339595/ It must have been lost during the development process, so I do resend it now. Changes for v4: - Rebase on top of newest mainline (no functional changes) SHA1: 5ac94332248ee017964ba368cdda4ce647e3aba7 Changes for v3 : - Rebase this patch on top of newest kernel (5.1-rc3): SHA1: 145f47c7381d43c789cbad55d4dbfd28fc6c46a4 - Split this patch to have separate Documentation entry --- 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 569be4efd8d1..c3e5900b04fa 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1549,6 +1549,29 @@ static const struct panel_desc innolux_zj070na_01p = { }, }; +static const struct display_timing koe_tx14d24vm1bpa_timing = { + .pixelclock = { 5580000, 5850000, 6200000 }, + .hactive = { 320, 320, 320 }, + .hfront_porch = { 30, 30, 30 }, + .hback_porch = { 30, 30, 30 }, + .hsync_len = { 1, 5, 17 }, + .vactive = { 240, 240, 240 }, + .vfront_porch = { 6, 6, 6 }, + .vback_porch = { 5, 5, 5 }, + .vsync_len = { 1, 2, 11 }, + .flags = DISPLAY_FLAGS_DE_HIGH, +}; + +static const struct panel_desc koe_tx14d24vm1bpa = { + .timings = &koe_tx14d24vm1bpa_timing, + .num_timings = 1, + .bpc = 6, + .size = { + .width = 115, + .height = 86, + }, +}; + static const struct display_timing koe_tx31d200vm0baa_timing = { .pixelclock = { 39600000, 43200000, 48000000 }, .hactive = { 1280, 1280, 1280 }, @@ -2706,6 +2729,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "innolux,zj070na-01p", .data = &innolux_zj070na_01p, }, { + .compatible = "koe,tx14d24vm1bpa", + .data = &koe_tx14d24vm1bpa, + }, { .compatible = "koe,tx31d200vm0baa", .data = &koe_tx31d200vm0baa, }, { -- 2.11.0