drm/sitronix/st7571: split up the driver into a common and an i2c part

Split up the driver to make it possible to add support for hw interfaces
other than I2C.

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Link: https://patch.msgid.link/20251215-st7571-split-v3-5-d5f3205c3138@gmail.com
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
This commit is contained in:
Marcus Folkesson
2025-12-15 10:46:47 +01:00
committed by Javier Martinez Canillas
parent b0c20d827e
commit b362de167d
6 changed files with 960 additions and 917 deletions

View File

@@ -82,4 +82,10 @@ struct st7571_device {
u8 *row;
};
extern const struct st7571_panel_data st7567_config;
extern const struct st7571_panel_data st7571_config;
struct st7571_device *st7571_probe(struct device *dev, struct regmap *regmap);
void st7571_remove(struct st7571_device *st7571);
#endif /* __ST7571_H__ */