Re: [RFC PATCH 1/3] drm/panel: Pull common panel code out into helpers

2017-03-25 Thread Emil Velikov
Hi Sean, Something small that stood out while skimming through the design. On 16 March 2017 at 22:08, Sean Paul wrote: > struct panel_simple { > struct drm_panel base; > + struct panel_common common; > + > bool prepared; > bool enabled; > There two should go ? >

[RFC PATCH 1/3] drm/panel: Pull common panel code out into helpers

2017-03-16 Thread Sean Paul
This patch pulls the regulator/backlight/enable_gpio code out of panel-simple and creates a new panel-common helper with it. This helper will be useful to the more complicated drivers which cannot use panel-simple. Signed-off-by: Sean Paul --- drivers/gpu/drm/panel/Kconfig| 20 +++-- dr