Add the 'xlnx' prefix to Xilinx IP core specific properties.
Signed-off-by: Hyun Kwon <hyunk@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
return ERR_PTR(-ENOMEM);
/* probe chroma resampler and enable */
- sub_node = of_parse_phandle(drm->dev->of_node, "cresample", 0);
+ sub_node = of_parse_phandle(drm->dev->of_node, "xlnx,cresample", 0);
if (sub_node) {
crtc->cresample = xilinx_cresample_probe(drm->dev, sub_node);
of_node_put(sub_node);
}
/* probe color space converter and enable */
- sub_node = of_parse_phandle(drm->dev->of_node, "rgb2yuv", 0);
+ sub_node = of_parse_phandle(drm->dev->of_node, "xlnx,rgb2yuv", 0);
if (sub_node) {
crtc->rgb2yuv = xilinx_rgb2yuv_probe(drm->dev, sub_node);
of_node_put(sub_node);
goto err_out;
}
- sub_node = of_parse_phandle(drm->dev->of_node, "vtc", 0);
+ sub_node = of_parse_phandle(drm->dev->of_node, "xlnx,vtc", 0);
if (!sub_node) {
DRM_ERROR("failed to get a video timing controller node\n");
ret = -ENODEV;
&xilinx_drm_encoder_helper_funcs);
/* get slave encoder */
- sub_node = of_parse_phandle(drm->dev->of_node, "encoder-slave", 0);
+ sub_node = of_parse_phandle(drm->dev->of_node, "xlnx,encoder-slave", 0);
if (!sub_node) {
DRM_ERROR("failed to get an encoder slave node\n");
return ERR_PTR(-ENODEV);
}
/* probe color space converter */
- sub_node = of_parse_phandle(plane_node, "rgb2yuv", i);
+ sub_node = of_parse_phandle(plane_node, "xlnx,rgb2yuv", i);
if (sub_node) {
plane->rgb2yuv = xilinx_rgb2yuv_probe(dev, sub_node);
of_node_put(sub_node);
}
/* probe chroma resampler */
- sub_node = of_parse_phandle(plane_node, "cresample", i);
+ sub_node = of_parse_phandle(plane_node, "xlnx,cresample", i);
if (sub_node) {
plane->cresample = xilinx_cresample_probe(dev, sub_node);
of_node_put(sub_node);
manager->drm = drm;
/* probe an OSD. proceed even if there's no OSD */
- sub_node = of_parse_phandle(dev->of_node, "osd", 0);
+ sub_node = of_parse_phandle(dev->of_node, "xlnx,osd", 0);
if (sub_node) {
manager->osd = xilinx_osd_probe(dev, sub_node);
of_node_put(sub_node);