Re: [PATCH v5 08/20] drm/bridge: analogix_dp: Add support for phy configuration.
From: Dmitry Baryshkov
Date: Thu Jan 09 2025 - 07:41:24 EST
On Thu, Jan 09, 2025 at 11:27:13AM +0800, Damon Ding wrote:
> Add support to configurate link rate, lane count, voltage swing and
> pre-emphasis with phy_configure(). It is helpful in application scenarios
> where analogix controller is mixed with the phy of other vendors.
>
> Signed-off-by: Damon Ding <damon.ding@xxxxxxxxxxxxxx>
>
> ---
>
> Changes in v2:
> - remove needless assignments for phy_configure()
> - remove unnecessary changes for phy_power_on()/phy_power_off()
>
> Changes in v4:
> - remove unnecessary &phy_configure_opts_dp.lanes assignments in
> analogix_dp_set_link_bandwidth()
> - remove needless &phy_configure_opts_dp.lanes and
> &phy_configure_opts_dp.link_rate assignments in
> analogix_dp_set_lane_link_training()
>
> Changes in v5:
> - include <drm/drm_print.h> for dev_err()
> - use drm_err() instead of dev_err()
> ---
> .../drm/bridge/analogix/analogix_dp_core.c | 1 +
> .../drm/bridge/analogix/analogix_dp_core.h | 1 +
> .../gpu/drm/bridge/analogix/analogix_dp_reg.c | 52 +++++++++++++++++++
> 3 files changed, 54 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
--
With best wishes
Dmitry