Commit 7f9e7ec9 authored by Daniel Vetter's avatar Daniel Vetter

drm/doc: Include drm_of.c helpers

Fixes a dead link I spotted in the struct drm_crtc docs. Comments
themselves are in a surprisingly good state.

v2: Fix subject typo (Sean).
Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180709084016.23750-14-daniel.vetter@ffwll.ch
parent 9bea6dd0
...@@ -300,6 +300,15 @@ Auxiliary Modeset Helpers ...@@ -300,6 +300,15 @@ Auxiliary Modeset Helpers
.. kernel-doc:: drivers/gpu/drm/drm_modeset_helper.c .. kernel-doc:: drivers/gpu/drm/drm_modeset_helper.c
:export: :export:
OF/DT Helpers
=============
.. kernel-doc:: drivers/gpu/drm/drm_of.c
:doc: overview
.. kernel-doc:: drivers/gpu/drm/drm_of.c
:export:
Legacy Plane Helper Reference Legacy Plane Helper Reference
============================= =============================
......
...@@ -9,6 +9,13 @@ ...@@ -9,6 +9,13 @@
#include <drm/drm_panel.h> #include <drm/drm_panel.h>
#include <drm/drm_of.h> #include <drm/drm_of.h>
/**
* DOC: overview
*
* A set of helper functions to aid DRM drivers in parsing standard DT
* properties.
*/
static void drm_release_of(struct device *dev, void *data) static void drm_release_of(struct device *dev, void *data)
{ {
of_node_put(data); of_node_put(data);
...@@ -94,7 +101,7 @@ EXPORT_SYMBOL_GPL(drm_of_component_match_add); ...@@ -94,7 +101,7 @@ EXPORT_SYMBOL_GPL(drm_of_component_match_add);
* drm_of_component_probe - Generic probe function for a component based master * drm_of_component_probe - Generic probe function for a component based master
* @dev: master device containing the OF node * @dev: master device containing the OF node
* @compare_of: compare function used for matching components * @compare_of: compare function used for matching components
* @master_ops: component master ops to be used * @m_ops: component master ops to be used
* *
* Parse the platform device OF node and bind all the components associated * Parse the platform device OF node and bind all the components associated
* with the master. Interface ports are added before the encoders in order to * with the master. Interface ports are added before the encoders in order to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment