Re: [PATCH 3/4] drm/sun4i: dsi: Add a variant structure

2022-08-14 Thread Maxime Ripard
Hi Samuel, On Fri, Aug 12, 2022 at 02:42:55AM -0500, Samuel Holland wrote: > Replace the ad-hoc calls to of_device_is_compatible() with a structure > describing the differences between variants. This is in preparation for > adding more variants to the driver. > > Signed-off-by: Samuel Holland >

Re: [PATCH 3/4] drm/sun4i: dsi: Add a variant structure

2022-08-14 Thread Jernej Škrabec
Dne petek, 12. avgust 2022 ob 09:42:55 CEST je Samuel Holland napisal(a): > Replace the ad-hoc calls to of_device_is_compatible() with a structure > describing the differences between variants. This is in preparation for > adding more variants to the driver. > > Signed-off-by: Samuel Holland Rev

[PATCH 3/4] drm/sun4i: dsi: Add a variant structure

2022-08-12 Thread Samuel Holland
Replace the ad-hoc calls to of_device_is_compatible() with a structure describing the differences between variants. This is in preparation for adding more variants to the driver. Signed-off-by: Samuel Holland --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 50 +- drivers/gp