Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/panel: sw43408: Introduce LH546WF1-ED01 panel compatible

The supported panel is LH546WF1-ED01, add compatible and adjust the
struct name to reflect that.

The standalone compatible lg,sw43408 will continue to work, even thou
there are no users yet.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251214-pixel-3-v7-3-b1c0cf6f224d@ixit.cz

authored by

David Heidelberg and committed by
Neil Armstrong
be85d412 dbb5d601

+4 -3
+4 -3
drivers/gpu/drm/panel/panel-lg-sw43408.c
··· 149 149 return ret; 150 150 } 151 151 152 - static const struct drm_display_mode sw43408_mode = { 152 + static const struct drm_display_mode lh546wf1_ed01_mode = { 153 153 .clock = (1080 + 20 + 32 + 20) * (2160 + 20 + 4 + 20) * 60 / 1000, 154 154 155 155 .hdisplay = 1080, ··· 171 171 static int sw43408_get_modes(struct drm_panel *panel, 172 172 struct drm_connector *connector) 173 173 { 174 - return drm_connector_helper_get_modes_fixed(connector, &sw43408_mode); 174 + return drm_connector_helper_get_modes_fixed(connector, &lh546wf1_ed01_mode); 175 175 } 176 176 177 177 static int sw43408_backlight_update_status(struct backlight_device *bl) ··· 214 214 }; 215 215 216 216 static const struct of_device_id sw43408_of_match[] = { 217 - { .compatible = "lg,sw43408", }, 217 + { .compatible = "lg,sw43408", }, /* legacy */ 218 + { .compatible = "lg,sw43408-lh546wf1-ed01", }, 218 219 { /* sentinel */ } 219 220 }; 220 221 MODULE_DEVICE_TABLE(of, sw43408_of_match);