From: David Heidelberg <[email protected]> S6E3HA8 is the DDIC, while the panel used on the Samsung Galaxy S9 is the Samsung AMB577PX01. Match on the new panel compatible, and keep the deprecated DDIC-only one working for existing devicetrees.
Assisted-by: LLM Signed-off-by: David Heidelberg <[email protected]> --- drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c b/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c index 835121b322f4a..a0015ac0e2782 100644 --- a/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c +++ b/drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c @@ -296,17 +296,18 @@ static int s6e3ha8_amb577px01_wqhd_probe(struct mipi_dsi_device *dsi) dev_err(dev, "Failed to attach to DSI host: %d\n", ret); return ret; } return 0; } static const struct of_device_id s6e3ha8_amb577px01_wqhd_of_match[] = { - { .compatible = "samsung,s6e3ha8" }, + { .compatible = "samsung,s6e3ha8" }, /* deprecated */ + { .compatible = "samsung,s6e3ha8-amb577px01" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, s6e3ha8_amb577px01_wqhd_of_match); static struct mipi_dsi_driver s6e3ha8_amb577px01_wqhd_driver = { .probe = s6e3ha8_amb577px01_wqhd_probe, .driver = { .name = "panel-s6e3ha8", -- 2.55.0
