summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h
diff options
context:
space:
mode:
authorStefan Agner2016-03-22 23:45:29 +0100
committerStefan Agner2016-04-26 05:27:18 +0200
commitf93500f430733178dfd8f9c80e52b13d0f273dd3 (patch)
tree8bedc70a345953ae14aeb90647790df7b7cab5b0 /drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h
parentdrm/fsl-dcu: disable clock on initialization failure and remove (diff)
downloadkernel-qcow2-linux-f93500f430733178dfd8f9c80e52b13d0f273dd3.tar.gz
kernel-qcow2-linux-f93500f430733178dfd8f9c80e52b13d0f273dd3.tar.xz
kernel-qcow2-linux-f93500f430733178dfd8f9c80e52b13d0f273dd3.zip
drm/fsl-dcu: add extra clock for pixel clock
The Vybrid DCU variant has two independent clock inputs, one for the registers (IPG bus clock) and one for the pixel clock. Support this distinction in the DCU DRM driver while staying backward compatible for old device trees. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h')
-rw-r--r--drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h
index 6413ac9e4769..edb210277771 100644
--- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h
+++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h
@@ -183,6 +183,7 @@ struct fsl_dcu_drm_device {
struct regmap *regmap;
int irq;
struct clk *clk;
+ struct clk *pix_clk;
/*protects hardware register*/
spinlock_t irq_lock;
struct drm_device *drm;