Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp785394pxb; Wed, 20 Jan 2021 22:33:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhi9OUWMs0qUQd/SCYgr5w41XLjNs+VqRFLbcU1Axy9TYVjJqrB4uvUwFWPEs648eGnw25 X-Received: by 2002:a17:906:3b16:: with SMTP id g22mr7963596ejf.504.1611210823576; Wed, 20 Jan 2021 22:33:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611210823; cv=none; d=google.com; s=arc-20160816; b=zrp8veMaYigjGtM6318E99mXeeQ9b36/KLss5Wv6qoX+dTun4Qzc9qR6QJ7mLkq37Y +7pVGsWarniuuUrB+5c4AJyZ78borHq/+A29m2Dqc2ZTgDemRzB4QXWL4GZMpuiTBFW4 Kz5eQE7S9DdRNH2zdfd5ohYSd3Wmc0rM+5RL0NBZb0p0CXYR3Mh/7h2neP6heqKzAryh 3f5MqLZL62SkXQp/LpENg10l+/nNJ6iFNkt3yT+862atheskqcHTT3uHlXYFHe3dA0ad vuC0b2uoEsgzeYvMzoDlP8cec1XCyZVKjM67GfPldXT9Z3H9nWQOOt/6F2PjtnfrdXYP XlBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=eurKc6a9/dCyXJTr1lS/JEChsmTyyAvfZJtDXQKraFw=; b=UUGm+/7mflud1rR3nCkt4rF40olX43b6m8q2dtvkqbvpRwRC9LxWmWY8hC7/XnDWKj 4rhfjDqtx7BET53Cm/enwzKwsjdYeOK3wtj+Br8D7kl4sL1A3Ewa6HdljieKYr0TmhA6 O0Cb6I7sErriLYi8Trkx4MdqrKgBfuciMKXWZGpHSTOu0EDuO8r22CJDgPQJBee8E3ak ual+ADwQ6dd6uwNMyN5pXJWvg2P5ca+Scy7UepzScqL+u1w/2hl4pUj9KNAWXnCQPrRU JhHh7/b131k2uQhMh79bqe53TgBljF0y72YbOX9freCCcmiElCOvCkiMYgRy1pHtyWiV y0VQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m20si1789175edq.199.2021.01.20.22.33.19; Wed, 20 Jan 2021 22:33:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726849AbhAUGbm (ORCPT + 99 others); Thu, 21 Jan 2021 01:31:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726574AbhAUGNn (ORCPT ); Thu, 21 Jan 2021 01:13:43 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03B7BC061793 for ; Wed, 20 Jan 2021 22:12:01 -0800 (PST) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2TC4-0006PI-3b; Thu, 21 Jan 2021 07:11:44 +0100 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1l2TC2-00061U-6P; Thu, 21 Jan 2021 07:11:42 +0100 From: Oleksij Rempel To: Mark Rutland , Rob Herring , Sascha Hauer , Shawn Guo , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Cc: Oleksij Rempel , Robin van der Gracht , devicetree@vger.kernel.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , David Jander , dri-devel@lists.freedesktop.org Subject: [PATCH v2 2/7] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel Date: Thu, 21 Jan 2021 07:11:36 +0100 Message-Id: <20210121061141.23062-3-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210121061141.23062-1-o.rempel@pengutronix.de> References: <20210121061141.23062-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- drivers/gpu/drm/panel/panel-simple.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 41bbec72b2da..14996ca264f3 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2149,6 +2149,19 @@ static const struct panel_desc innolux_g070y2_l01 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct panel_desc innolux_g070y2_t02 = { + .modes = &innolux_at070tn92_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 152, + .height = 92, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, + .connector_type = DRM_MODE_CONNECTOR_DPI, +}; + static const struct display_timing innolux_g101ice_l01_timing = { .pixelclock = { 60400000, 71100000, 74700000 }, .hactive = { 1280, 1280, 1280 }, @@ -4135,6 +4148,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,g070y2-l01", .data = &innolux_g070y2_l01, + }, { + .compatible = "innolux,g070y2-t02", + .data = &innolux_g070y2_t02, }, { .compatible = "innolux,g101ice-l01", .data = &innolux_g101ice_l01 -- 2.30.0