From patchwork Thu May 9 01:52:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: cong yang X-Patchwork-Id: 13659347 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 EA37AC04FFE for ; Thu, 9 May 2024 01:53:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D0AD110E0CF; Thu, 9 May 2024 01:53:01 +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="qcMHiVz7"; dkim-atps=neutral Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7CDAA10E0CF for ; Thu, 9 May 2024 01:53:00 +0000 (UTC) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1ec69e3dbcfso2776385ad.0 for ; Wed, 08 May 2024 18:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1715219579; x=1715824379; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AejsLaCzbwpbDWAv67krM3DXciW/HoSlXwb2PZGM+iY=; b=qcMHiVz7tQm5tjjcXd854SDcrMNoBHQKbFxYFnYe8DxVvmgPwhYaCTYFfnFsIC9TRX +ogm5A0L+yAY42lx9aPxF6sGyWxTjV/KP8Zbwv0lgtLAt5R3r+L6qpbAxUXfE6MzDAuO vj0OSJXYryJ8C0PBzYVqLKYNnYJCBVLqVCWEUb5R7thN262SbjB5OgMxFNj0JL2hGcR7 boIAwwNJzywmhtE/eauY2RWRBo9Si7SWft3zI9YYES2sTU2W936QN6cnMe7iyj7ObWsl lSQLmhutqAkSymwLwxS7gzBOYxfw3jjVJEubvgHx9HV7kQss1SJN/uZMsHsho85qj+0+ rSaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715219579; x=1715824379; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AejsLaCzbwpbDWAv67krM3DXciW/HoSlXwb2PZGM+iY=; b=LNdO3/Uak70zVWQtFEnLUFn+e2s7UUnVxhB85LdxOQOVROeX5TxE3B8Sgvkm7zxwAN WDHlg2b9Y7K7VoRaKWGIhMEulAZyJy9Lm0wUXUlB+yctqODfhhUJ4AndVgsWpepsdj8A ttD/qDe2QNhuZdJVGAaZJW/pQ4M6w0PjZT6mlDiuZ7FzCgOz6h3j7GPxnC4Az28fj1jN FJ6AOqAWHwRRruV6Gl+xezF3FR3ydo8m8nEQ2JsB+X3alSIAVlk8FmNtiOYhyjMbSXXB /upQARWBVuvLfgyjyhesDGTUaG+F5w0FTEoH4Dcq+0L3qbnrdXQMP0dI5t+5wJoG7JVv MzuA== X-Gm-Message-State: AOJu0YwQIQuiIptoOlMfpnRz+qDaiN+ZOIG+uDvaLZAk/9DIO+TIjY6S sI1w8fnd+pG1iw+N4T3JqSc2mFt/UEx9z1S7R3vxevL8u5A8t6pv9HL0x8AbEkw= X-Google-Smtp-Source: AGHT+IEjM13ZPoV1NupXDuAVvkC7M+5+thdgpXEjeB3u8/oO45tZ+DPDXvzZqOH7SKwdREZkkhLekA== X-Received: by 2002:a17:902:c3d1:b0:1ef:9b6:d03d with SMTP id d9443c01a7336-1ef09b6d05emr5235085ad.57.1715219579596; Wed, 08 May 2024 18:52:59 -0700 (PDT) Received: from localhost.localdomain ([116.66.212.162]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0b9d15dfsm2117465ad.62.2024.05.08.18.52.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 18:52:59 -0700 (PDT) From: Cong Yang To: sam@ravnborg.org, neil.armstrong@linaro.org, daniel@ffwll.ch, dianders@chromium.org, linus.walleij@linaro.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, conor+dt@kernel.org, airlied@gmail.com Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, xuxinxiong@huaqin.corp-partner.google.com, Cong Yang Subject: [PATCH v5 0/7] Break out as separate driver and add BOE nv110wum-l60 IVO t109nw41 MIPI-DSI panel Date: Thu, 9 May 2024 09:52:00 +0800 Message-Id: <20240509015207.3271370-1-yangcong5@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.25.1 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" Discussion with Doug and Linus in V1, we need a separate driver to enable the hx83102 controller. So this series this series mainly Break out as separate driver for Starry-himax83102-j02 panels from boe tv101wum driver. Then add BOE nv110wum-l60 and IVO t109nw41 in himax-hx83102 driver. Add compatible for BOE nv110wum-l60 and IVO t109nw41 in dt-bindings Note:this series depend Dous'series [1] [1]: https://lore.kernel.org/all/20240501154251.3302887-1-dianders@chromium.org/ Changes in v5: - PATCH 1/7: Modify compatible format. - PATCH 2/7: Modify hx83102_enable_extended_cmds function and adjust inital cmds indentation.update commit message. - PATCH 3/7: No change. - PATCH 4/7: No change. - PATCH 5/7: Adjust inital cmds indentation and check accum_err before calling mdelay in init(). - PATCH 6/7: No change. - PATCH 7/7: Adjust inital cmds indentation and check accum_err before calling mdelay in init(). - Link to v4:https://lore.kernel.org/all/20240507135234.1356855-1-yangcong5@huaqin.corp-partner.google.com Changes in v4: - PATCH 1/7: Update commit message and add fallback compatible. - PATCH 2/7: Add hx83102_enable_extended_cmds function, rename UNKNOWN CMDS and depend Dous'series [1]. - PATCH 3/7: No change. - PATCH 4/7: No change. - PATCH 5/7: Depend Dous'series [1]. - PATCH 6/7: No change. - PATCH 7/7: Depend Dous'series [1]. - Link to v3:https://lore.kernel.org/all/20240424023010.2099949-1-yangcong5@huaqin.corp-partner.google.com/ Changes in v3: - PATCH 1/7: Update commit message. - PATCH 2/7: Drop excess flags and function, inital cmds use lowercasehex. - PATCH 4/7: Update commit message. - PATCH 5/7: inital cmds use lowercasehex. - PATCH 6/7: Update commit message. - PATCH 7/7: inital cmds use lowercasehex.. - Link to v2: https://lore.kernel.org/all/20240422090310.3311429-1-yangcong5@huaqin.corp-partner.google.com/ Changes in v2: - PATCH 1/7: Delete Starry-himax83102-j02 from boe,tv101wum-nl6.yaml, add a new bindings file. - PATCH 2/7: Break out as separate driver with Starry-himax83102-j02 panels. - PATCH 3/7: Enable HIMAX_HX83102 panel. - PATCH 4/7: Add compatible for BOE nv110wum-l60 in dt-bindings. - PATCH 5/7: Support for BOE nv110wum-l60 MIPI-DSI panel. - PATCH 6/7: Add compatible for IVO t109nw41 in dt-bindings.. - PATCH 7/7: Support for IVO t109nw41 MIPI-DSI panel. - Link to v1: https://lore.kernel.org/all/20240410071439.2152588-1-yangcong5@huaqin.corp-partner.google.com/ Cong Yang (7): dt-bindings: display: panel: Add himax hx83102 panel bindings drm/panel: himax-hx83102: Break out as separate driver arm64: defconfig: Enable HIMAX_HX83102 panel dt-bindings: display: panel: Add compatible for BOE nv110wum-l60 drm/panel: himax-hx83102: Support for BOE nv110wum-l60 MIPI-DSI panel dt-bindings: display: panel: Add compatible for IVO t109nw41 drm/panel: himax-hx83102: Support for IVO t109nw41 MIPI-DSI panel .../display/panel/boe,tv101wum-nl6.yaml | 2 - .../bindings/display/panel/himax,hx83102.yaml | 77 ++ arch/arm64/configs/defconfig | 1 + drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-boe-tv101wum-nl6.c | 133 ---- drivers/gpu/drm/panel/panel-himax-hx83102.c | 741 ++++++++++++++++++ 7 files changed, 829 insertions(+), 135 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/himax,hx83102.yaml create mode 100644 drivers/gpu/drm/panel/panel-himax-hx83102.c