devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Add new panel driver Samsung S6E88A0-AMS427AP24
@ 2024-10-27 23:42 Jakob Hauser
  2024-10-27 23:42 ` [PATCH v4 1/5] dt-bindings: display: panel: Move flip properties to panel-common Jakob Hauser
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Jakob Hauser @ 2024-10-27 23:42 UTC (permalink / raw)
  To: Neil Armstrong, Jessica Zhang, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Thierry Reding, Laurent Pinchart, Andrzej Hajda, Linus Walleij,
	dri-devel, devicetree, linux-kernel, ~postmarketos/upstreaming,
	Jakob Hauser

The patchset adds a new driver for Samsung AMS427AP24 panel with S6E88A0
controller. Patches are based on current branch drm-misc-next.

The discussion in v3 was not finished. I send v4 nonetheless as a new base to
continue the discussion. I hope that's ok.

Changes in v4:

 Patch 3
 - Removed include <linux/of.h>, it's not needed.
 - Added comments to the mipi_dsi_dcs_write_seq_multi() lines in function
   s6e88a0_ams427ap24_on().

 Patch 4
 - New defines for payload data length, thereof a fixed and a variable part.
 - In the array s6e88a0_ams427ap24_br_to_cd[] made the comment about the
   columns more clear and added an additional column "brightness from".
 - Array s6e88a0_ams427ap24_aid[] reduced from five to two columns and
   s6e88a0_ams427ap24_elvss[] from two to one column. Now they hold the
   variable data only. I kept s6e88a0_ams427ap24_elvss[] as a two-dimensional
   array to allow using the same memcopy procedure for all three buffers aid,
   elvss and gamma in function s6e88a0_ams427ap24_set_brightness().
 - In function s6e88a0_ams427ap24_set_brightness() initialized prototype
   payload array for b2 and b6 commands. And in the memcpy commands below
   used the new defines for the fixed and variable data length.

 Patch 5
 - Added a comment to the mipi_dsi_dcs_write_seq_multi() line, according to the
   other lines before and after.

v1: https://lore.kernel.org/dri-devel/cover.1728582727.git.jahau@rocketmail.com/T/#t
v2: https://lore.kernel.org/dri-devel/cover.1729630039.git.jahau@rocketmail.com/T/#t
v3: https://lore.kernel.org/dri-devel/cover.1729738189.git.jahau@rocketmail.com/T/#t

Jakob Hauser (5):
  dt-bindings: display: panel: Move flip properties to panel-common
  dt-bindings: display: panel: Add Samsung S6E88A0-AMS427AP24
  drm/panel: samsung-s6e88a0-ams427ap24: Add initial driver
  drm/panel: samsung-s6e88a0-ams427ap24: Add brightness control
  drm/panel: samsung-s6e88a0-ams427ap24: Add flip option

 .../bindings/display/panel/panel-common.yaml  |   8 +
 .../panel/samsung,s6e88a0-ams427ap24.yaml     |  65 ++
 .../display/panel/samsung,s6e8aa0.yaml        |  10 +-
 drivers/gpu/drm/panel/Kconfig                 |  10 +
 drivers/gpu/drm/panel/Makefile                |   1 +
 .../panel/panel-samsung-s6e88a0-ams427ap24.c  | 766 ++++++++++++++++++
 6 files changed, 852 insertions(+), 8 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e88a0-ams427ap24.yaml
 create mode 100644 drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c

-- 
2.39.5


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-10-31 10:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-27 23:42 [PATCH v4 0/5] Add new panel driver Samsung S6E88A0-AMS427AP24 Jakob Hauser
2024-10-27 23:42 ` [PATCH v4 1/5] dt-bindings: display: panel: Move flip properties to panel-common Jakob Hauser
2024-10-27 23:42 ` [PATCH v4 2/5] dt-bindings: display: panel: Add Samsung S6E88A0-AMS427AP24 Jakob Hauser
2024-10-27 23:42 ` [PATCH v4 3/5] drm/panel: samsung-s6e88a0-ams427ap24: Add initial driver Jakob Hauser
2024-10-28 12:46   ` Linus Walleij
2024-10-27 23:42 ` [PATCH v4 4/5] drm/panel: samsung-s6e88a0-ams427ap24: Add brightness control Jakob Hauser
2024-10-28 12:47   ` Linus Walleij
2024-10-27 23:42 ` [PATCH v4 5/5] drm/panel: samsung-s6e88a0-ams427ap24: Add flip option Jakob Hauser
2024-10-28 12:47   ` Linus Walleij
2024-10-31 10:18 ` [PATCH v4 0/5] Add new panel driver Samsung S6E88A0-AMS427AP24 Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).