linux/drivers/gpu/drm/rockchip
Heiko Stuebner 25ed8aeb9c drm/bridge/synopsys: dsi: driver-specific configuration of phy timings
The timing values for dw-dsi are often dependent on the used display and
according to Philippe Cornu will most likely also depend on the used phy
technology in the soc-specific implementation.

To solve this and allow specific implementations to define them as needed
add a new get_timing callback to phy_ops and call this from the dphy_timing
function to retrieve the necessary values for the specific mode.

Right now this handles the hs2lp + lp2hs where Rockchip SoCs need handling
according to the phy speed, while STM seems to be ok with static values.

changes in v5:
- rebase on 5.5-rc1
- merge into px30 dsi series to prevent ordering conflicts

changes in v4:
- rebase to make it directly fit on top of drm-misc-next after all

changes in v3:
- check existence of phy_ops->get_timing in __dw_mipi_dsi_probe()
- emit actual error when get_timing() call fails
- add tags from Philippe and Yannick

changes in v2:
- add driver-specific handling, don't force all bridge users to use
  the same timings, as suggested by Philippe

Suggested-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Tested-by: Yannick Fertre <yannick.fertre@st.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191209143130.4553-2-heiko@sntech.de
2019-12-16 12:01:58 +01:00
..
analogix_dp-rockchip.c drm main pull for 5.4-rc1 2019-09-19 16:24:24 -07:00
cdn-dp-core.c drm/rockchip: Avoid drm_dp_link helpers 2019-10-23 18:21:01 +02:00
cdn-dp-core.h drm/rockchip: Avoid drm_dp_link helpers 2019-10-23 18:21:01 +02:00
cdn-dp-reg.c drm/rockchip: Avoid drm_dp_link helpers 2019-10-23 18:21:01 +02:00
cdn-dp-reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
dw_hdmi-rockchip.c drm/rockchip: Enable DRM InfoFrame support on RK3328 and RK3399 2019-10-10 12:50:01 +02:00
dw-mipi-dsi-rockchip.c drm/bridge/synopsys: dsi: driver-specific configuration of phy timings 2019-12-16 12:01:58 +01:00
inno_hdmi.c drm: rockchip: Provide ddc symlink in inno_hdmi sysfs directory 2019-11-07 15:07:28 +01:00
inno_hdmi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
Kconfig drm/bridge/synopsys: dsi: driver-specific configuration of phy timings 2019-12-16 12:01:58 +01:00
Makefile drm/rockchip: Use the helpers for PSR 2019-07-26 14:48:03 -04:00
rk3066_hdmi.c drm: rockchip: Provide ddc symlink in rk3066_hdmi sysfs directory 2019-11-07 15:07:17 +01:00
rk3066_hdmi.h drm: rockchip: introduce rk3066 hdmi 2019-03-31 14:24:30 +02:00
rockchip_drm_drv.c drm main pull for 5.4-rc1 2019-09-19 16:24:24 -07:00
rockchip_drm_drv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
rockchip_drm_fb.c drm/rockchip: Use drm_gem_fb_create_with_dirty 2019-11-29 09:58:28 +01:00
rockchip_drm_fb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
rockchip_drm_fbdev.c drm: constify fb ops across all drivers 2019-12-05 10:57:42 +02:00
rockchip_drm_fbdev.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
rockchip_drm_gem.c drm/rockchip: make rockchip_gem_alloc_object static 2019-10-13 23:53:42 +02:00
rockchip_drm_gem.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
rockchip_drm_vop.c drm/rockchip: vop: add the definition of dclk_pol 2019-10-13 23:56:17 +02:00
rockchip_drm_vop.h drm/rockchip: vop: add the definition of dclk_pol 2019-10-13 23:56:17 +02:00
rockchip_lvds.c drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
rockchip_lvds.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
rockchip_rgb.c drm/bridge: panel: Infer connector type from panel by default 2019-09-08 19:04:23 +02:00
rockchip_rgb.h drm/rockchip: rgb: update SPDX license identifier 2019-01-25 14:50:07 +01:00
rockchip_vop_reg.c drm/rockchip: vop: add the definition of dclk_pol 2019-10-13 23:56:17 +02:00
rockchip_vop_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00