From nobody Mon Feb 9 13:05:35 2026 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4814D333738 for ; Fri, 31 Oct 2025 10:04:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761905102; cv=none; b=fKvL5tbbz/1dIGrVCVLE10Q6qQgjKWSQZBY0zfzvJBdyWxxXI3eShYMSLORZgaxPnTeijN7sNxjyySAEvj7YiRyGsTze9kXSlKt7G3DjoKjKMDUKTmJLRTFJWT6SQrcIsFO1Rrxy9utsNQY86esN9L5XXj7n+5m8vt4SjidJfWM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761905102; c=relaxed/simple; bh=cOGZkbrRMxKu50HDv+kW0yjsry3zgsYnkitHwHRZ+CM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=k0su4t1ObitU4OMzRci6iLRnzJpFJndq8RhOVRTN465+pQTaTrqzsW3XBkeR/fL7+T2Jp8ks0CJm5JwYPgSlzb2L/KNRQ9oqGsMdjhT0bpiHPzJdIl70bXidIbAatGBoyN5KSlG1B63sU0VzPKA9sToGoBnuyzr1Xrn5trHGwUQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b=oiA28OQJ; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="oiA28OQJ" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-781010ff051so1635709b3a.0 for ; Fri, 31 Oct 2025 03:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1761905099; x=1762509899; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GEMeTinKcUP58E4lvnW9PGrRCCfS2qn6jCMWx5eJs2c=; b=oiA28OQJcSEhU1vZzGGGmONeLv1wMy/tdHIoijnHNXC7noQxQGe7+0ci5fBWiOq+Ch BZiX2jkgtd7erw4CC2m9Dr/Y0UHr+0J/NP/Q3Ngze+KimvNyzERDxKmLuRkF1Idtsfaw tMoQEQalw+45U71zeiYxm4OT73+TTeDiEL4+AbRXNRYRXDW5I2g16pMdgmyhMjszsY65 VMerd+4yISmKyAtbXj6tq6rxOtTKHnVRcSbl6Q7kpmtLHUlb27nX0m9QzRlulBMRFxNH lJXETDJZf1UfsHJPQljSSromU131TB5Sq/NBf/1k93UhfJpi7vpYLXfT2WbPHcYImTcr CNhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761905099; x=1762509899; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GEMeTinKcUP58E4lvnW9PGrRCCfS2qn6jCMWx5eJs2c=; b=MiIjAzZNxIHlZmv3JV6SqbiASCM52AwsiLsU6irbTlrGvbeTypFfeJPcOy51gyxHN6 lGmW4ElSaaPTch5t8uyk4E0Y55vtwT82/biLRHJMRy9jDh0rJ/0uM8fU3jDE/E7qeEVU ChxbKQqdkfR0AkxzJyaZgPp0lbAiV7g+KBP1STSzXj5K1xcxm5xzNvKvFnA38+V80osb 4TshtAlA0XFDZH5YZcakqOwl/u+jAjZgTuLyF4dxynjYrNEw+aBwnXzdLZyLWKp2Rfbm JJ9DfX8OWaTa3lRumqana7LA/p8EYduKCiPs3bDuSn9c+4eTiCSHwv/UxTYt3dxCTMOR ZiUA== X-Forwarded-Encrypted: i=1; AJvYcCUeHJf0URYg3oQu6vv37Um/JEanYVTNk+Vcz1nY/cVDEm6gD2FX7o3+PBzsJATthcfii5PP0osITbapE2g=@vger.kernel.org X-Gm-Message-State: AOJu0YwSULii112/S4vaRdy8sCCkl5HXRLbcm+wJSN6bycHd9TUCN7pj TgPRvdN54DlGcWscMm+nFOaVk7WhxwpJHrYI/NJXPjMf9cujz2FEH1pPM8cacgxY1Lc= X-Gm-Gg: ASbGnctZ40FZQ6dBI06U30UccshCg/kXd7HtrR+eNR5rK/aQ5IfUhT3iacQVQKt8smO G07cX8sNzlrl34IJAYZM6MYEBkboNKMLiEl6Z28mAQW19adKAmzo33udBG5xIsYUz7KeZF+Lv1f zdo3fRZYy2dr1b51J8UKwDm6P0nqFJhtrMFEwqkzV0fogs53xmhGZuQzg8YkMCu7xpx4NxBH1Hq WlGzdcnAZ+/GKz6XCfFDiNPhz5ni+RU51ssDTERYSx49kcitNgceO3EIwfTBxfGwo2ClsXb42Aj cxRJpp2p0pRVzkGupg0lcT3gvL6GQ/bx1HheRBhaP8F4hF0JvvvhUbv8mWRLFTitEuBXX9zcw4/ yb4aYA2krQxXE/IxnSHv3hHAMzDTT84NofiHTpav9RwvWWEmK88NDCS62ulofTOj3EcFbYlm2An by6dgfN1WdGxwXdj9abzu90zJ/M3cni+ypmuEU80s7knB9Y1AfZnkwVIxz2w== X-Google-Smtp-Source: AGHT+IG6rUfkolNN1CRK86/13whfqnSQY7wkh3zlIQBrSCO05TTNTykamCuKrPtjYsc8MEhWLvUtqA== X-Received: by 2002:a05:6a00:1886:b0:781:1b5a:959b with SMTP id d2e1a72fcca58-7a779eeccadmr3551694b3a.30.1761905099181; Fri, 31 Oct 2025 03:04:59 -0700 (PDT) Received: from dgp100339560-01.huaqin.com ([103.117.77.121]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a7d8982117sm1644352b3a.15.2025.10.31.03.04.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Oct 2025 03:04:58 -0700 (PDT) From: Langyan Ye To: neil.armstrong@linaro.org, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dianders@chromium.org Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Langyan Ye , Conor Dooley Subject: [PATCH v5 1/2] dt-bindings: display: panel: Add Tianma TL121BVMS07-00 panel Date: Fri, 31 Oct 2025 18:04:46 +0800 Message-Id: <20251031100447.253164-2-yelangyan@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251031100447.253164-1-yelangyan@huaqin.corp-partner.google.com> References: <20251031100447.253164-1-yelangyan@huaqin.corp-partner.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add device tree bindings for the Tianma TL121BVMS07-00 12.1-inch MIPI-DSI TFT LCD panel. The panel is based on the Ilitek IL79900A controller. Signed-off-by: Langyan Ye Reviewed-by: Conor Dooley --- .../display/panel/ilitek,il79900a.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,= il79900a.yaml diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,il79900= a.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,il79900a.ya= ml new file mode 100644 index 000000000000..02f7fb1f16dc --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/ilitek,il79900a.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/ilitek,il79900a.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Ilitek IL79900a based MIPI-DSI panels + +maintainers: + - Langyan Ye + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + items: + - enum: + - tianma,tl121bvms07-00 + - const: ilitek,il79900a + + reg: + maxItems: 1 + description: DSI virtual channel used by the panel + + enable-gpios: + maxItems: 1 + description: GPIO specifier for the enable pin + + avdd-supply: + description: Positive analog voltage supply (AVDD) + + avee-supply: + description: Negative analog voltage supply (AVEE) + + pp1800-supply: + description: 1.8V logic voltage supply + + backlight: true + +required: + - compatible + - reg + - enable-gpios + - avdd-supply + - avee-supply + - pp1800-supply + +additionalProperties: false + +examples: + - | + dsi { + #address-cells =3D <1>; + #size-cells =3D <0>; + + panel@0 { + compatible =3D "tianma,tl121bvms07-00", "ilitek,il79900a"; + reg =3D <0>; + enable-gpios =3D <&pio 25 0>; + avdd-supply =3D <®_avdd>; + avee-supply =3D <®_avee>; + pp1800-supply =3D <®_pp1800>; + backlight =3D <&backlight>; + }; + }; + +... --=20 2.34.1 From nobody Mon Feb 9 13:05:35 2026 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5A5A3334682 for ; Fri, 31 Oct 2025 10:05:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761905106; cv=none; b=SNpkJB9BHcdvNVzXJbeP315GSF4y5w8AhM3c6LKI0wdLr+mJdSrcG1A3fKs6MhybChuly/qXldLVnxLa96jg2+T7TNkiJa2mX5F68+U57pHSl2ZrqjF8hie7AlOVlrdIytlbzwPPUaeU/ZzzhKulTBBRs26ADFAUMI2I5qW3JQU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761905106; c=relaxed/simple; bh=RA2ffTxjmwnG7Kd0+crA6vcO9h5AkbQtUlwc/WGyzWk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hPlOmrds7bKtGyHkYwSiGDC+PfG4ELK9+WnAeCmSvm6NPj5HFkedmKWbF71+ymmtGckc2qbTPkwP1b5r1SJOBGKLQlbeHbWq+TehrEOcIph66knG35bwQn2AZN3icb5eRSJ7RkXt4/H+yVOTrW+gfzVZwtntOUktmrHEb2mPxl8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b=FwsPqu8W; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaqin.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="FwsPqu8W" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-7a27ab05a2dso2018621b3a.2 for ; Fri, 31 Oct 2025 03:05:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1761905103; x=1762509903; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FEUFh8n08DQQphEfu7D6Jjf0DyrDDA8NGdeNReXL22I=; b=FwsPqu8WvkG8v7qYCuaxqdxi18LkDgp53zTJ3YYXAKUHdJWvLPGpr6xcn7yoBFYDa7 Q+BihNnGQVaOoI6t8jvlo85reVNeGu8Ea6U9eFQqNbf1Xdwl5FGPQiDnAa8EN9DP2lRU 9gjPjr96g1psmiJ0h/lEZYnyJ151KU/QwRGKQ9sgSAcgIBk2iyFw1uGi1RT2nzWkBC9g 9qA2qlGLoN68HcMGWft7V+fGHNPi30K7OP5/xwy2ydBH+3xPlmtFmDdkh6Xbcjs1/feh nirAbCFE5M3pP/iXkZHrrmA6wBscLa55UGr135Z4b9U4YWxw0ew8VbbtruWn1lz0x49K 0qLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761905103; x=1762509903; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FEUFh8n08DQQphEfu7D6Jjf0DyrDDA8NGdeNReXL22I=; b=Rumm6rV/AzdymfG5nCNvxGPL0IpvyH+Czs4UKlK+lFSqEd1Tf2ieUHF3CqMbg3w4rZ qPp0MXJvTxb82FsskfaXJ4T2M2/LHx22zNmOS095FNH6PN3BlaS019/iCjgogcv5HtFM PKjQbPO4y/N0XoxBoaXd0v8W3iGtcT9YiRbjrMaaPYxtuhOW5WGQDFOvcr+RosobXNkv IU0NHcjPktdxGwWJCxpH0TGKcBqmEpv39DPlxsyaNnAPLkRspZmoie9yPVG0jr//AZBM +7OknabTY7t9mRQkHldnFAlJMij4Vzz9AU0FXfDpuDEy9RvsnJGbKUHt8Eu3Vu2Mo/Es hJbw== X-Forwarded-Encrypted: i=1; AJvYcCUXIf2OjcOuoBuOtwVMrdvJeTrOx2LMwENOSr0gk5spyhUVBrAgooW9T5ZMGeqVj6HZ9Qgwy5YZOgD8xMw=@vger.kernel.org X-Gm-Message-State: AOJu0YyfjsFKgIpDu6Kca6as+Juk4RT14vrQhw7bT2EDQcnMHOydK1zE UpQ8UuT3SJCN9qHA3XUoG7e2jK4vSuDF9M49b6yvbrG3549Mc8WoNGO+XormNPefn3Q= X-Gm-Gg: ASbGncv9H5H4fwxPtcvyZeTGNHPSsqR3xgpYQyl3Zo2PjIi2MofXD+VmF+hFf8BCRpb gsW6YMR8jiS8O9UDer2DpCJrd3boxm3Au6yRiwDXM6OgEBTiiQ2gObMMZRfefLQF2MJqgcREjhG F/H0uFOZdkoQ+mXAyaONzxvFtyNj1E6DqnY4dg685aOqqUyacZ9B+2f4nd3/zwBkR6BcIhJjI8q 32dLtdJukduVdj3C6Il2L+zxOp+T1SVZEbwiGPBVUEF0HO8fnMqyrJLeOUrgTFeH3E7Vphwsvs/ Pu8MZNUYYdJoteZajIm22KyoeCecExuKfh9D6vKFtJYOrGmLlKZRmAnSL1vCOGPlj7b64ekVGH+ H9+HmhI+VbfZxqlQP76NGmbqKchemIe7xH7izc1dmhjeKjsySXbSVgTY745IY1knbxAx8UIaqhp g0TpJtHJZQrwe6B4g/YtnLMhOWnpUwkYncUkfa9LTN5NcYfj8CS1dfuqYpHw== X-Google-Smtp-Source: AGHT+IH//IxQyYKyB5E1QEm5vaYIp9M6eCvuPoYVqMg/AVtwUeanmUa0KKSrJP5wn5URAlX+DhkZZQ== X-Received: by 2002:a05:6a00:4fcf:b0:781:1a9f:aeeb with SMTP id d2e1a72fcca58-7a776e94027mr3603542b3a.1.1761905102532; Fri, 31 Oct 2025 03:05:02 -0700 (PDT) Received: from dgp100339560-01.huaqin.com ([103.117.77.121]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a7d8982117sm1644352b3a.15.2025.10.31.03.04.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Oct 2025 03:05:02 -0700 (PDT) From: Langyan Ye To: neil.armstrong@linaro.org, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, dianders@chromium.org Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Langyan Ye Subject: [PATCH v5 2/2] drm/panel: ilitek-ili9882t: Add support for Ilitek IL79900A-based panels Date: Fri, 31 Oct 2025 18:04:47 +0800 Message-Id: <20251031100447.253164-3-yelangyan@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251031100447.253164-1-yelangyan@huaqin.corp-partner.google.com> References: <20251031100447.253164-1-yelangyan@huaqin.corp-partner.google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Ilitek IL79900A display controller is similar to the ILI9882T and can be supported within the existing `panel-ilitek-ili9882t.c` driver. This patch extends the ILI9882T driver to handle IL79900A-based panels, such as the Tianma TL121BVMS07-00. The IL79900A uses a similar command sequence and initialization flow, with minor differences in power supply configuration and timing. Signed-off-by: Langyan Ye Reviewed-by: Neil Armstrong --- drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9882t.c b/drivers/gpu/dr= m/panel/panel-ilitek-ili9882t.c index 85c7059be214..c52f20863fc7 100644 --- a/drivers/gpu/drm/panel/panel-ilitek-ili9882t.c +++ b/drivers/gpu/drm/panel/panel-ilitek-ili9882t.c @@ -61,6 +61,13 @@ struct ili9882t { mipi_dsi_dcs_write_seq_multi(ctx, ILI9882T_DCS_SWITCH_PAGE, \ 0x98, 0x82, (page)) =20 +/* IL79900A-specific commands, add new commands as you decode them */ +#define IL79900A_DCS_SWITCH_PAGE 0xFF + +#define il79900a_switch_page(ctx, page) \ + mipi_dsi_dcs_write_seq_multi(ctx, IL79900A_DCS_SWITCH_PAGE, \ + 0x5a, 0xa5, (page)) + static int starry_ili9882t_init(struct ili9882t *ili) { struct mipi_dsi_multi_context ctx =3D { .dsi =3D ili->dsi }; @@ -413,6 +420,38 @@ static int starry_ili9882t_init(struct ili9882t *ili) return ctx.accum_err; }; =20 +static int tianma_il79900a_init(struct ili9882t *ili) +{ + struct mipi_dsi_multi_context ctx =3D { .dsi =3D ili->dsi }; + + mipi_dsi_usleep_range(&ctx, 5000, 5100); + + il79900a_switch_page(&ctx, 0x06); + mipi_dsi_dcs_write_seq_multi(&ctx, 0x3e, 0x62); + + il79900a_switch_page(&ctx, 0x02); + mipi_dsi_dcs_write_seq_multi(&ctx, 0x1b, 0x20); + mipi_dsi_dcs_write_seq_multi(&ctx, 0x5d, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0x5e, 0x40); + + il79900a_switch_page(&ctx, 0x07); + mipi_dsi_dcs_write_seq_multi(&ctx, 0X29, 0x00); + + il79900a_switch_page(&ctx, 0x06); + mipi_dsi_dcs_write_seq_multi(&ctx, 0x92, 0x22); + + il79900a_switch_page(&ctx, 0x00); + mipi_dsi_dcs_exit_sleep_mode_multi(&ctx); + + mipi_dsi_msleep(&ctx, 120); + + mipi_dsi_dcs_set_display_on_multi(&ctx); + + mipi_dsi_msleep(&ctx, 80); + + return 0; +}; + static inline struct ili9882t *to_ili9882t(struct drm_panel *panel) { return container_of(panel, struct ili9882t, base); @@ -529,6 +568,19 @@ static const struct drm_display_mode starry_ili9882t_d= efault_mode =3D { .type =3D DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED, }; =20 +static const struct drm_display_mode tianma_il79900a_default_mode =3D { + .clock =3D 264355, + .hdisplay =3D 1600, + .hsync_start =3D 1600 + 20, + .hsync_end =3D 1600 + 20 + 4, + .htotal =3D 1600 + 20 + 4 + 20, + .vdisplay =3D 2560, + .vsync_start =3D 2560 + 82, + .vsync_end =3D 2560 + 82 + 2, + .vtotal =3D 2560 + 82 + 2 + 36, + .type =3D DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED, +}; + static const struct panel_desc starry_ili9882t_desc =3D { .modes =3D &starry_ili9882t_default_mode, .bpc =3D 8, @@ -543,6 +595,20 @@ static const struct panel_desc starry_ili9882t_desc = =3D { .init =3D starry_ili9882t_init, }; =20 +static const struct panel_desc tianma_tl121bvms07_desc =3D { + .modes =3D &tianma_il79900a_default_mode, + .bpc =3D 8, + .size =3D { + .width_mm =3D 163, + .height_mm =3D 260, + }, + .lanes =3D 3, + .format =3D MIPI_DSI_FMT_RGB888, + .mode_flags =3D MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | + MIPI_DSI_MODE_LPM, + .init =3D tianma_il79900a_init, +}; + static int ili9882t_get_modes(struct drm_panel *panel, struct drm_connector *connector) { @@ -680,6 +746,9 @@ static const struct of_device_id ili9882t_of_match[] = =3D { { .compatible =3D "starry,ili9882t", .data =3D &starry_ili9882t_desc }, + { .compatible =3D "tianma,tl121bvms07-00", + .data =3D &tianma_tl121bvms07_desc + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, ili9882t_of_match); --=20 2.34.1