mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Introduce EBBG FT8719 DRM panel driver
@ 2022-06-01  8:24 Joel Selvaraj
  2022-06-24 20:37 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Selvaraj @ 2022-06-01  8:24 UTC (permalink / raw)
  To: Thierry Reding, Sam Ravnborg, David Airlie, Daniel Vetter,
	Rob Herring, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	Stanislav Jakubek, Shawn Guo, Krzysztof Kozlowski,
	Corentin Labbe, Linus Walleij, Hao Fang
  Cc: dri-devel, devicetree, linux-kernel, ~postmarketos/upstreaming,
	phone-devel, Joel Selvaraj

Add bindings and DRM panel driver for EBBG FT8719 6.18" 2246x1080 DSI
video mode panel, which can be found on some Xiaomi Poco F1 phones.
The panel's backlight is managed through QCOM WLED driver.

The driver is built using linux-mdss-dsi-panel-driver-generator[1], and
additionally support for handling regulators and linking external
backlight is added.

[1] https://github.com/msm8916-mainline/linux-mdss-dsi-panel-driver-generator

Changes in v4: (Linus Walleij's Suggestion)
 - Introduce mipi_dsi_dcs_write_seq macro in include/drm/drm_mipi_dsi.h
 - Remove the driver specific dsi_dcs_write_seq macro
 - Use the newly introduced mipi_dsi_dcs_write_seq macro instead

Changes in v3: (Mostly Linus Walleij's Suggestions)
 - Removed ctx->prepared state variable as it's handled by the core
 - Print error in dsi_dcs_write_seq macro if it fails to write
 - Removed magic power on sequences as panel works fine without them

Changes in v2: (Krzysztof Kozlowski's Suggestions)
 - dt-bindings: specify maxItems for reg
 - dt-bindings: cleanup and simplify the panel properties
 - dt-bindings: in example change "|+" to "|' and "dsi0" to "dsi"

Joel Selvaraj (4):
  dt-bindings: vendor-prefixes: Add prefix for EBBG
  dt-bindings: display: Add bindings for EBBG FT8719
  drm/mipi-dsi: Introduce mipi_dsi_dcs_write_seq macro
  drm/panel: introduce ebbg,ft8719 panel

 .../bindings/display/panel/ebbg,ft8719.yaml   |  74 +++++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   7 +
 drivers/gpu/drm/panel/Kconfig                 |  11 +
 drivers/gpu/drm/panel/Makefile                |   1 +
 drivers/gpu/drm/panel/panel-ebbg-ft8719.c     | 285 ++++++++++++++++++
 include/drm/drm_mipi_dsi.h                    |  17 ++
 7 files changed, 397 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/ebbg,ft8719.yaml
 create mode 100644 drivers/gpu/drm/panel/panel-ebbg-ft8719.c

-- 
2.36.1


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

* Re: [PATCH v4 0/4] Introduce EBBG FT8719 DRM panel driver
  2022-06-01  8:24 [PATCH v4 0/4] Introduce EBBG FT8719 DRM panel driver Joel Selvaraj
@ 2022-06-24 20:37 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2022-06-24 20:37 UTC (permalink / raw)
  To: Joel Selvaraj
  Cc: Thierry Reding, David Airlie, Daniel Vetter, Rob Herring,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	Stanislav Jakubek, Shawn Guo, Krzysztof Kozlowski,
	Corentin Labbe, Linus Walleij, Hao Fang, devicetree,
	linux-kernel, dri-devel, ~postmarketos/upstreaming, phone-devel

Hi Joel,

On Wed, Jun 01, 2022 at 01:54:06PM +0530, Joel Selvaraj wrote:
> Add bindings and DRM panel driver for EBBG FT8719 6.18" 2246x1080 DSI
> video mode panel, which can be found on some Xiaomi Poco F1 phones.
> The panel's backlight is managed through QCOM WLED driver.
> 
> The driver is built using linux-mdss-dsi-panel-driver-generator[1], and
> additionally support for handling regulators and linking external
> backlight is added.
> 
> [1] https://github.com/msm8916-mainline/linux-mdss-dsi-panel-driver-generator
> 
> Changes in v4: (Linus Walleij's Suggestion)
>  - Introduce mipi_dsi_dcs_write_seq macro in include/drm/drm_mipi_dsi.h
>  - Remove the driver specific dsi_dcs_write_seq macro
>  - Use the newly introduced mipi_dsi_dcs_write_seq macro instead
> 
> Changes in v3: (Mostly Linus Walleij's Suggestions)
>  - Removed ctx->prepared state variable as it's handled by the core
>  - Print error in dsi_dcs_write_seq macro if it fails to write
>  - Removed magic power on sequences as panel works fine without them
> 
> Changes in v2: (Krzysztof Kozlowski's Suggestions)
>  - dt-bindings: specify maxItems for reg
>  - dt-bindings: cleanup and simplify the panel properties
>  - dt-bindings: in example change "|+" to "|' and "dsi0" to "dsi"
> 
> Joel Selvaraj (4):
>   dt-bindings: vendor-prefixes: Add prefix for EBBG
>   dt-bindings: display: Add bindings for EBBG FT8719
>   drm/mipi-dsi: Introduce mipi_dsi_dcs_write_seq macro
>   drm/panel: introduce ebbg,ft8719 panel

All applied to drm-misc (drm-misc-next), thanks!

	Sam

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

end of thread, other threads:[~2022-06-24 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-01  8:24 [PATCH v4 0/4] Introduce EBBG FT8719 DRM panel driver Joel Selvaraj
2022-06-24 20:37 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®