linux/drivers/gpu/drm/bridge
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
..
adv7511 drm fixes for 5.4-rc1 2019-09-27 11:13:35 -07:00
analogix drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
synopsys drm/bridge/synopsys: dsi: driver-specific configuration of phy timings 2019-12-16 12:01:58 +01:00
cdns-dsi.c drm/bridge: panel: Infer connector type from panel by default 2019-09-08 19:04:23 +02:00
dumb-vga-dac.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
Kconfig drm/bridge: Fix Kconfig indentation 2019-11-20 17:40:32 +01:00
lvds-encoder.c drm/bridge: panel: Infer connector type from panel by default 2019-09-08 19:04:23 +02:00
Makefile drm/bridge: move ANA78xx driver to analogix subdirectory 2019-11-08 10:27:26 +01:00
megachips-stdpxxxx-ge-b850v3-fw.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
nxp-ptn3460.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
panel.c drm/bridge: panel: export drm_panel_bridge_connector 2019-12-10 17:19:40 +00:00
parade-ps8622.c drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
sii902x.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
sii9234.c gpu: drm: bridge: sii9234: convert to devm_i2c_new_dummy_device 2019-10-10 08:57:27 +02:00
sil-sii8620.c drm/bridge: sil_sii8620: make remote control optional. 2019-10-10 10:42:15 +02:00
sil-sii8620.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tc358764.c drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
tc358767.c drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
thc63lvd1024.c R-Car DU changes for v5.3: 2019-06-11 10:08:49 +02:00
ti-sn65dsi86.c drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
ti-tfp410.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00