diff options
author | Thierry Reding <treding@nvidia.com> | 2013-08-30 13:36:43 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2013-12-17 18:09:46 +0100 |
commit | aead40ea0b53a0e28d34adf7bb923ecb2968c04a (patch) | |
tree | 3d46c7716c1ef3acdc76d60c309a7394dccf02c4 /drivers/gpu/drm/panel/Kconfig | |
parent | 068a00233969833f1ba925e7627797489efd6041 (diff) |
drm: Add panel support
Add a very simple framework to register and lookup panels. Panel drivers
can initialize a DRM panel and register it with the framework, allowing
them to be retrieved and used by display drivers. Currently only support
for DPMS and obtaining panel modes is provided. However it should be
sufficient to enable a large number of panels. The framework should also
be easily extensible to support more sophisticated kinds of panels such
as DSI.
The framework hasn't been tied into the DRM core, even though it should
be easily possible to do so if that's what we want. In the current
implementation, display drivers can simple make use of it to retrieve a
panel, obtain its modes and control its DPMS mode.
Note that this is currently only tested on systems that boot from a
device tree. No glue code has been written yet for systems that use
platform data, but it should be easy to add.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/panel/Kconfig')
-rw-r--r-- | drivers/gpu/drm/panel/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig new file mode 100644 index 000000000000..d1db4ef626fd --- /dev/null +++ b/drivers/gpu/drm/panel/Kconfig @@ -0,0 +1,5 @@ +config DRM_PANEL + bool + depends on DRM + help + Panel registration and lookup framework. |