summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorRobert Chiras <robert.chiras@nxp.com>2019-02-04 14:53:45 +0200
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:36:04 +0800
commit5b1d3e2abacb8d5434931cb8399401d40d480522 (patch)
treefcf2e9eb76ab2c1d6207b1e6717f8d9cabb585c3 /include/drm
parent2e7d7549cbedb69b94b8aee845934858aed7746b (diff)
MLK-17537-4: drm/bridge: nwl-dsi: implement mode_valid()
This patch removes the exported function nwl_dsi_get_bit_clock that was used by nwl_dsi-imx driver in order to configure the phy driver speed and move this configuration directly into the nwl-dsi driver. This function is now used directly by nwl-dsi to verify which mode can or cannot be supported by the DSI PHY. Also, in nwl-dsi, add support for mode_valid and add each supported mode into a list kept internally so that it can apply the needed configuration (phyref rate, dsi lanes, bit-clock) later when the mode is used. Signed-off-by: Robert Chiras <robert.chiras@nxp.com> Reviewed-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/bridge/nwl_dsi.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/drm/bridge/nwl_dsi.h b/include/drm/bridge/nwl_dsi.h
index 2ca1e5838edc..df5f25b18fdb 100644
--- a/include/drm/bridge/nwl_dsi.h
+++ b/include/drm/bridge/nwl_dsi.h
@@ -39,7 +39,4 @@ enum dpi_pixel_format {
DPI_FMT_24_BIT /* 0x3 */
};
-unsigned long nwl_dsi_get_bit_clock(struct drm_bridge *bridge,
- unsigned long pixclock);
-
#endif /* __NWL_DSI_H__ */