mbox series

[v3,0/2] Add Samsung AMS639RQ08 panel support

Message ID 20240930202448.188051-1-danila@jiaxyga.com (mailing list archive)
Headers show
Series Add Samsung AMS639RQ08 panel support | expand

Message

Danila Tikhonov Sept. 30, 2024, 8:24 p.m. UTC
This series adds Samsung AMS639RQ08 panel support used in:
- Xiaomi Mi 9 Lite / CC9 (sdm710-xiaomi-pyxis)
- Xiaomi Mi 9T / Redmi K20 (sm7150-xiaomi-davinci)
- Xiaomi Mi 9T Pro / Redmi K20 Pro (sm8150-xiaomi-raphael)

Was tested on sm7150-xiaomi-davinci and sm8150-xiaomi-raphael. Based on my
analysis of the downstream DTS, this driver should be fully compatible with
the sdm710-xiaomi-pyxis (unfortunately not tested) without requiring any
modifications.

Changes in v3:
- Switch to mipi_dsi wrapped functions in patch 2
- Switch to devm_regulator_bulk_get_const in patch 2
(Based on patches from Neil Armstrong)
- Link to v2:
https://lore.kernel.org/all/20240612083405.15750-1-danila@jiaxyga.com/

Changes in v2:
- Drop the extra '|' symbol in the description block of patch 1 (Krzysztof)
- Relocate the additionalProperties section after the "required:" block in
patch 1 (Krzysztof)
- Add Krzysztof's R-b tag to patch 1
- Swap the descriptions for vsn and vsp supply in patch 1
- Add Neil's R-b tag to patch 2
- Link to v1:
https://lore.kernel.org/all/20240609203618.49413-1-danila@jiaxyga.com/

To: Neil Armstrong <neil.armstrong@linaro.org>
To: Jessica Zhang <quic_jesszhan@quicinc.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Maxime Ripard <mripard@kernel.org>
To: Thomas Zimmermann <tzimmermann@suse.de>
To: David Airlie <airlied@gmail.com>
To: Simona Vetter <simona@ffwll.ch>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
Cc: dri-devel@lists.freedesktop.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Jens Reidel <adrian@travitia.xyz>
Cc: Degdag Mohamed <degdagmohamed@gmail.com>
Cc: linux@mainlining.org
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>

Danila Tikhonov (2):
  dt-bindings: display: panel: Add Samsung AMS639RQ08
  drm/panel: Add Samsung AMS639RQ08 panel driver

 .../display/panel/samsung,ams639rq08.yaml     |  80 +++++
 drivers/gpu/drm/panel/Kconfig                 |   9 +
 drivers/gpu/drm/panel/Makefile                |   1 +
 .../gpu/drm/panel/panel-samsung-ams639rq08.c  | 329 ++++++++++++++++++
 4 files changed, 419 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,ams639rq08.yaml
 create mode 100644 drivers/gpu/drm/panel/panel-samsung-ams639rq08.c

Comments

Neil Armstrong Oct. 9, 2024, 7:56 a.m. UTC | #1
Hi,

On Mon, 30 Sep 2024 23:24:46 +0300, Danila Tikhonov wrote:
> This series adds Samsung AMS639RQ08 panel support used in:
> - Xiaomi Mi 9 Lite / CC9 (sdm710-xiaomi-pyxis)
> - Xiaomi Mi 9T / Redmi K20 (sm7150-xiaomi-davinci)
> - Xiaomi Mi 9T Pro / Redmi K20 Pro (sm8150-xiaomi-raphael)
> 
> Was tested on sm7150-xiaomi-davinci and sm8150-xiaomi-raphael. Based on my
> analysis of the downstream DTS, this driver should be fully compatible with
> the sdm710-xiaomi-pyxis (unfortunately not tested) without requiring any
> modifications.
> 
> [...]

Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)

[1/2] dt-bindings: display: panel: Add Samsung AMS639RQ08
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/a62528aa539a405f76cc3478f6fd3f842e7c6a4e
[2/2] drm/panel: Add Samsung AMS639RQ08 panel driver
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/bd07dbb929f6c5bbda60d52a0003246e53f48c29