To be used, the iMX8M DCSS driver has to be "registered" with the IMX
DRM core.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
#include <drm/drm_of.h>
#include <video/imx-ipu-v3.h>
#include <video/imx-lcdif.h>
+#include <video/imx-dcss.h>
#include "imx-drm.h"
#include "ipuv3-plane.h"
legacyfb_depth = 32;
#endif
+ return pdata->of_node == np;
+ } else if (strcmp(dev->driver->name, "imx-dcss-crtc") == 0) {
+ struct dcss_client_platformdata *pdata = dev->platform_data;
+
return pdata->of_node == np;
}