From patchwork Fri Jan 17 09:14:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Langyan Ye X-Patchwork-Id: 13943041 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9FD76C02183 for ; Fri, 17 Jan 2025 09:16:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E2FF810E3A2; Fri, 17 Jan 2025 09:16:52 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="vJ0j5uzG"; dkim-atps=neutral Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by gabe.freedesktop.org (Postfix) with ESMTPS id BE8E110E3B2 for ; Fri, 17 Jan 2025 09:16:51 +0000 (UTC) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-216634dd574so21938915ad.2 for ; Fri, 17 Jan 2025 01:16:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1737105411; x=1737710211; darn=lists.freedesktop.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=/4ePeYcN434CLaylzSV66qRhHXhWDJvP3PT0WC2jlSI=; b=vJ0j5uzGIfZS/H9Xmy20CqsTAZbZ6vXB+CWR7429K6RwCdOApmjaEqGi7bILuT3nxA PJkOXrVb9w96wgLNPh8lL0WAH4fGANqcnhTc8L9Xob9FONPQ6lu9k7zQ1u0MBiBIlx+9 CmPa391wSEGKXjiAXeUg5QsET9aEjCGwnqmqczNfIuQLxw7HCD2VgDteuIJSr3gDJHoW QP55lfVn6M5DEn0ZQOp1KRYmgbqSgGJL24CWGK1bUj8sWTLFFRDiUwo9T3kOH1BEyE8J Fqp7+1g34mJe9uIBWuI9APKueFyBRQsWSu2DDm20J2lyr3R3HLhvjiI7N5iDgqQ6svXY evdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737105411; x=1737710211; 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=/4ePeYcN434CLaylzSV66qRhHXhWDJvP3PT0WC2jlSI=; b=Cj1mH/G1FKewtZBaChITKQXmfnMk/sKxSEs8ldprfxTDTUuHAakXrAiolqqnTv+KiX doA7hq7xZ2gRf7pCzQkx1l2+h/ca3/US+aS5xs8+atXoyqFwAZQ+uADcaYVUVPIenrmf pxxjbE4AedFYqDLYfJzkF49BGNCgTyp7oPG7WUm0Sl/MTap4SDES9PNj8VtavIej5vM4 PK22IABYCaBgS7TTjIQGiwFFYJt0zDQNbA31iNU1Q+qVbCoiwO7JaqFukA/U2N8+KMlv TtHzS61LYUUTsBaZQQxHi829Ri/de2kboOMLtQBK7VemBRYmuf9CQ4/wjZh/mxes9ePA VK0A== X-Forwarded-Encrypted: i=1; AJvYcCVxZnBC5efYW4RLp4e+WCKOUgJFFzsYb/3ZBsFwqJZnVxcW9ArMmKCM63e7CYiOB+FinZIYf5WEDNg=@lists.freedesktop.org X-Gm-Message-State: AOJu0Yx5kolNm2cgjLlGekshwyV9HPkV337Rs1TiJfFSGiXHXN5/HjW2 wZJysOs4lbMXI0Y5z2sH0zE1FLAI70A/LTyw5izlBqNzfs/AIRbxKE/LiRTSvE8= X-Gm-Gg: ASbGncsyzxNNqkCJdx55DnLzdKXMtMseMPdAIqrhmesDNYcncNfufsBXy0SKbfaefwA vqYnFlzKSwg/3I/ml9rvQjMe4i2DoXG84Tg90gerODSpncK0N8HyuTcyh/+bLRFmZ7URs6s++lR UqW+EDGFygfcle6N1dJL1CjXToF0RiZb9q222ls5PmUf/UxZHRn3PbtYIdHJ+ODMfhITeSyHW7W bB4zs32zrRgXuNusXA0jbuYPBxAQK46SbzHW8abQWX6GJUtJr7t5bbQSfGpfQwvzg2tcnvMZtLI ioqYFilJr0/ohF5cyVZzzfPcOrV7 X-Google-Smtp-Source: AGHT+IHxjWxNuocSB51L3iM4hFQX30KabrZ22jj+dQeQ8clRXiy+xEMnoo0skqlz3YEsGJVarQMwlQ== X-Received: by 2002:a05:6a00:189a:b0:727:3ccc:25b0 with SMTP id d2e1a72fcca58-72dafa9b030mr3428746b3a.16.1737105411269; Fri, 17 Jan 2025 01:16:51 -0800 (PST) Received: from dgp100339560-01.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72dab815bccsm1421548b3a.56.2025.01.17.01.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 01:16:50 -0800 (PST) From: Langyan Ye To: neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, 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, thierry.reding@gmail.com, sam@ravnborg.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Langyan Ye Subject: [PATCH v3 1/4] dt-bindings: display: panel: Add compatible for KINGDISPLAY KD110N11-51IE Date: Fri, 17 Jan 2025 17:14:35 +0800 Message-Id: <20250117091438.1486732-2-yelangyan@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117091438.1486732-1-yelangyan@huaqin.corp-partner.google.com> References: <20250117091438.1486732-1-yelangyan@huaqin.corp-partner.google.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The KINGDISPLAY KD110N11-51IE is a 10.95" WUXGA TFT LCD panel, which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Langyan Ye --- .../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml index 7a9f49e40e75..c771f517952d 100644 --- a/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml +++ b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml @@ -34,6 +34,8 @@ properties: - starry,2081101qfh032011-53g # STARRY ili9882t 10.51" WUXGA TFT LCD panel - starry,ili9882t + # KINGDISPLAY KD110N11-51IE 10.95" WUXGA TFT LCD panel + - kingdisplay,kd110n11-51ie reg: maxItems: 1 From patchwork Fri Jan 17 09:14:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Langyan Ye X-Patchwork-Id: 13943043 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B5CD6C02183 for ; Fri, 17 Jan 2025 09:18:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3870D10E236; Fri, 17 Jan 2025 09:18:11 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="c9+o4lJK"; dkim-atps=neutral Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8FC4210E236 for ; Fri, 17 Jan 2025 09:18:10 +0000 (UTC) Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2164b1f05caso34799915ad.3 for ; Fri, 17 Jan 2025 01:18:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1737105430; x=1737710230; darn=lists.freedesktop.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=kv75voyZV+5wj1rCTi/H5IxduQD+JzMUTiBVDefdHgo=; b=c9+o4lJKQEMhYQ9QEZTpBV7JZtlIQcD4qrKUXJuhZdwCMYvih7tBQ4shVdWGtiRAOF oExLnAWODVm+U8CZq3au4udu+aAQALfmllE1qqP5BSc3uKHka2GGZqiMze6k9pWii9Og VgyCOCOrEl2oHpbCAS2QRrZ8hN2ocrjqI615TqNyC66AvxNyzAbdLzu6HMZEswZSG3zl 1h7lpmvi/KF69pWPSn6MeVjbub7Y0HFESicFnkDlQDO+P3ICx3d6W5DxKrQ4pnnTdfjU 7YhyDqKiHowYjxmv/8jYapD06qcSSk9tORTFycRj3KIck8vOr8pjfOVwS93dEcgPgszf APSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737105430; x=1737710230; 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=kv75voyZV+5wj1rCTi/H5IxduQD+JzMUTiBVDefdHgo=; b=Zpey9FaaWeyRvDdPTNNIZZmEpJoRqXRghoKX3FI6MjAdQA2rI3eMNI8mMt18wZZ7PQ YT1pN25k+w0Ct9Dn7/jYJId+sz598YutLSzBezwxZGJSmdmGVLJqbc7zpygYLuLZwi6M 0elIrKcf6XI5f/jw0+UCUkwPmIZ7pzo4DnUSGrUucukNmkaVNyCbHVuutM8eO67BpV9d 6ngulW3UBXw+P7fNRqTJgnNvcYsn+9E9wJsSPZ66bi9T/VqAuTtyf6pFxlJhPUSwgfak 75X2OcWVTBPfg2ODSA2h1iBwX4Is1eP8bvrCbgmXSuJ7mm1jaUBxjlolAeSRSH63+FGB GCEg== X-Forwarded-Encrypted: i=1; AJvYcCVCHksb8HATOjw2YyWHGCRPWLmIrAcczKgkjq175ezAti5sG6BJXCPfvSyy7/gS/jgTCrl+ZKytCaI=@lists.freedesktop.org X-Gm-Message-State: AOJu0YzbFGSz77458LX8TRlrGTgBEsHBBrPBvAaqIzEAGAcEmJTZVJfO gzTKEYconFmOL8rKb2p+l4MaSygVhKlIsh7e0JCypks8k73X9HnghkXY6KaIxqo= X-Gm-Gg: ASbGncti0O0XbcjDwrsvthmNo6DvwJGv/DXRNSslC28Jo11gA/3IXmuWem6LvFPPL0k 9uO9QF1O+19UPXXu0E8jgX5jLlX3brAKVrQj8jjCVFYR0I022s/6a+3OKT/S1F3xesmZF+pF9SC O/fHEpf+ISnt3iMP6b6ZhYvT6/Y0oovSqILm4uVyRthp9lzLwhwcrYHBFy7IhbIuA/Wc1CV/3wV 5sfZogt/MqyBa8gc8PzYZ7iip1iTD/dVpgabq4l47faBoYd6uZTYMfcQBNy9h5QWAMETd2lGNjn JKGyb72rhdbXLkdl/p5JTaGqlrGT X-Google-Smtp-Source: AGHT+IFDzcnY1S9j6j6dsi2fgvb1cdv/fF7vzqTpNv3XE15NG5j4dFJsyXJu68v2zO0UZM58U2Am4Q== X-Received: by 2002:a05:6a00:1743:b0:725:f1b1:cbc5 with SMTP id d2e1a72fcca58-72daf931e97mr3532352b3a.3.1737105430234; Fri, 17 Jan 2025 01:17:10 -0800 (PST) Received: from dgp100339560-01.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72dab815bccsm1421548b3a.56.2025.01.17.01.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 01:17:09 -0800 (PST) From: Langyan Ye To: neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, 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, thierry.reding@gmail.com, sam@ravnborg.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Langyan Ye Subject: [PATCH v3 2/4] dt-bindings: display: panel: Add compatible for STARRY 2082109QFH040022-50E Date: Fri, 17 Jan 2025 17:14:36 +0800 Message-Id: <20250117091438.1486732-3-yelangyan@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117091438.1486732-1-yelangyan@huaqin.corp-partner.google.com> References: <20250117091438.1486732-1-yelangyan@huaqin.corp-partner.google.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The STARRY 2082109QFH040022-50E is a 10.95" WUXGA TFT LCD panel, which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Langyan Ye --- .../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml index c771f517952d..75f7598ceac8 100644 --- a/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml +++ b/Documentation/devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml @@ -36,6 +36,8 @@ properties: - starry,ili9882t # KINGDISPLAY KD110N11-51IE 10.95" WUXGA TFT LCD panel - kingdisplay,kd110n11-51ie + # STARRY 2082109QFH040022-50E 10.95" WUXGA TFT LCD panel + - starry,2082109qfh040022-50e reg: maxItems: 1 From patchwork Fri Jan 17 09:14:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Langyan Ye X-Patchwork-Id: 13943042 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9F7C7C02185 for ; Fri, 17 Jan 2025 09:17:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1E96B10E3B2; Fri, 17 Jan 2025 09:17:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="2GNE2Vs2"; dkim-atps=neutral Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by gabe.freedesktop.org (Postfix) with ESMTPS id 51E6910E3B2 for ; Fri, 17 Jan 2025 09:17:16 +0000 (UTC) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-21670dce0a7so41311795ad.1 for ; Fri, 17 Jan 2025 01:17:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1737105436; x=1737710236; darn=lists.freedesktop.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=1Sf/doY8bC48FwKJYlisYvOWvCn0u3xeZy9vgidWn9o=; b=2GNE2Vs2+89c7NMWD2Kr+bkKC0beSjUFnQg0djOJ3rYqRaVajFl9Wng76cy3gNcfNO +2DdObFzg+2HWUlK8nk+IpkcHYvEOV1f8/k2+3y5VivCSr39pMpwe5PM5HiKrYgoDWCh y4LPm9ZDfxxaeH2XQXuypyceIT5ORFLPwymtHsH+QwRu9y+2t9nUeZPVBN6W34RvlAvJ y44CykgUMgj6BV0JpsQlPGQrjBpI2Kugha3oIU79tRSup54bpJL61v6jm1Il+pdABeQL rg8sHzIIZDgu7AHvatw0OlBtyQke8Y2rMLoxNU9JLp2xRKr+LONOyxrBJw71aPyGgPXI eQ5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737105436; x=1737710236; 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=1Sf/doY8bC48FwKJYlisYvOWvCn0u3xeZy9vgidWn9o=; b=VGaVGrkTgHvnFCG7qc6yGljAe3R1OQcLTuYmU2so2KfJtA43nqAeGpC5QJsUBj/8TZ ladkfVusKkwX9P9neHqK0+IX/xYb2hTCgTfO70uqSxPUHVAjNAl3o1hTaVXjCkgxGmTl EmLn/zYOlBXWKVdxocpl4q9XBPE9NKW8fb6SFmeHLm4noneKb/KPIcpY1iykqVec6dtp quWzmJEYPU6vCj/xG7PGCd9Sftz8wF9d6gDfD9u5dl/16f83uHSalt05e1DNyjHSJbnr Jr35RtBtc8E+TtlMaa3JpuaxXJCqUqpQlPoU7VO84ZpruyGtrtDUiKi012Lv8x92nMim Ln3A== X-Forwarded-Encrypted: i=1; AJvYcCX0I4NaJ9UmNOcYLlECmFDVymHCsJouYFbyWVU9Qk15CDprkCmdiYWUWNBXfldGNRMiHb+UAyHnO5s=@lists.freedesktop.org X-Gm-Message-State: AOJu0Yx6phoMQU3kSGB1A1sQtuAu55oF16roEMmyjTVei2DHUNVh7oHu XM3g7rEkPzHIXP75ojZ7ku/SNuThfTCRnbsPstXJhz1uCpXUbTWehBu6ky35jw8= X-Gm-Gg: ASbGncs3GbjbiV3E6Yf0WjRK91LOagUUiMVENPiinPPax38V/3uvnA3OMRG/cvMJO2r CARFbZMo64f5e0CXuXgGorxczQK+PxJqUtZoNSfqfUcvXAcGaoErus7y2h9bn44RmgOQLJX9T1Y z4jfw5m0tj8ja0a0F3IRwGzGnvvhy/WKP5LnQoUj1YkuUVrnQveGngB0bzesoqqvJjGHayTYADV BML4BpW9iSXUPDI1HCU01QMJKQqnuvILAVVHJDU3PgWBDPTg8V/Kd6O3YSsrTW74n5AUgKQRobr mmqAwL5q0DMVlzN6BQsDam8VX6Kh X-Google-Smtp-Source: AGHT+IHuw0RE4CXeB6LVWB8Z18CH6wAhh/J+fBjQnpOmfLXBGjiAE6rnxBGAMMs9IM1r88fXZE0nEg== X-Received: by 2002:a05:6a00:b8b:b0:725:eacf:cfdb with SMTP id d2e1a72fcca58-72dafbd4fd1mr2896073b3a.24.1737105435761; Fri, 17 Jan 2025 01:17:15 -0800 (PST) Received: from dgp100339560-01.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72dab815bccsm1421548b3a.56.2025.01.17.01.17.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 01:17:15 -0800 (PST) From: Langyan Ye To: neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, 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, thierry.reding@gmail.com, sam@ravnborg.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Langyan Ye Subject: [PATCH v3 3/4] drm/panel: boe-tv101wum-nl6: support for kingdisplay-kd110n11-51ie MIPI-DSI panel Date: Fri, 17 Jan 2025 17:14:37 +0800 Message-Id: <20250117091438.1486732-4-yelangyan@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117091438.1486732-1-yelangyan@huaqin.corp-partner.google.com> References: <20250117091438.1486732-1-yelangyan@huaqin.corp-partner.google.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The kingdisplay-kd110n11-51ie is a 10.95" TFT panel. which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. From the datasheet, MIPI needs to keep the LP11 state before the lcm_reset pin is pulled high, so increase lp11_before_reset flag. Signed-off-by: Langyan Ye --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c index 3e5b0d8636d0..72fa0f6a5cb6 100644 --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c @@ -1309,6 +1309,97 @@ static int starry_qfh032011_53g_init(struct boe_panel *boe) return 0; }; +static int kingdisplay_kd110n11_51ie_init(struct boe_panel *boe) +{ + struct mipi_dsi_multi_context ctx = { .dsi = boe->dsi }; + + msleep(50); + + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB9, 0x83, 0x10, 0x21, 0x55, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC4); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD9, 0xD1); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB1, 0x2C, 0xB3, 0xB3, 0x31, 0xF1, 0x33, 0xE0, 0x54, + 0x36, 0x36, 0x3A, 0x3A, 0x32, 0x8B, 0x11, 0xE5, 0x98); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xD9); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB1, 0x8B, 0x33); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB2, 0x00, 0x47, 0xB0, 0x80, 0x00, 0x2C, 0x80, 0x3C, + 0x9F, 0x22, 0x20, 0x00, 0x00, 0x98, 0x51); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB4, 0x64, 0x64, 0x64, 0x64, 0x64, 0x64, 0x40, 0x84, + 0x64, 0x84, 0x01, 0x9D, 0x01, 0x02, 0x01, 0x00, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBC, 0x1B, 0x04); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBE, 0x20); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBF, 0xFC, 0xC4, 0x80, 0x9C, 0x36, 0x00, 0x0D, 0x04); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xC0, 0x32, 0x32, 0x22, 0x11, 0x22, 0xA0, 0x31, 0x08, + 0xF5, 0x03); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xCC); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xC7, 0x80); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC6); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xC8, 0x97); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xC9, 0x00, 0x1E, 0x13, 0x88, 0x01); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x08, 0x13, 0x07, 0x00, 0x0F, 0x36); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xCC, 0x02, 0x03, 0x44); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD1, 0x07, 0x06, 0x00, 0x02, 0x04, 0x2C, 0xFF); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD3, 0x06, 0x00, 0x00, 0x00, 0x40, 0x04, 0x08, 0x04, + 0x08, 0x37, 0x07, 0x44, 0x37, 0x2B, 0x2B, 0x03, 0x03, 0x32, + 0x10, 0x22, 0x00, 0x25, 0x32, 0x10, 0x29, 0x00, 0x29, 0x32, + 0x10, 0x08, 0x00, 0x08, 0x00, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD5, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, + 0x18, 0x18, 0x07, 0x06, 0x07, 0x06, 0x05, 0x04, 0x05, 0x04, + 0x03, 0x02, 0x03, 0x02, 0x01, 0x00, 0x01, 0x00, 0x18, 0x18, + 0x25, 0x24, 0x25, 0x24, 0x1F, 0x1F, 0x1F, 0x1F, 0x1E, 0x1E, + 0x1E, 0x1E, 0x20, 0x20, 0x20, 0x20); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x0A, 0x2A, 0xAA, 0x8A, 0xAA, 0xA0, 0x0A, 0x2A, + 0xAA, 0x8A, 0xAA, 0xA0); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0xE0, 0x10, 0x10, 0x0D, 0x1E, 0x9D, 0x02, 0x52, + 0x9D, 0x14, 0x14); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x01); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB1, 0x01, 0x7F, 0x11, 0xFD); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC5); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBA, 0x4F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x86); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD2, 0x64); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC5); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD3, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x0A, 0x2A, 0xAA, 0x8A, 0xAA, 0xA0, 0x0A, 0x2A, + 0xAA, 0x8A, 0xAA, 0xA0, 0x05, 0x15, 0x55, 0x45, 0x55, 0x50, + 0x05, 0x15, 0x55, 0x45, 0x55, 0x50); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0x02, 0x00, 0x24, 0x01, 0x7E, 0x0F, 0x7C, 0x10, + 0xA0, 0x00, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x02); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x03, 0x07, 0x00, 0x10, 0x7B); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x0F, 0x3F, 0xFF, 0xCF, 0xFF, 0xF0, 0x0F, 0x3F, + 0xFF, 0xCF, 0xFF, 0xF0); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0xFE, 0x01, 0xFE, 0x01, 0xFE, 0x01, 0x00, 0x00, + 0x00, 0x23, 0x00, 0x23, 0x81, 0x02, 0x40, 0x00, 0x20, 0x9D, + 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x03); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB2, 0x66, 0x81); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC6); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB4, 0x03, 0xFF, 0xF8); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x0A, 0x2A, 0xAA, 0x8A, 0xAA, 0xA0, 0x0A, 0x2A, + 0xAA, 0x8A, 0xAA, 0xA0, 0x0F, 0x2A, 0xAA, 0x8A, 0xAA, 0xF0, + 0x0F, 0x2A, 0xAA, 0x8A, 0xAA, 0xF0, 0x0A, 0x2A, 0xAA, 0x8A, + 0xAA, 0xA0, 0x0A, 0x2A, 0xAA, 0x8A, 0xAA, 0xA0); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB9, 0x00, 0x00, 0x00, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0x11); + + mipi_dsi_msleep(&ctx, 120); + + mipi_dsi_dcs_write_seq_multi(&ctx, 0x29); + + mipi_dsi_msleep(&ctx, 20); + + return 0; +} + static inline struct boe_panel *to_boe_panel(struct drm_panel *panel) { return container_of(panel, struct boe_panel, base); @@ -1642,6 +1733,34 @@ static const struct panel_desc starry_qfh032011_53g_desc = { .lp11_before_reset = true, }; +static const struct drm_display_mode kingdisplay_kd110n11_51ie_default_mode = { + .clock = (1200 + 124 + 80 + 80) * (1920 + 88 + 8 + 38) * 60 / 1000, + .hdisplay = 1200, + .hsync_start = 1200 + 124, + .hsync_end = 1200 + 124 + 80, + .htotal = 1200 + 124 + 80 + 80, + .vdisplay = 1920, + .vsync_start = 1920 + 88, + .vsync_end = 1920 + 88 + 8, + .vtotal = 1920 + 88 + 8 + 38, + .type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED, +}; + +static const struct panel_desc kingdisplay_kd110n11_51ie_desc = { + .modes = &kingdisplay_kd110n11_51ie_default_mode, + .bpc = 8, + .size = { + .width_mm = 147, + .height_mm = 235, + }, + .lanes = 4, + .format = MIPI_DSI_FMT_RGB888, + .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | + MIPI_DSI_MODE_LPM, + .init = kingdisplay_kd110n11_51ie_init, + .lp11_before_reset = true, +}; + static int boe_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector) { @@ -1807,6 +1926,9 @@ static const struct of_device_id boe_of_match[] = { { .compatible = "starry,2081101qfh032011-53g", .data = &starry_qfh032011_53g_desc }, + { .compatible = "kingdisplay,kd110n11-51ie", + .data = &kingdisplay_kd110n11_51ie_desc + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, boe_of_match); From patchwork Fri Jan 17 09:14:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Langyan Ye X-Patchwork-Id: 13943044 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7B1F5C02183 for ; Fri, 17 Jan 2025 09:18:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 03EF310E21E; Fri, 17 Jan 2025 09:18:22 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=huaqin-corp-partner-google-com.20230601.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20230601.gappssmtp.com header.b="zq6vtfZ/"; dkim-atps=neutral Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by gabe.freedesktop.org (Postfix) with ESMTPS id EB19310E21E for ; Fri, 17 Jan 2025 09:18:20 +0000 (UTC) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2163b0c09afso34776705ad.0 for ; Fri, 17 Jan 2025 01:18:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1737105440; x=1737710240; darn=lists.freedesktop.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=6vsu01DL5YXruSfsNC0w4FgwMrAXarB2x6Q2xxx/MZ8=; b=zq6vtfZ/X4oXX4hnsLHaZEODcJp7t9srgh4DO2czKaVlrgEXaZurx3XEfuzSa1b4KR BRZonZuTfBsmxKr8lMNaRDG+KB6qHmX20ulGNz3uORWxZi1NSJ8lDj7eo43fwKIYZxQa kuyP2FgOgBD3j/wcLLxANv3huTlr/ivDUb448UPBgm7yILlyZ9sWTE8sT4e/sPLANfT8 ZAYAEINhEdW/J1C5yZD7KOC1YbjkaV5+fINz88N0SXJe1AAUe7zaNb898pzK4Lf9uXn3 whQy7k34ulileqRUSqCH/2UwxNPA1Gyb7I6u8uyamass0sJe9/cmgUS91x5u9PwWnDZK SJqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737105440; x=1737710240; 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=6vsu01DL5YXruSfsNC0w4FgwMrAXarB2x6Q2xxx/MZ8=; b=Czt3Pm2rdlFgTkNmdKWeZNykO8PYS/JHY3tc5T7AQqsHbWNmJDZv5ooGts/N72MFlj rgEcNVw+wNqWEKxP9kVj/K+trkxLsUIb0pYUiuCGufR+O54u9LZNKzDGt0wWPlSlBEzk K9m2fHzci9NUXwcZtwCjm2YBIiypQKHsq/3UszzJTmNKqpW2JrbXTAGe0YHSQG7tmwDG 8tdKc2MwHPe3hoeG1bmgpqpoPd0TyFF8rO7rkrgZEND8B/GPnxntb6xuDIlyJqM/kxLh ib2cwSJ8xMCIlUeTHyx5QyvA2CAsEl5cfdTsFdW/oiLH+0i2dDyPY5PSiolKVgU6jPwX EIww== X-Forwarded-Encrypted: i=1; AJvYcCVCOJ6H+Y7ZoQnDja3Mu1Cr4pJB+z4d7vHAowml7gLRBaq2cnM5IoZOR8qFvkiIE67/kWd3bCE2Tgk=@lists.freedesktop.org X-Gm-Message-State: AOJu0YxUGsnowuvtsMKaTU701qIolvbuGxfjvlJ/RZT6euKJBMp1AJLN obnKfeRJjFZQWPQxYSO5Vr3vEPfHVez26ToxAXuaskPHyzaxS0wL9QYTPlfEoCo= X-Gm-Gg: ASbGnctDDSF1OlYoJ073WJbSE0inCf1JbEPCegCkNu8hpkdlN52S+LazjWAONBQX1gV J+te6Ub/8knM06jgKV1Yi24eMS6Qs1JNop8qP0/T0Tkue8+ftWEvTpI8R3U0YTIzbQWUrZUAXaY yVEzr6/aTs66D6cAyHOvjdW/uCgTzt0flL8IEGuiz7YTXBfpIw7ULpsxBxKMm9DbBNQBzkNEm8e aPsjTd9sGN/GoezmlOth0JHa9GgAH9ifWlf0G6ZDdgRIiIPJECmulSlLNyum8DpwEq3XoVWHPP9 4aHFuSThuIVXx0VT8WwxINC3HcJm X-Google-Smtp-Source: AGHT+IGoUaGk95oUM4yQSaHCkyk3jFE22p1d6MLwz3TYAGKxVg2fcmcmw3Ez/8KhKRUvTsG7JUf3Lg== X-Received: by 2002:a05:6a00:2e9e:b0:725:e1de:c0bf with SMTP id d2e1a72fcca58-72daf9483fdmr2743028b3a.9.1737105440509; Fri, 17 Jan 2025 01:17:20 -0800 (PST) Received: from dgp100339560-01.huaqin.com ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72dab815bccsm1421548b3a.56.2025.01.17.01.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 01:17:19 -0800 (PST) From: Langyan Ye To: neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, 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, thierry.reding@gmail.com, sam@ravnborg.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Langyan Ye Subject: [PATCH v3 4/4] drm/panel: boe-tv101wum-nl6: support for starry-2082109qfh040022-50e MIPI-DSI panel Date: Fri, 17 Jan 2025 17:14:38 +0800 Message-Id: <20250117091438.1486732-5-yelangyan@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117091438.1486732-1-yelangyan@huaqin.corp-partner.google.com> References: <20250117091438.1486732-1-yelangyan@huaqin.corp-partner.google.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The starry-2082109qfh040022-50e is a 10.95" TFT panel. which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. From the datasheet, MIPI needs to keep the LP11 state before the lcm_reset pin is pulled high, so increase lp11_before_reset flag. Signed-off-by: Langyan Ye --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c | 148 ++++++++++++++++++ 1 file changed, 148 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c index 72fa0f6a5cb6..d45321cece55 100644 --- a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c +++ b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c @@ -1400,6 +1400,123 @@ static int kingdisplay_kd110n11_51ie_init(struct boe_panel *boe) return 0; } +static int starry_2082109qfh040022_50e_init(struct boe_panel *boe) +{ + struct mipi_dsi_multi_context ctx = { .dsi = boe->dsi }; + + msleep(50); + + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB9, 0x83, 0x10, 0x21, 0x55, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC4); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD9, 0xD1); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB1, 0x2C, 0xB5, 0xB5, 0x31, 0xF1, 0x33, 0xC3, 0x57, + 0x36, 0x36, 0x36, 0x36, 0x1A, 0x8B, 0x11, 0x65, 0x00, 0x88, 0xFA, 0xFF, 0xFF, + 0x8F, 0xFF, 0x08, 0x3C, 0x33); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB2, 0x00, 0x47, 0xB0, 0x80, 0x00, 0x22, 0x70, 0x3C, + 0xA1, 0x22, 0x00, 0x00, 0x00, 0x88, 0xF4); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB4, 0x14, 0x16, 0x14, 0x50, 0x14, 0x50, 0x0D, 0x6A, + 0x0D, 0x6A, 0x01, 0x9E); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB6, 0x34, 0x34, 0x03); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB8, 0x40); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xCD); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBA, 0x84); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBC, 0x1B, 0x04); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBE, 0x20); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBF, 0xFC, 0xC4); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xC0, 0x38, 0x38, 0x22, 0x11, 0x33, 0xA0, 0x61, 0x08, + 0xF5, 0x03); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xCC); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xC7, 0x80); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC6); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xC8, 0x97); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xC9, 0x00, 0x1E, 0x30, 0xD4, 0x01); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x08, 0x13, 0x07, 0x00, 0x0F, 0x16); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xCC, 0x02, 0x03, 0x44); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC4); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD0, 0x03); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD1, 0x37, 0x06, 0x00, 0x02, 0x04, 0x2C, 0xFF); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD3, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x3B, 0x03, 0x73, 0x3B, 0x21, 0x21, 0x03, 0x03, 0x98, 0x10, 0x1D, 0x00, + 0x1D, 0x32, 0x17, 0xA1, 0x07, 0xA1, 0x43, 0x17, 0xA6, 0x07, 0xA6, 0x00, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD5, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x40, 0x40, + 0x18, 0x18, 0x18, 0x18, 0x2A, 0x2B, 0x1F, 0x1F, 0x1E, 0x1E, 0x24, 0x25, 0x26, + 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, + 0x08, 0x09, 0x0A, 0x0B, 0x20, 0x21, 0x18, 0x18, 0x18, 0x18); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x02, 0xAA, 0xEA, 0xAA, 0xAA, 0x00, 0x02, 0xAA, + 0xEA, 0xAA, 0xAA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0x07, 0x10, 0x10, 0x2A, 0x32, 0x9F, 0x01, 0x5A, + 0x91, 0x14, 0x14, 0x00, 0x00, 0x00, 0x00, 0x12, 0x05, 0x02, 0x02, 0x10, 0x33, + 0x02, 0x04, 0x18, 0x01); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x01); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB1, 0x01, 0x7F, 0x11, 0xFD); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x86); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD2, 0x3D); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC5); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD3, 0x00, 0x00, 0x00, 0x80, 0x80, 0x0C, 0xA1); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0x03, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x03, 0xFF, + 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0x02, 0x00, 0x2D, 0x01, 0x7F, 0x0F, 0x7C, 0x10, + 0xA0, 0x00, 0x00, 0x77, 0x00, 0x00, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x02); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBF, 0xF2); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xCB, 0x02, 0x00, 0x00, 0x10, 0x58); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD2, 0x0A, 0x0A, 0x05, 0x03, 0x0A, 0x0A, 0x01, 0x03, + 0x01, 0x01, 0x05, 0x0E); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xCC); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD3, 0x03, 0x1F, 0xE0, 0x11, 0x70); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0xAB, 0xFF, 0xFF, 0xFF, 0xFF, 0xA0, 0xAB, 0xFF, + 0xFF, 0xFF, 0xFF, 0xA0); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE7, 0xFE, 0x01, 0xFE, 0x01, 0xFE, 0x01, 0x00, 0x00, + 0x00, 0x03, 0x00, 0x03, 0x81, 0x02, 0x40, 0x00, 0x20, 0x9E, 0x02, 0x01, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x03); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC6); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB4, 0x03, 0xFF, 0xF8); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xD8, 0xAA, 0xAB, 0xEA, 0xAA, 0xAA, 0xA0, 0xAA, 0xAB, + 0xEA, 0xAA, 0xAA, 0xA0, 0xAA, 0xBF, 0xFF, 0xFF, 0xFE, 0xA0, 0xAA, 0xBF, 0xFF, + 0xFF, 0xFE, 0xA0, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xA0, 0xAA, 0xAA, 0xAA, 0xAA, + 0xAA, 0xA0); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE1, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC4); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBA, 0x96); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x01); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xC5); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBA, 0x4F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x02); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0xCC); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBA, 0x84); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xE9, 0x3F); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xBD, 0x00); + mipi_dsi_dcs_write_seq_multi(&ctx, 0xB9, 0x00, 0x00, 0x00, 0x00); + + msleep(110); + + mipi_dsi_dcs_write_seq_multi(&ctx, 0x11); + + mipi_dsi_msleep(&ctx, 120); + + mipi_dsi_dcs_write_seq_multi(&ctx, 0x29); + + mipi_dsi_msleep(&ctx, 20); + + return 0; +} + static inline struct boe_panel *to_boe_panel(struct drm_panel *panel) { return container_of(panel, struct boe_panel, base); @@ -1761,6 +1878,34 @@ static const struct panel_desc kingdisplay_kd110n11_51ie_desc = { .lp11_before_reset = true, }; +static const struct drm_display_mode starry_2082109qfh040022_50e_default_mode = { + .clock = (1200 + 160 + 66 + 120) * (1920 + 115 + 8 + 28) * 60 / 1000, + .hdisplay = 1200, + .hsync_start = 1200 + 160, + .hsync_end = 1200 + 160 + 66, + .htotal = 1200 + 160 + 66 + 120, + .vdisplay = 1920, + .vsync_start = 1920 + 115, + .vsync_end = 1920 + 115 + 8, + .vtotal = 1920 + 115 + 8 + 28, + .type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED, +}; + +static const struct panel_desc starry_2082109qfh040022_50e_desc = { + .modes = &starry_2082109qfh040022_50e_default_mode, + .bpc = 8, + .size = { + .width_mm = 147, + .height_mm = 235, + }, + .lanes = 4, + .format = MIPI_DSI_FMT_RGB888, + .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | + MIPI_DSI_MODE_LPM, + .init = starry_2082109qfh040022_50e_init, + .lp11_before_reset = true, +}; + static int boe_panel_get_modes(struct drm_panel *panel, struct drm_connector *connector) { @@ -1929,6 +2074,9 @@ static const struct of_device_id boe_of_match[] = { { .compatible = "kingdisplay,kd110n11-51ie", .data = &kingdisplay_kd110n11_51ie_desc }, + { .compatible = "starry,2082109qfh040022-50e", + .data = &starry_2082109qfh040022_50e_desc + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, boe_of_match);