Loading Documentation/devicetree/bindings/fb/msm-hdmi-tx.txt +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ Optional properties: HDMI interface will remain powered on from LK to kernel with continuous display of bootup logo. - qcom,pluggable: boolean to enable hotplug feature. - qcom,max-pclk-frequency-khz: maximum supported pclk frequency in KHz. - qcom,display-id: A string indicates the display ID for the controller. The possible values are: - "primary" Loading arch/arm64/boot/dts/qcom/qcs405-mdss.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -362,6 +362,7 @@ qcom,mdss-fb-map = <&mdss_fb1>; qcom,pluggable; qcom,max-pclk-frequency-khz = <148500>; }; qcom,mdss_wb_panel { Loading drivers/video/fbdev/msm/mdss_hdmi_tx.c +14 −0 Original line number Diff line number Diff line Loading @@ -192,6 +192,13 @@ static int hdmi_tx_get_version(struct hdmi_tx_ctrl *hdmi_ctrl) break; } /* * Override max pclk frequency as indicated in dt. */ if (hdmi_ctrl->pdata.max_pclk_freq_khz) hdmi_ctrl->max_pclk_khz = min(hdmi_ctrl->max_pclk_khz, hdmi_ctrl->pdata.max_pclk_freq_khz); rc = hdmi_tx_enable_power(hdmi_ctrl, HDMI_TX_HPD_PM, false); if (rc) { DEV_ERR("%s: FAILED to disable power\n", __func__); Loading Loading @@ -4642,6 +4649,13 @@ static int hdmi_tx_get_dt_data(struct platform_device *pdev, pdata->pluggable = of_property_read_bool(pdev->dev.of_node, "qcom,pluggable"); rc = of_property_read_u32(pdev->dev.of_node, "qcom,max-pclk-frequency-khz", &pdata->max_pclk_freq_khz); if (rc) { pdata->max_pclk_freq_khz = 0; rc = 0; } data = of_get_property(pdev->dev.of_node, "qcom,display-id", &len); if (!data || len <= 0) pr_err("%s:%d Unable to read qcom,display-id, data=%pK,len=%d\n", Loading drivers/video/fbdev/msm/mdss_hdmi_tx.h +1 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,7 @@ struct hdmi_tx_platform_data { bool pluggable; struct clk *hdmi_pclk_rcg; struct clk *ext_hdmi_pixel_clk; u32 max_pclk_freq_khz; }; struct hdmi_tx_pinctrl { Loading Loading
Documentation/devicetree/bindings/fb/msm-hdmi-tx.txt +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ Optional properties: HDMI interface will remain powered on from LK to kernel with continuous display of bootup logo. - qcom,pluggable: boolean to enable hotplug feature. - qcom,max-pclk-frequency-khz: maximum supported pclk frequency in KHz. - qcom,display-id: A string indicates the display ID for the controller. The possible values are: - "primary" Loading
arch/arm64/boot/dts/qcom/qcs405-mdss.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -362,6 +362,7 @@ qcom,mdss-fb-map = <&mdss_fb1>; qcom,pluggable; qcom,max-pclk-frequency-khz = <148500>; }; qcom,mdss_wb_panel { Loading
drivers/video/fbdev/msm/mdss_hdmi_tx.c +14 −0 Original line number Diff line number Diff line Loading @@ -192,6 +192,13 @@ static int hdmi_tx_get_version(struct hdmi_tx_ctrl *hdmi_ctrl) break; } /* * Override max pclk frequency as indicated in dt. */ if (hdmi_ctrl->pdata.max_pclk_freq_khz) hdmi_ctrl->max_pclk_khz = min(hdmi_ctrl->max_pclk_khz, hdmi_ctrl->pdata.max_pclk_freq_khz); rc = hdmi_tx_enable_power(hdmi_ctrl, HDMI_TX_HPD_PM, false); if (rc) { DEV_ERR("%s: FAILED to disable power\n", __func__); Loading Loading @@ -4642,6 +4649,13 @@ static int hdmi_tx_get_dt_data(struct platform_device *pdev, pdata->pluggable = of_property_read_bool(pdev->dev.of_node, "qcom,pluggable"); rc = of_property_read_u32(pdev->dev.of_node, "qcom,max-pclk-frequency-khz", &pdata->max_pclk_freq_khz); if (rc) { pdata->max_pclk_freq_khz = 0; rc = 0; } data = of_get_property(pdev->dev.of_node, "qcom,display-id", &len); if (!data || len <= 0) pr_err("%s:%d Unable to read qcom,display-id, data=%pK,len=%d\n", Loading
drivers/video/fbdev/msm/mdss_hdmi_tx.h +1 −0 Original line number Diff line number Diff line Loading @@ -49,6 +49,7 @@ struct hdmi_tx_platform_data { bool pluggable; struct clk *hdmi_pclk_rcg; struct clk *ext_hdmi_pixel_clk; u32 max_pclk_freq_khz; }; struct hdmi_tx_pinctrl { Loading