[PATCH 0/2] Add Samsung AMS581VF01 panel support

From: Danila Tikhonov
Date: Sun Oct 13 2024 - 17:43:47 EST


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@xxxxxxxxxx>
To: Jessica Zhang <quic_jesszhan@xxxxxxxxxxx>
To: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
To: Maxime Ripard <mripard@xxxxxxxxxx>
To: Thomas Zimmermann <tzimmermann@xxxxxxx>
To: David Airlie <airlied@xxxxxxxxx>
To: Simona Vetter <simona@xxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux@xxxxxxxxxxxxxx
Signed-off-by: Danila Tikhonov <danila@xxxxxxxxxxx>

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

--
2.47.0