Loading Documentation/devicetree/bindings/fb/mdss-pll.txt +2 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,8 @@ Required properties: "qcom,mdss_hdmi_pll_8996_v3", "qcom,mdss_hdmi_pll_8996_v3_1p8", "qcom,mdss_dsi_pll_8998", "qcom,mdss_dp_pll_8998", "qcom,mdss_hdmi_pll_8998", "qcom,mdss_dsi_pll_sdm660", "qcom,mdss_dp_pll_sdm660", "qcom,mdss_dsi_pll_sdm630" "qcom,mdss_dp_pll_sdm660", "qcom,mdss_dsi_pll_sdm630", "qcom,mdss_dp_pll_sdm630" - cell-index: Specifies the controller used - reg: offset and length of the register set for the device. - reg-names : names to refer to register sets related to this device Loading drivers/clk/qcom/mdss/mdss-pll.c +7 −0 Original line number Diff line number Diff line Loading @@ -149,6 +149,9 @@ static int mdss_pll_resource_parse(struct platform_device *pdev, } else if (!strcmp(compatible_stream, "qcom,mdss_dp_pll_sdm660")) { pll_res->target_id = MDSS_PLL_TARGET_SDM660; pll_res->pll_interface_type = MDSS_DP_PLL_SDM660; } else if (!strcmp(compatible_stream, "qcom,mdss_dp_pll_sdm630")) { pll_res->target_id = MDSS_PLL_TARGET_SDM630; pll_res->pll_interface_type = MDSS_DP_PLL_SDM630; } else if (!strcmp(compatible_stream, "qcom,mdss_hdmi_pll_8996")) { pll_res->pll_interface_type = MDSS_HDMI_PLL_8996; } else if (!strcmp(compatible_stream, "qcom,mdss_hdmi_pll_8996_v2")) { Loading Loading @@ -189,6 +192,9 @@ static int mdss_pll_clock_register(struct platform_device *pdev, case MDSS_DP_PLL_SDM660: rc = dp_pll_clock_register_14nm(pdev, pll_res); break; case MDSS_DP_PLL_SDM630: rc = dp_pll_clock_register_14nm(pdev, pll_res); break; case MDSS_UNKNOWN_PLL: default: rc = -EINVAL; Loading Loading @@ -396,6 +402,7 @@ static const struct of_device_id mdss_pll_dt_match[] = { {.compatible = "qcom,mdss_dsi_pll_sdm660"}, {.compatible = "qcom,mdss_dp_pll_sdm660"}, {.compatible = "qcom,mdss_dsi_pll_sdm630"}, {.compatible = "qcom,mdss_dp_pll_sdm630"}, {} }; Loading drivers/clk/qcom/mdss/mdss-pll.h +1 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ enum { MDSS_DSI_PLL_8998, MDSS_DP_PLL_8998, MDSS_DP_PLL_SDM660, MDSS_DP_PLL_SDM630, MDSS_HDMI_PLL_8996, MDSS_HDMI_PLL_8996_V2, MDSS_HDMI_PLL_8996_V3, Loading Loading
Documentation/devicetree/bindings/fb/mdss-pll.txt +2 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,8 @@ Required properties: "qcom,mdss_hdmi_pll_8996_v3", "qcom,mdss_hdmi_pll_8996_v3_1p8", "qcom,mdss_dsi_pll_8998", "qcom,mdss_dp_pll_8998", "qcom,mdss_hdmi_pll_8998", "qcom,mdss_dsi_pll_sdm660", "qcom,mdss_dp_pll_sdm660", "qcom,mdss_dsi_pll_sdm630" "qcom,mdss_dp_pll_sdm660", "qcom,mdss_dsi_pll_sdm630", "qcom,mdss_dp_pll_sdm630" - cell-index: Specifies the controller used - reg: offset and length of the register set for the device. - reg-names : names to refer to register sets related to this device Loading
drivers/clk/qcom/mdss/mdss-pll.c +7 −0 Original line number Diff line number Diff line Loading @@ -149,6 +149,9 @@ static int mdss_pll_resource_parse(struct platform_device *pdev, } else if (!strcmp(compatible_stream, "qcom,mdss_dp_pll_sdm660")) { pll_res->target_id = MDSS_PLL_TARGET_SDM660; pll_res->pll_interface_type = MDSS_DP_PLL_SDM660; } else if (!strcmp(compatible_stream, "qcom,mdss_dp_pll_sdm630")) { pll_res->target_id = MDSS_PLL_TARGET_SDM630; pll_res->pll_interface_type = MDSS_DP_PLL_SDM630; } else if (!strcmp(compatible_stream, "qcom,mdss_hdmi_pll_8996")) { pll_res->pll_interface_type = MDSS_HDMI_PLL_8996; } else if (!strcmp(compatible_stream, "qcom,mdss_hdmi_pll_8996_v2")) { Loading Loading @@ -189,6 +192,9 @@ static int mdss_pll_clock_register(struct platform_device *pdev, case MDSS_DP_PLL_SDM660: rc = dp_pll_clock_register_14nm(pdev, pll_res); break; case MDSS_DP_PLL_SDM630: rc = dp_pll_clock_register_14nm(pdev, pll_res); break; case MDSS_UNKNOWN_PLL: default: rc = -EINVAL; Loading Loading @@ -396,6 +402,7 @@ static const struct of_device_id mdss_pll_dt_match[] = { {.compatible = "qcom,mdss_dsi_pll_sdm660"}, {.compatible = "qcom,mdss_dp_pll_sdm660"}, {.compatible = "qcom,mdss_dsi_pll_sdm630"}, {.compatible = "qcom,mdss_dp_pll_sdm630"}, {} }; Loading
drivers/clk/qcom/mdss/mdss-pll.h +1 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,7 @@ enum { MDSS_DSI_PLL_8998, MDSS_DP_PLL_8998, MDSS_DP_PLL_SDM660, MDSS_DP_PLL_SDM630, MDSS_HDMI_PLL_8996, MDSS_HDMI_PLL_8996_V2, MDSS_HDMI_PLL_8996_V3, Loading