diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-18 10:48:44 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-19 20:19:05 +0300 |
commit | 06ede3dd96e16b41618b656b54467b9eb924870f (patch) | |
tree | e45db98af8223a6827c8e48c09a87cc8d89d6005 /drivers/gpu/drm/omapdrm/dss/video-pll.c | |
parent | b5d8c757a64fa7938f965171d2d0f40d5273fb2e (diff) | |
download | lwn-06ede3dd96e16b41618b656b54467b9eb924870f.tar.gz lwn-06ede3dd96e16b41618b656b54467b9eb924870f.zip |
drm/omap: add field for PLL type
DSS uses two types of PLLs, type A (DSI & Video) and type B (HDMI). The
two types behave slightly differently, but we don't have the type of the
PLL available anywhere for the driver.
This patch adds an enum for the PLL type and a field in the PLL's HW
data to store it.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/video-pll.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/video-pll.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/video-pll.c b/drivers/gpu/drm/omapdrm/dss/video-pll.c index cc87eb4e2906..c13e1accda17 100644 --- a/drivers/gpu/drm/omapdrm/dss/video-pll.c +++ b/drivers/gpu/drm/omapdrm/dss/video-pll.c @@ -108,6 +108,8 @@ static const struct dss_pll_ops dss_pll_ops = { }; static const struct dss_pll_hw dss_dra7_video_pll_hw = { + .type = DSS_PLL_TYPE_A, + .n_max = (1 << 8) - 1, .m_max = (1 << 12) - 1, .mX_max = (1 << 5) - 1, |