drm/bridge/synopsys: dsi: driver-specific configuration of phy timings
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 5060226.21S8zkcLb9@phil
Hi,
Quoted 30 lines · Heiko Stuebner
Hi Neil,
Am Samstag, 23. November 2019, 13:38:41 CET schrieb Neil Armstrong:
Quoted 27 lines · Heiko Stuebner
Quoted 26 lines
From: Heiko Stuebner <[email protected]>
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_timingcallback tophy_opsand call this from thedphy_timingfunction 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 v3:
- check existence ofphy_ops->get_timingin__dw_mipi_dsi_probe()
- emit actual error whenget_timing()call fails
- add tags from Philippe and Yannickchanges in v2:
- add driver-specific handling, don't force all bridge users to use the same timings, as suggested by PhilippeSuggested-by Philippe Cornu <[email protected]>Signed-off-by Heiko Stuebner <[email protected]>Reviewed-by Philippe Cornu <[email protected]>Tested-by Yannick Fertre <[email protected]>
You forgot to Cc dri-devel, so I can't apply it.
Could you resent it ?
Neil
Quoted 14 lines
Quoted 14 lines
Quoted 8 lines
--- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 27 +++++-- drivers/gpu/drm/rockchip/Kconfig | 1 + .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 78 +++++++++++++++++++ drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 13 ++++ include/drm/bridge/dw_mipi_dsi.h | 9 +++ 5 files changed, 121 insertions(+), 7 deletions(-)[...]
Looks good,
Reviewed-by Neil Armstrong <[email protected]>
Quoted 9 lines
Quoted 1 line
I can apply it on monday if you want.
that would be very cool. Looking forward to monday then
Thanks
Heiko
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Am Montag, 25. November 2019, 10:28:12 CET schrieb Neil Armstrong:
Quoted 29 lines
Hi,
Quoted 26 lines · Heiko Stuebner
Hi Neil,
Am Samstag, 23. November 2019, 13:38:41 CET schrieb Neil Armstrong:
Quoted 23 lines · Heiko Stuebner
Quoted 22 lines
From: Heiko Stuebner <[email protected]>
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_timingcallback tophy_opsand call this from thedphy_timingfunction 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 v3:
- check existence ofphy_ops->get_timingin__dw_mipi_dsi_probe()
- emit actual error whenget_timing()call fails
- add tags from Philippe and Yannickchanges in v2:
- add driver-specific handling, don't force all bridge users to use the same timings, as suggested by Philippe
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Suggested-by Philippe Cornu <[email protected]>Signed-off-by Heiko Stuebner <[email protected]>Reviewed-by Philippe Cornu <[email protected]>Tested-by Yannick Fertre <[email protected]>You forgot to Cc dri-devel, so I can't apply it.
oh dang ... resend coming shortly
Heiko
Quoted 30 lines
Could you resent it ?
Neil
Quoted 23 lines
Quoted 8 lines
Quoted 8 lines
--- drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 27 +++++-- drivers/gpu/drm/rockchip/Kconfig | 1 + .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 78 +++++++++++++++++++ drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 13 ++++ include/drm/bridge/dw_mipi_dsi.h | 9 +++ 5 files changed, 121 insertions(+), 7 deletions(-)Quoted 7 lines
[...]
Looks good,
Reviewed-by Neil Armstrong <[email protected]>I can apply it on monday if you want.
that would be very cool. Looking forward to monday then
Thanks
Heiko
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel