From patchwork Tue Nov 26 09:46:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Barsanti X-Patchwork-Id: 3668 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 C39E73F214 for ; Tue, 26 Nov 2024 10:46:52 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-5cfc26d02e6sf6219926a12.0 for ; Tue, 26 Nov 2024 01:46:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1732614412; cv=pass; d=google.com; s=arc-20240605; b=XvPepGinJhDB2t0gIpVvryt3hZlVXVLnn6qelCZjLoZUiIbaccTQ2hziwcdxFtLkFz d0ehzcqLCIikPKcZQ6DpkomE/0YpaoJB5POFl7S40RyBHmJEsa1XTwyU+jhDAaYK+sVX H9JLrNFQ59EGmkiP1S5bYaV1LflKmsHHIePtxz+Xol1eMPI1/9t4b7NRRUt3nzB5RE1w LlOA+7nwxlK7GvU/bSFxiHlz5XW0kML8OHo52IRI2WH5rwUXx1gWKuo8Y2NQDmqMjOqR B0SsJPKShx1L0ztEz043e8bywjEIs/7/YV6gQ5vpqRtDhy5XiHzpylr8mL0Ot6LFFbtR WuBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=oI7/40j/VsENV1aAJhAv0cnUw76lgCVxilGIY4mXaOk=; fh=cjppRRmBT/nGAnTDqQ8hlo/arWFTGzcpsU1qgAVR4Fg=; b=FQe2R7G0W8cLqz9spd41J9rkV/ljIgI6Wji+tx6WBYsEcoVDoQ3H4qsSsnKXSYpTMQ zxMIBcg/ZboXUQ2RyHPjErUVY0TVDXZl0LmpoIpnS4RN2LW9Ja7HsWn2fv6pRGMC4cKW WwnW01jWU8Yro77v4NcvIetMEah7hE8ZBIsfUn50Th4uD21Uf7KW7yje67dc+rILwbxg 6QklCCSn0i29X+Sdss9OU7QPPKiGTgE5ey9o/ZqQqwl0/FutSJqMH2G1BalASSnbFSMh 1HJCotvSO0eDZ5bIbYK5xMT2ny66vvrtTBQ9WCZW3ElpJqFjI3+OB/qdV46ssmhSilTo 7vrA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YHxJ7s7P; 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; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1732614412; x=1733219212; 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:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=oI7/40j/VsENV1aAJhAv0cnUw76lgCVxilGIY4mXaOk=; b=YyYFKQc72rUzLFM//gHd+JP0NJCEimkSvQVgvA8h/jhzFbEJWZi3URy1IbfcVT5Djo c8Xy+fuIyD1vyP2JA+jPElxjdjrB3Rda431IEdx4DIRVnCzcC6b7Oj6jNC+Q+6bssBS2 IkMh2pW5JH3X+T1lUhLvqji+hMns8sXAXabpU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732614412; x=1733219212; 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:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oI7/40j/VsENV1aAJhAv0cnUw76lgCVxilGIY4mXaOk=; b=i+xjINhPWrbWPhE50zcnb4O+kniq5op/oyolFQWdKX3K1tpFr5j+Xvv+Mvl1jadTeL aHbALB/Y0RglZJ0MiA44gxfsRerMO7KmxrOiBe1a8YvUXssOkMeGTiZcg16DzByyVJQ2 q+NJvH2dWXjLQKJPbdPLts5I1KOnXtSKmT3H2u79Isl+hZ9yiEi2p+vRt8sFAlQyE5JF edBzuKUUI4KPnXrVRP8lHbvI40Jwi7faf9O3JIjWr41145oHtCJP1WpVmv3cKjfTlTDr FAj9w5Fjt3mHsM00GVLsYhSbDcWX13XkaQc5UOIy6LYwCKgp/vzyunoyXTnbTbXgZq2j Tgmg== X-Forwarded-Encrypted: i=2; AJvYcCUOukIjQJ4yN2IX5hEofd3lmSUSjuINCW77P8ENDYpQeG8fNrcpr9/apGDzMKRjNC9P7iuJZroOl5qkwz8M@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yw7zrP+tTwvPZEz/6aANTHK36dm1kit86mtbGz4mcWOthA92mhl e6FurtgzNzOE2UGjzdAJioVKdMAr3b6+RabH3KtUqpYVx2ceYqjbiYplTKJrUxEtAA== X-Google-Smtp-Source: AGHT+IFZGdVa/6LQ9tVvd7O4hRq2kOzdU/Ocfkf7OkvVPpMMsthsvRcEN50wQRk91xJlcenhXWYXXg== X-Received: by 2002:a05:6402:35d1:b0:5d0:7a6d:a197 with SMTP id 4fb4d7f45d1cf-5d07a6da291mr452995a12.4.1732614412431; Tue, 26 Nov 2024 01:46:52 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5297:b0:5c9:5b3:ee81 with SMTP id 4fb4d7f45d1cf-5d0648968a4ls1051345a12.2.-pod-prod-00-eu; Tue, 26 Nov 2024 01:46:51 -0800 (PST) X-Received: by 2002:a05:6402:348a:b0:5cf:cf9b:77a with SMTP id 4fb4d7f45d1cf-5d06ad554afmr2596916a12.3.1732614410700; Tue, 26 Nov 2024 01:46:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732614410; cv=none; d=google.com; s=arc-20240605; b=a+MwH4PSYcWSMIqcWcb3EvDSEXczUNRIL/FTBZlnntS5Ll30rGQ/gL+w5/CH1gNxV0 SCbbXCpZkTt1GvEtizyFxm4JT7qg1ySPPdwGpDM0wduFEZcTi0G3UyGLnZuP4Bbz1KZl RrdI9oVOWeN8rlQRj6OvAqTjRt61QYV+fWO9sIxU2GnJxAgYquYaSmRw9+t3RZB0rXX7 wQlC5KMvOm/evmdfJlR32f5A9CUPcf585zYl6Mn+gcQp9UjzAeaJwaSh4JCN7/RG5PkC iRbTfjDRgYpmehyaPPXw9+PJuJlId4olNDxX4XUqanTznLwYRbOhJw7jGKhgUXxZuvPX e93g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=H5alSbLSuRsEDMFqvy1AJjwfQulxlBboPi2Zfpnd934=; fh=Wa4YzhDtEm3BVJYdi47pY1HEnT8nfsMPDl0G7mIh1uU=; b=fLvMpekRTOBLdfYX2SIuLXp+4C9ot5IKIQytBmYMd7tkPphXwih+F4JbKsLjJbH+8u DieLZzn9Px9c5fWQTuEz2pr9zmGLRiGzp5lGqkfjBaLR06faHLbkyWCjM4oFa460qg3F xo4iTsV7kTKOa2DstuXrRETw35EvwaojYKRdcowYKmcxRHtm1C6aLBxGBWQA7NnabYyX fnlN172cyicu3MxsKbwUX8QgbV7RZwj0iCULzKmtPp+vLQpL2bybZh3cRhcFK1CwX+Ej g5lIoE2FlNsfded8/UP9iyOO6IL96ph2vB0seU+EAw8FbK3EM20tP6Pyj1aYdmvMjcaH jILg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YHxJ7s7P; 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; dara=pass header.i=@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-aa50a95ec38sor272148866b.6.2024.11.26.01.46.50 for (Google Transport Security); Tue, 26 Nov 2024 01:46:50 -0800 (PST) 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-Gm-Gg: ASbGncuEsW2cDywEt2dJUNOXhl15/2OasIWGPLjsyOHo/3lJovXmEyRFS6Sd9VpW7Yj y1Fkc4IHv4nEaZ4g6YCDUmPBsoO42QexDb9u0rZDXFKQ4pXAOkDMGmWYoTsBP5A95xr7VbwkpFy ONXTD1DlhGkEPDaEN1Z4jCSnetUUy5EM+gXONJqp/duypaBxhuDa4hgiMxv5SOhq9ntrbW57WX3 otog/JIdV/Tduvk3T+6GHTFxn2fqVdQkCEpe+CwAvvjPlDF2jjm X-Received: by 2002:a17:906:f591:b0:a9e:df83:ba57 with SMTP id a640c23a62f3a-aa56496dc7bmr218987366b.22.1732614410017; Tue, 26 Nov 2024 01:46:50 -0800 (PST) Received: from thinkpad.. ([151.37.190.149]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa51a449c24sm537671966b.178.2024.11.26.01.46.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2024 01:46:48 -0800 (PST) From: Patrick Barsanti To: linux-amarula@amarulasolutions.com Cc: dario.binacchi@amarulasolutions.com, patrick.barsanti@amarulasolutions.com Subject: [PATCH 09/11] drm/panel: simple: Add AM-1280800W8TZQW-T00H Date: Tue, 26 Nov 2024 10:46:33 +0100 Message-ID: <20241126094635.881134-10-patrick.barsanti@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241126094635.881134-1-patrick.barsanti@amarulasolutions.com> References: <20241126094635.881134-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=YHxJ7s7P; 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; dara=pass header.i=@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. 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 06381c628209..d011127cc636 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -759,6 +759,31 @@ static void panel_simple_remove(struct device *dev) put_device(&panel->ddc->dev); } +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, @@ -4620,6 +4645,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,