Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5781098iog; Thu, 23 Jun 2022 05:21:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s3hbi9mEl0EybPtCVTmMOUJdwl409QFzaYpn6jiN7mzuU2P/E4bQT+fI+xJGQBFKSFk4F3 X-Received: by 2002:a17:907:761c:b0:6d6:e553:7bd1 with SMTP id jx28-20020a170907761c00b006d6e5537bd1mr7867411ejc.5.1655986874437; Thu, 23 Jun 2022 05:21:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655986874; cv=none; d=google.com; s=arc-20160816; b=KGbmbDsfbO+s8fAq+eu+HUi5FQHPuLaMJLV7SqEZiKh4Bj2v6sbiH52y0A8YG8+Rtj 0HIBBcNo3Wk+RlSgO6ZmlnRWJaBsGs5BRXjCSGfR4AYC+OPK9B1zkbVqZmyWflrWk0CO 1QThqpzXySI3XK3I69nVZGKJnHyPDXtDf2/9NT6rKiVoIPUg0lX2/9GhQhJReHCHt/H8 w154sdkEw19TTTpmxBAsFIkvwWqMH40WMNsa6wtz+PIdc+qo4GHHYOVJuwYJPEdTegHG 5zOzL+lduXGPV48MRp+UsV6LqhR5QoHlplWMOTiZtI9M0YTb/EomFP/AE9jB4DpSwtzJ bRbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=gxby8um+s/H3Xpc/anXyntb7kbzsQOI7HdcAF2557IY=; b=uqTm8uMM22lMq5xlpIyAXVh+d5l4zIvYRA2euwt1aPhMU+izNWE6cH9jaaixc2IweX SKClsBnZDT01OiCQu6bY2uxJxRwI2WSBHvo94yjoN3JjYZcDuWhyb7qSzHe+uUa4LUoQ WykgNy1DIBrecUjUgfFjqqubFGt5L/kXVLBsBQ0qS2mvwS5dZdg+iVQ3SZ47MrxXd7cQ owSW6816ftMu0GiepxBuV6WCIYxbDqj28+muNFEagfwicrnF4Vr2YXp4NeRYvPnT4Gox 8BixbBs1GL6xJ/UwaSgAHwi4FTmkJigC7grC+KWB6xz8szWD7dC+K2izHdQ9hLCR892n tkNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@denx.de header.s=phobos-20191101 header.b=PZAaCRMe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a056402278b00b0042aeebaa115si8095870ede.340.2022.06.23.05.20.48; Thu, 23 Jun 2022 05:21:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@denx.de header.s=phobos-20191101 header.b=PZAaCRMe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231287AbiFWLYs (ORCPT + 99 others); Thu, 23 Jun 2022 07:24:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230130AbiFWLYr (ORCPT ); Thu, 23 Jun 2022 07:24:47 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7722C49F8A for ; Thu, 23 Jun 2022 04:24:46 -0700 (PDT) Received: from janitor.denx.de (unknown [62.91.23.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id CEB2D8432E for ; Thu, 23 Jun 2022 13:24:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1655983484; bh=gxby8um+s/H3Xpc/anXyntb7kbzsQOI7HdcAF2557IY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PZAaCRMeMPqAyj1iGbzo09zdhF4+LwSMRT+dfoEXUF7JoCWUT7ks47Nn+Is1nHAOX CV2nTsZ+2HKDWEc27aQCgr+yP2Cghww2RBVCuSseVzt0rFpwmdkb3ncOCwsCiE+n+w JG1sJpO5nN4txr6VmDaHaWy8UuM04B9OJNbjfLr3hqaoyB+66KepTiT8hVw8bM1sjK mcO28PYSBFo2/yJFlT33XBOeKJAn20uz8mGHhHpR1h8j7A3Vp97l74qksCJlBGZko8 4MLoi7mlPxJC/Vi5+DCaoIfWXfDByo6ZaeWHn2bxgooVBjtXnEOZMrK0v0VP3s6ovb ltzWEjQU0A3ZQ== Received: by janitor.denx.de (Postfix, from userid 108) id 80E35A021E; Thu, 23 Jun 2022 13:24:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received: from xpert.denx.de (xpert.denx.de [192.168.0.4]) by janitor.denx.de (Postfix) with ESMTPS id 3D9B7A0050; Thu, 23 Jun 2022 13:24:34 +0200 (CEST) Received: by xpert.denx.de (Postfix, from userid 535) id 30D7F3E06AF; Thu, 23 Jun 2022 13:24:34 +0200 (CEST) From: Philip Oberfichtner Cc: Philip Oberfichtner , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, matthias.winker@de.bosch.com Subject: [RESEND v5 2/2] drm/panel: simple: Add DataImage FG1001L0DSSWMG01 panel support Date: Thu, 23 Jun 2022 13:22:58 +0200 Message-Id: <20220623112257.4178461-2-pro@denx.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220623112257.4178461-1-pro@denx.de> References: <20220623112257.4178461-1-pro@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DataImage FG1001L0DSSWMG01 10.1" 1280x800 TFT LCD panel support. Signed-off-by: Philip Oberfichtner --- Cc: Thierry Reding Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Cc: matthias.winker@de.bosch.com --- Changes in v5: none Changes in v4: none Changes in v3: new --- 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 4a2e580a2f7b..d087fcbe7b7b 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1427,6 +1427,30 @@ static const struct panel_desc dataimage_fg040346dsswbg04 = { .connector_type = DRM_MODE_CONNECTOR_DPI, }; +static const struct display_timing dataimage_fg1001l0dsswmg01_timing = { + .pixelclock = { 68900000, 71110000, 73400000 }, + .hactive = { 1280, 1280, 1280 }, + .vactive = { 800, 800, 800 }, + .hback_porch = { 100, 100, 100 }, + .hfront_porch = { 100, 100, 100 }, + .vback_porch = { 5, 5, 5 }, + .vfront_porch = { 5, 5, 5 }, + .hsync_len = { 24, 24, 24 }, + .vsync_len = { 3, 3, 3 }, + .flags = DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE | + DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW, +}; + +static const struct panel_desc dataimage_fg1001l0dsswmg01 = { + .timings = &dataimage_fg1001l0dsswmg01_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 217, + .height = 136, + }, +}; + static const struct drm_display_mode dataimage_scf0700c48ggu18_mode = { .clock = 33260, .hdisplay = 800, @@ -3832,6 +3856,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "dataimage,fg040346dsswbg04", .data = &dataimage_fg040346dsswbg04, + }, { + .compatible = "dataimage,fg1001l0dsswmg01", + .data = &dataimage_fg1001l0dsswmg01, }, { .compatible = "dataimage,scf0700c48ggu18", .data = &dataimage_scf0700c48ggu18, -- 2.35.3