diff mbox series

[2/3] drm/panel: samsung, atna33xc20: Add compatible for ATNA45DC02

Message ID 20240718184434.6307-2-robdclark@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/3] dt-bindings: display: panel: samsung, atna45dc02: Document ATNA45DC02 | expand

Commit Message

Rob Clark July 18, 2024, 6:44 p.m. UTC
From: Rob Clark <robdclark@chromium.org>

The Samsung ATNA45DC02 panel needs the same power sequencing as the
ATNA45AF01 and ATNA33XC20.

Signed-off-by: Rob Clark <robdclark@chromium.org>
---
 drivers/gpu/drm/panel/panel-samsung-atna33xc20.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Doug Anderson July 18, 2024, 11:10 p.m. UTC | #1
Hi,

On Thu, Jul 18, 2024 at 11:44 AM Rob Clark <robdclark@gmail.com> wrote:
>
> From: Rob Clark <robdclark@chromium.org>
>
> The Samsung ATNA45DC02 panel needs the same power sequencing as the
> ATNA45AF01 and ATNA33XC20.
>
> Signed-off-by: Rob Clark <robdclark@chromium.org>
> ---
>  drivers/gpu/drm/panel/panel-samsung-atna33xc20.c | 1 +
>  1 file changed, 1 insertion(+)

I believe this patch should be dropped and, until there is special
logic needed for "samsung,atna45dc02" we can just rely on the fallback
compatible ("samsung,atna33xc20") matching.

-Doug
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panel/panel-samsung-atna33xc20.c b/drivers/gpu/drm/panel/panel-samsung-atna33xc20.c
index fd56fd02df87..748ce8752f85 100644
--- a/drivers/gpu/drm/panel/panel-samsung-atna33xc20.c
+++ b/drivers/gpu/drm/panel/panel-samsung-atna33xc20.c
@@ -334,6 +334,7 @@  static void atana33xc20_remove(struct dp_aux_ep_device *aux_ep)
 static const struct of_device_id atana33xc20_dt_match[] = {
 	{ .compatible = "samsung,atna33xc20", },
 	{ .compatible = "samsung,atna45af01", },
+	{ .compatible = "samsung,atna45dc02", },
 	{ /* sentinal */ }
 };
 MODULE_DEVICE_TABLE(of, atana33xc20_dt_match);