All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cong Yang <yangcong5@huaqin.corp-partner.google.com>
To: sam@ravnborg.org, neil.armstrong@linaro.org, daniel@ffwll.ch,
	dianders@google.com, hsinyi@google.com, linus.walleij@linaro.org,
	swboyd@chromium.org, airlied@gmail.com, catalin.marinas@arm.com,
	will@kernel.org
Cc: devicetree@vger.kernel.org,
	Cong Yang <yangcong5@huaqin.corp-partner.google.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: [v3 0/3] Break out as separate driver from boe-tv101wum-nl6 panel driver
Date: Thu, 12 Oct 2023 20:10:01 +0800	[thread overview]
Message-ID: <20231012121004.2127918-1-yangcong5@huaqin.corp-partner.google.com> (raw)

Linus series proposed to break out ili9882t as separate driver, 
but he didn't have time for that extensive rework of the driver.
As discussed by Linus and Doug [1], keep macro using the "struct panel_init_cmd"
until we get some resolution about the binary size issue.

[1]: https://lore.kernel.org/all/20230703-fix-boe-tv101wum-nl6-v3-0-bd6e9432c755@linaro.org

In [v1 2/2], Doug suggested move the ili9882t_enter_sleep_mode function
to ili9882t_unprepare. I tried this scheme and the test failed, because
the touchpanel reset was already pulled low before the panel enter sleep,
which did not seem to meet the timing requirements. I hoped that the current
adding delay solution can be apply to solve the special requirements of this IC.

[v1 2/2] https://lore.kernel.org/all/CAD=FV=XtqPJ77dx8uRb0=tMvC3CvgH5X+7mUJeXgcG228kZfUg@mail.gmail.com/

Changes in v3:
- PATCH 1/3: Remove "init_cmd_length" and "linux/of_device.h" .
- PATCH 2/3: Change usleep_range(50000,51000).
- PATCH 3/3: Add a little background for commit.
- Link to v2: https://lore.kernel.org/all/20231010121402.3687948-1-yangcong5@huaqin.corp-partner.google.com/

Changes in v2:
- PATCH 1/3: fix Doug comments,define "_INIT_SWITCH_PAGE_CMD" and remove the "shutdown".
- PATCH 2/3: Modify ili9882t_switch_page function instead of hardcoding.
- PATCH 3/3: Enable new config in defconfig.
- Link to v1: https://lore.kernel.org/all/20231007060639.725350-1-yangcong5@huaqin.corp-partner.google.com/

Cong Yang (3):
  drm/panel: ili9882t: Break out as separate driver
  drm/panel: ili9882t: Avoid blurred screen from fast sleep
  arm64: defconfig: Enable ILITEK_ILI9882T panel

 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    | 371 ---------
 drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 779 ++++++++++++++++++
 5 files changed, 790 insertions(+), 371 deletions(-)
 create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9882t.c

-- 
2.25.1


             reply	other threads:[~2023-10-12 12:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-12 12:10 Cong Yang [this message]
2023-10-12 12:10 ` [v3 1/3] drm/panel: ili9882t: Break out as separate driver Cong Yang
2023-10-12 12:10 ` [v3 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep Cong Yang
2023-10-12 15:15   ` Doug Anderson
2023-10-12 15:15     ` Doug Anderson
2023-10-13  1:11     ` cong yang
2023-10-13  1:11       ` cong yang
2023-10-13  2:28       ` Doug Anderson
2023-10-13  2:28         ` Doug Anderson
2023-10-13  3:55         ` cong yang
2023-10-13  3:55           ` cong yang
2023-10-13 17:05           ` Doug Anderson
2023-10-13 17:05             ` Doug Anderson
2023-10-12 12:10 ` [v3 3/3] arm64: defconfig: Enable ILITEK_ILI9882T panel Cong Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231012121004.2127918-1-yangcong5@huaqin.corp-partner.google.com \
    --to=yangcong5@huaqin.corp-partner.google.com \
    --cc=airlied@gmail.com \
    --cc=catalin.marinas@arm.com \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dianders@google.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hsinyi@google.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=sam@ravnborg.org \
    --cc=swboyd@chromium.org \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.