Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1995140iob; Thu, 5 May 2022 12:47:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIG5WiGcEym8JLO1bWBEfO1lAV8/pxH52mkUml3i/dnhFvEdE6azJKiJh284TH9yIkNRwM X-Received: by 2002:a17:90b:1d0e:b0:1c9:b74e:494 with SMTP id on14-20020a17090b1d0e00b001c9b74e0494mr7986461pjb.238.1651780035083; Thu, 05 May 2022 12:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651780035; cv=none; d=google.com; s=arc-20160816; b=0TYSGTdaBQGNq2YN61pnhhlCR3tzrNs5bqt/gum3K/koX1rjNCpmTdJWUFOzs5ZlJp mGkKYP8jW2IkAxaujHt+bGfNVQ9NXExrVV567FQNer9D3MyHcg4aoYdvAupkZLrUYDZa MsF7NVsLFGoej3IqKUJYso4dax2mQF17WybgBvWh8duFSZRgjHD5FniXCVMJJu2P3SKY kD9uGfs+7VFdGC/VJnUZVfpnQtU3sJjek46unu7YsztZrIMunqVQm6DhH3SQSYIBfZQ7 UPuciO7w9vxFzRRjjmJ1Lrb3xSRwx1eKBoAQJOMY/ypeRbH15hy3jxTOj25mwKYPx2EE 9huQ== 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=S/6p0htncYSfhLix5DVhME9QfIOV+njezUVc7zFW1wU=; b=ALLAfbvgxP7vcqDTzx+uZFW032LcAKCvm/Dqhb82xJImOy2NNug0APuZynsno7YY7c fvKMAISVOyQBFknrUB6X/uyM5PQUG16FtS+UJL0wUyActYelco7f/hhroiHP525zCGoH 7vTvxs7MIvdQrW9waiUNc1+UYZR2MXkbEVMCFaGkMbxwu5aoH4r4z2nwD2dIe0C5fWXy 1r57Xmsqg+FVzwxBjbhACxxinpbP5RMBca2gWGD592xKlmQF5gf8CjVmipDcOxKDGoCx LUB6H0+fChJ5p7iphh3vhl3t5vqOpwlBZU28HyBJPuENohMJyT5mbhjpGVErHeMZX7GH SvPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@denx.de header.s=phobos-20191101 header.b=Cvz3oDcF; 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 u17-20020a170902e81100b0015cf7c018dfsi83667plg.35.2022.05.05.12.46.57; Thu, 05 May 2022 12:47: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=Cvz3oDcF; 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 S1354708AbiEEKCM (ORCPT + 99 others); Thu, 5 May 2022 06:02:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243851AbiEEKCH (ORCPT ); Thu, 5 May 2022 06:02:07 -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 25E3D4F477 for ; Thu, 5 May 2022 02:58:26 -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 9385383F00 for ; Thu, 5 May 2022 11:58:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1651744705; bh=S/6p0htncYSfhLix5DVhME9QfIOV+njezUVc7zFW1wU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cvz3oDcF3XYcqhmC+J4L2EY8OTBUuAlVOYusFxX5oFMMoWpiHcJIKKY1H8YITutmf w7El/7H2UCUM59gwff/2D9+Sw8muc6z++EzTt2xHqOzroZ9zgp/D/CftG9cg9HVVMK XRwShZySINuquIshtC3xmFNDjYFKoOgt58SoKguthhKM+ZKIxWlnKyl6W/mCA3ERcP tPtSAyrn3tEqpDWY44uDYeOrR3kTKmHLyl8oE4z36+RwYnbAFZT55xifs4cWLfCoPc CQF4c70L3l5RhMieBsY+Tul0MKuQ6MCBuputd1+YMmT42ehpl+RDitRJRvaHhHrdmt AxmAYqFcSg/WA== Received: by janitor.denx.de (Postfix, from userid 108) id 4E44EA012A; Thu, 5 May 2022 11:58:25 +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 E8D1CA0058; Thu, 5 May 2022 11:58:17 +0200 (CEST) Received: by xpert.denx.de (Postfix, from userid 535) id DEA9D3E07D7; Thu, 5 May 2022 11:58:17 +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 v4 2/4] drm/panel: simple: Add DataImage FG1001L0DSSWMG01 panel support Date: Thu, 5 May 2022 11:57:26 +0200 Message-Id: <20220505095725.902447-2-pro@denx.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220505095725.902447-1-pro@denx.de> References: <20220505095725.902447-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 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 a34f4198a534..710628c9f7da 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