mbox series

[v2,0/2] Add DP max link rate support

Message ID 1668018895-29023-1-git-send-email-quic_khsieh@quicinc.com
Headers show
Series Add DP max link rate support | expand

Message

Kuogee Hsieh Nov. 9, 2022, 6:34 p.m. UTC
dd DP link-frequencies property to DTS file and support function to DP driver.

Kuogee Hsieh (2):
  arm64: dts: qcom: Add link-frequencies property to specify the max
    link rate allowed
  drm/msm/dp: add support of max dp link rate

 arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 1 +
 drivers/gpu/drm/msm/dp/dp_display.c            | 1 +
 drivers/gpu/drm/msm/dp/dp_panel.c              | 5 ++---
 drivers/gpu/drm/msm/dp/dp_panel.h              | 1 +
 drivers/gpu/drm/msm/dp/dp_parser.c             | 8 ++++++++
 drivers/gpu/drm/msm/dp/dp_parser.h             | 1 +
 6 files changed, 14 insertions(+), 3 deletions(-)

Comments

Dmitry Baryshkov Nov. 9, 2022, 7:27 p.m. UTC | #1
On 09/11/2022 21:34, Kuogee Hsieh wrote:
> This patch add link-frequencies property to allow each platform to specify its
> DP max link rate.
> 
> Signed-off-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
> ---
>   arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
> index 93e39fc..7e5d755 100644
> --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
> @@ -441,6 +441,7 @@ ap_i2c_tpm: &i2c14 {
>   	pinctrl-names = "default";
>   	pinctrl-0 = <&dp_hot_plug_det>;
>   	data-lanes = <0 1>;
> +        link-frequencies = <810000>;

The link frequency is a property of the link - in other words a graph 
connection. Please don't put random propreties into DT nodes where they 
are not to be used.


>   };
>   
>   &mdss_mdp {