]> www.infradead.org Git - nvme.git/commitdiff
dt-bindings: display: panel: samsung,atna33xc20: Document ATNA45AF01
authorStephan Gerhold <stephan.gerhold@linaro.org>
Mon, 15 Jul 2024 12:15:37 +0000 (14:15 +0200)
committerDouglas Anderson <dianders@chromium.org>
Mon, 22 Jul 2024 15:40:32 +0000 (08:40 -0700)
The Samsung ATNA45AF01 panel is an AMOLED eDP panel that has backlight
control over the DP AUX channel. While it works almost correctly with the
generic "edp-panel" compatible, the backlight needs special handling to
work correctly. It is similar to the existing ATNA33XC20 panel, just with
a larger resolution and size.

Add a new "samsung,atna45af01" compatible to describe this panel in the DT.
Use the existing "samsung,atna33xc20" as fallback compatible since existing
drivers should work as-is, given that resolution and size are discoverable
through the eDP link.

Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240715-x1e80100-crd-backlight-v2-1-31b7f2f658a3@linaro.org
Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml

index 765ca155c83a68c044f93f68a4b00d6257e4437d..5192c93fbd67a0524a77ce78af65b40d244f6c0c 100644 (file)
@@ -14,7 +14,13 @@ allOf:
 
 properties:
   compatible:
-    const: samsung,atna33xc20
+    oneOf:
+      # Samsung 13.3" FHD (1920x1080 pixels) eDP AMOLED panel
+      - const: samsung,atna33xc20
+      # Samsung 14.5" WQXGA+ (2880x1800 pixels) eDP AMOLED panel
+      - items:
+          - const: samsung,atna45af01
+          - const: samsung,atna33xc20
 
   enable-gpios: true
   port: true