Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4609233ioa; Wed, 27 Apr 2022 07:25:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynkUBmH01pwbjA0WFOPeAVy3K2Oex99uq0mSncKkuyppWelVgEeAz32w3CpYJXSLINAWin X-Received: by 2002:a17:90a:1509:b0:1d8:c22b:4d61 with SMTP id l9-20020a17090a150900b001d8c22b4d61mr28962071pja.78.1651069533672; Wed, 27 Apr 2022 07:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651069533; cv=none; d=google.com; s=arc-20160816; b=a9ecHyLDwfKAwOqt8z7qBzuDkvl19+MAR2OU/SEkdnKdJQT3Q3mu05vVsjiurNri/L 4VidpjiqTN23Zc5KafM8PiWysdeQ4qf5CArkr79s32mWhgZGnPX6eRfJ7du3J3aqs/4l xdDjylIgi6925uwaJ4YX8mcPlNZOiyuZAHUTkerlYAeLW8O4pRaqvJ67GCygoD0QMbVi h4qgRNtj7OkiwhfcvPgDEvhbFmpy4iwxw8dkS5PRTNpBJK2qt3ln2/KajLMuW1qnDRM3 fiquRHbYXQtq/O4EF76aJcTpxL6/2M1a9p/nta4mQNdqg1HUYrwGOamtP996kPSskppj +p6w== 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=lT0gwdo2NDZXehIpqBlbV2nnBX11PUSnb4XZExSkFqg=; b=paxMCeoUnKXZ+7cDIqevleSkIRbpMjgZUmZcDp4iJh10bHxwIPeEycY3koomN5uboK qKMx/8YC+sWgHSCO4w1pDq6oNnRh0H3yGwJrDrDC6G8ffATtJtJUEqAGjHKz36QsD2n3 x1jo0hVaUCKrfupz+xKMX1t1rWEtOuanvPfuREGgXST33tAI1PUhCMXGnRJl+/FaE+vq t4SlDkFay4telU1rXYLI79OnxaKgvebTXYvXyUZoDnwuHYr2UgCSYqU0DRvdFhFf4358 W+xauKa+h7gRrBaTy1xFn/JK6HqsU2ZewD2ucQXH2ouFnUEtADpy3gUrmsSeISZo6bOs CyrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@denx.de header.s=phobos-20191101 header.b=Y53uAHxx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 139-20020a630591000000b003aba0e9aa20si1567286pgf.828.2022.04.27.07.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 07:25:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@denx.de header.s=phobos-20191101 header.b=Y53uAHxx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A865A17A98; Wed, 27 Apr 2022 06:55:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236817AbiD0N6a (ORCPT + 99 others); Wed, 27 Apr 2022 09:58:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236807AbiD0N63 (ORCPT ); Wed, 27 Apr 2022 09:58:29 -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 C3C1530562 for ; Wed, 27 Apr 2022 06:55:17 -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 78ABA83EAF for ; Wed, 27 Apr 2022 15:55:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1651067716; bh=lT0gwdo2NDZXehIpqBlbV2nnBX11PUSnb4XZExSkFqg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y53uAHxxUkp6lFHEhR0iTwkXJuCXQ75AT6wjkGGgiHpAd0A5b6PuEH3mZxMmjXSbK Kq60upcm032ePwxV/hQ35JyFo3iPVgITvqSoemkUlETmH9WpTavLBhpGw4wqPRyQTG Ox7ZuRy58WwFdn6bhKuaNM29DPednm4gL2js3T8vegsMd+F+KkRx3WIvKrZx6kk63k PgOgyEwGPj350i3ZhJy2uN1l/56HKoy4BA1TJx85vcWFSItfPQNRpCNOhorewhr2yP vHuSJhhLOtFAqeuNVJzy68vKg6YCbg6rflTjUawq34jupHGQq9K5FPPXfH5a35wzLq rRt+uVtWZMabg== Received: by janitor.denx.de (Postfix, from userid 108) id 2EEA8A0228; Wed, 27 Apr 2022 15:55:16 +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=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no 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 DA3BEA00A4; Wed, 27 Apr 2022 15:55:05 +0200 (CEST) Received: by xpert.denx.de (Postfix, from userid 535) id 8B69D3E0407; Wed, 27 Apr 2022 15:55:05 +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: [PATCH v3 2/4] drm/panel: simple: Add DataImage FG1001L0DSSWMG01 panel support Date: Wed, 27 Apr 2022 15:52:29 +0200 Message-Id: <20220427135229.2339865-2-pro@denx.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220427135229.2339865-1-pro@denx.de> References: <20220427135229.2339865-1-pro@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.5 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 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 a34f4198a534..e6d0aaddc14c 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1402,6 +1402,30 @@ static const struct panel_desc chunghwa_claa101wb01 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +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, @@ -3768,6 +3792,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "chunghwa,claa101wb01", .data = &chunghwa_claa101wb01 + }, { + .compatible = "dataimage,fg1001l0dsswmg01", + .data = &dataimage_fg1001l0dsswmg01, }, { .compatible = "dataimage,scf0700c48ggu18", .data = &dataimage_scf0700c48ggu18, -- 2.34.1