summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/mperf.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-16 15:36:38 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-05-28 14:42:52 +0300
commitffa3fd21de8ab0db7962b612d4c6e17c0d88e9c2 (patch)
tree243464ded069260464e822e051f6aa2090b9deca /drivers/cpufreq/mperf.c
parentfcf7e6e5bd84b561eca4f7977c2a547f724f5942 (diff)
videomode: implement public of_get_display_timing()
The current of_get_display_timings() reads multiple display timings, allocating memory for the entries. However, most of the time when parsing display timings from DT data is needed, there's only one display timing as it's not common for a LCD panel to support multiple videomodes. This patch creates a new function: int of_get_display_timing(struct device_node *np, const char *name, struct display_timing *dt); which can be used to parse a single display timing entry from the given node name. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/cpufreq/mperf.c')
0 files changed, 0 insertions, 0 deletions