From patchwork Mon May 13 14:27:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Barsanti X-Patchwork-Id: 3095 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0A07F414B4 for ; Mon, 13 May 2024 16:28:26 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-57268a481bbsf2620992a12.2 for ; Mon, 13 May 2024 07:28:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715610504; cv=pass; d=google.com; s=arc-20160816; b=DUm+lOQs3gUuunTn7AMk8m8XOeQOII5UJTGj3zOVh3d1Z0ze4OLp4lzz+V+Tg2pU8X 6WfA2bC7w/3aNVwZ3xz7dPhE0lI4rHQJsOZ0LI71xL5KVk8zmOIPYloClxbg3v/qBIDi rKQkMZvW44lBL6Tccla1AUEKWlZmqUsY3eOSKm0W5k3U5ZYncxIZ6vZv5c0ufpUASJMq aROcT1mNDBff0c31ShAO16OpT37VOh9FdAF8Bdu6BBBbYv13LTczgaR9oMo0e58pKEn3 ZFRI03hpi4tkvMGoRVxbEYWW76OQ5AzWPFPx+l1btQ7WuVziwMr3tPYSK0H9AX8bA2U1 RoHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=jCt07W/2gD8LDP1Se4RdXFxZFp/zU8274TEVuXSRtuA=; fh=HvtALpdQRThhjvxsDPdk0iCFEyCTq3BBODAZ6jW1InI=; b=Xxw5VbaIGFuSRe3C7xPaYlvrqnuwBI1YGK8PeDQ2ZVNNevTWUDPS2xu0AMdvogiXEZ Nb6QFFEOXBbbeUgAL6ovMiHWoaX6rdhJlDqESl+CChPeEzMapfuP7V22d8+0WcdrJske 7lt7XFpbYNOjpEfKYEuPj++DwGb3idmziUfMwgciFHiVxWNcA90E3HEPKl5TmMF1+EtQ oYCXeyn5mH7Ous0lWlhbOIoqwcPCV+gM2J0YRPPvNLtCpZwwVX60+NgNquqNZzQAekjf oHuUpCl79D2Zv3RZ9xMzcZZISLKOqgJIjLm3DmOAPz0W7GARNBzbs+KgoYYLTHmJA6r5 MQKQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bDdjuUOv; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1715610504; x=1716215304; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=jCt07W/2gD8LDP1Se4RdXFxZFp/zU8274TEVuXSRtuA=; b=e1rh2Y7hGf++iPls4cE7D+X/+QUP8j0tz89Esox+SkxHLV3j0IqoDUOp0Zh6EHFkTx j2JfToo8e7T+jtkmrO5PoT97Yo72ddbBwWxB8mVvcse1QqGhcsFHlLuhxFsUAvFgQPzS wESx7FxdcF+UXEXi46OCaB0VHl1m+gHOwLsm0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715610504; x=1716215304; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jCt07W/2gD8LDP1Se4RdXFxZFp/zU8274TEVuXSRtuA=; b=CR+uq/ayedQFtioKcrFAfWmsE7BW7X2I8oZCLA49dlr2kniIQyflBn6yljjGcqj581 X6wdguWQ3s4QQ/tMbVvazsrk983aluwKy3iwmOZLArD4ENqxqu3tKCJHyOLTTZV0J/9h B0lIb0lcIGOZAf8fpqT7++fbO9wvhd37W6AHsxRKHhh2SCit3v866VrrLYBwYMFKmA7t 1a9tZWvgoDWyVUkaK8SAs2kTDcPTAyHvuJ5dGxXHbT30rcgtBwdWp+CHp/wcssGZmsXg peyDaQDSYa9gYRU01HKV07FWV5p6lcOSSdJqb/DvRY+VsNeiOO0H2gV2cBaXD0rE/sYr 5URA== X-Forwarded-Encrypted: i=2; AJvYcCV4o46AsfcSMGEj4MImyDfZi9XXl8j4TWwoi1ccfFom1BVD2OhrTMQRric0QULqXmQLnEwLSGO/gaL14QLKUAbdQpoyayEUIjeU9OqnMfng0iWGJJqWebkbgQz0rQ== X-Gm-Message-State: AOJu0YxDbyxRXop04v2B1Lt4sa4s5xlck+ge3huSA3DeSVjjZtF7R7JT 4iQLgxf4A3+J11pF3qX2JQTE7YfC0OdVajgiwTuKQtiyDv26xR6eGEAabuoPOPwN7g== X-Google-Smtp-Source: AGHT+IGknIyPLGzh6h2zy7ov7KamMqYvDYnpImvMKtziz1uO23I7dwMmkcjoPh7LetCOWF/eF5+hrA== X-Received: by 2002:a50:d74e:0:b0:56d:f9dc:c82f with SMTP id 4fb4d7f45d1cf-5734d5bfbccmr7645337a12.14.1715610504255; Mon, 13 May 2024 07:28:24 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4026:b0:572:3465:bcec with SMTP id 4fb4d7f45d1cf-573333302a6ls136373a12.2.-pod-prod-07-eu; Mon, 13 May 2024 07:28:23 -0700 (PDT) X-Received: by 2002:a17:907:986:b0:a5a:5c5:a9f7 with SMTP id a640c23a62f3a-a5a2d55a4bemr801550866b.8.1715610502782; Mon, 13 May 2024 07:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715610502; cv=none; d=google.com; s=arc-20160816; b=I3e2Hw7v8gXFm7UeHcLfQv3cZX/RlsDBvoSGpdTnoOLJX7Ie95rWrkFB2EPVMihLFN UataBgFUkhrAHjBNFVI1s1rbzTKtr88qmnQMqmCkDtn19mLhUhJZfdMUTjaZhh/J4U+g yhv6wftr8ywICPywZR1GU4Tv3U1BcfmEoR7W827CnlXdefN8EaQlBygW0AngKc+6Fbis OllwEfoR0Q6FbIm8JOcXRuaSZ7cyEzwig4S2pfCpV7HMeBE9V7I0NmwH/wR+KHuJdUud AK6naes9cIZk/8KiG3SoBxsieZIl88VFDMD5bcxJV54VtZ0Hp4ZOSq3T7LPoEPAHdG15 U76w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=GF80FPisE5begoVfxSf9Y2n+ixDVcCao4T0zQBN9yL8=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=v1SKEGS90/Hrk/gU6kWd6+Gx0OwFDmEvf4uw4T0MZDLwfPr9PpXIi51xytfJqZXN3I MjiI/mzubYTgn6Km/Ye2SyCQ9RGEIYrfcUoc74SjLNkYxORfnnhBhQYAQtjC67nWMKot f+yBk7MZHfiwtRrJ9yNhO6Fi5N1A67lIVkmeuE0dX/vZpTWyl5d3dQASgFzNh5XlbFg2 LBxTBrEnzuI4mWh9AirX1Jv5owABBkOXGO0USrTPi9p7KUCV8gqbZY7UuBNtaSzergLE tMNnugyL4dQMh3KprkYQ3QnoQR9f4t0L5yMkaZbe/GHpnvHyxuF1CoJ3ni4N7h+743SS orzA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bDdjuUOv; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a5a17b1a5easor264192766b.15.2024.05.13.07.28.22 for (Google Transport Security); Mon, 13 May 2024 07:28:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:906:32d9:b0:a59:c46b:c525 with SMTP id a640c23a62f3a-a5a2d3d2e73mr654166066b.0.1715610502188; Mon, 13 May 2024 07:28:22 -0700 (PDT) Received: from localhost.localdomain (i116103.upc-i.chello.nl. [62.195.116.103]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b01517sm602569366b.157.2024.05.13.07.28.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:28:21 -0700 (PDT) From: Patrick Barsanti To: linux-amarula@amarulasolutions.com Subject: [PATCH 08/10] drm/panel: simple: Add AM-1280800W8TZQW-T00H Date: Mon, 13 May 2024 16:27:45 +0200 Message-Id: <20240513142747.238064-8-patrick.barsanti@amarulasolutions.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240513142747.238064-1-patrick.barsanti@amarulasolutions.com> References: <20240513142747.238064-1-patrick.barsanti@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: patrick.barsanti@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bDdjuUOv; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Dario Binacchi Add Ampire, AM-1280800W8TZQW-T00H 10.1" TFT LCD panel timings. Upstream-Status: Pending Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 20e3df1c59d4..c0edf01e62da 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -764,6 +764,31 @@ static void panel_simple_shutdown(struct device *dev) drm_panel_unprepare(&panel->base); } +static const struct drm_display_mode ampire_am_1280800w8tzqw_t00h_mode = { + .clock = 72400, + .hdisplay = 1280, + .hsync_start = 1280 + 40, + .hsync_end = 1280 + 40 + 80, + .htotal = 1280 + 40 + 80 + 40, + .vdisplay = 800, + .vsync_start = 800 + 10, + .vsync_end = 800 + 10 + 18, + .vtotal = 800 + 10 + 18 + 10, +}; + +static const struct panel_desc ampire_am_1280800w8tzqw_t00h = { + .modes = &ire_am_1280800w8tzqw_t00h_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 217, + .height = 136, + }, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode ampire_am_1280800n3tzqw_t00h_mode = { .clock = 71100, .hdisplay = 1280, @@ -4324,6 +4349,9 @@ static const struct of_device_id platform_of_match[] = { { .compatible = "ampire,am-1280800n3tzqw-t00h", .data = &ire_am_1280800n3tzqw_t00h, + }, { + .compatible = "ampire,am-1280800w8tzqw-t00h", + .data = &ire_am_1280800w8tzqw_t00h, }, { .compatible = "ampire,am-480272h3tmqw-t01h", .data = &ire_am_480272h3tmqw_t01h,