On Mon, Apr 15, 2019 at 2:13 PM Enrico Weigelt, metux IT consult <lkml@xxxxxxxxx> wrote: > On 12.04.19 20:20, Jacek Anaszewski wrote: > That's also the usual way we do it in embedded world: we don't write > specific-purpose drivers for each single board, but instead generic > ones that are just configured for in the individual board's oftree. > Unfotunately, we don't have the luxury of oftree on x86, nor automatic > overlays on dmi-basis, yet - that's why the platform driver. You may utilize swnode API instead and have a generic driver beneath which resource provider agnostic (via device property / fwnode API). -- With Best Regards, Andy Shevchenko