mbox series

[0/2] Add Samsung AMS581VF01 panel support

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

Message

Danila Tikhonov Oct. 13, 2024, 9:24 p.m. UTC
This patch series adds support for the Samsung AMS581VF01 panel, used in
the Google Pixel 4a (sm7150-google-sunfish). Unlike many other devices,
which may use different panels in various revisions, the Pixel 4a has only
one possible panel option. Also this panel is not used in other devices.
Testing has been done by me.

The driver initializes the panel in normal mode (High Brightness Mode and
Brightness Dimming are disabled). High Brightness Mode and Brightness
Dimming are not supported yet.

In the downstream device tree, the panel is named as
"dsi-panel-sofef01-1080p-cmd".

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: linux@mainlining.org
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>

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

 .../display/panel/samsung,ams581vf01.yaml     |  79 +++++
 drivers/gpu/drm/panel/Kconfig                 |   9 +
 drivers/gpu/drm/panel/Makefile                |   1 +
 .../gpu/drm/panel/panel-samsung-ams581vf01.c  | 283 ++++++++++++++++++
 4 files changed, 372 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,ams581vf01.yaml
 create mode 100644 drivers/gpu/drm/panel/panel-samsung-ams581vf01.c

Comments

Neil Armstrong Oct. 16, 2024, 8:21 a.m. UTC | #1
Hi,

On Mon, 14 Oct 2024 00:24:00 +0300, Danila Tikhonov wrote:
> This patch series adds support for the Samsung AMS581VF01 panel, used in
> the Google Pixel 4a (sm7150-google-sunfish). Unlike many other devices,
> which may use different panels in various revisions, the Pixel 4a has only
> one possible panel option. Also this panel is not used in other devices.
> Testing has been done by me.
> 
> The driver initializes the panel in normal mode (High Brightness Mode and
> Brightness Dimming are disabled). High Brightness Mode and Brightness
> Dimming are not supported yet.
> 
> [...]

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

[1/2] dt-bindings: display: panel: Add Samsung AMS581VF01
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/dca22e99706b70169534575fc82028bb6d44138a
[2/2] drm/panel: Add Samsung AMS581VF01 panel driver
      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/b330f3a069a20a5698ac840908579c325b7bdc4a