Name

of_drm_find_panel — look up a panel using a device tree node

Synopsis

struct drm_panel * of_drm_find_panel (struct device_node * np);
 

Arguments

np

device tree node of the panel

Description

Searches the set of registered panels for one that matches the given device tree node. If a matching panel is found, return a pointer to it.

Return

A pointer to the panel registered for the specified device tree node or NULL if no panel matching the device tree node can be found.