Loading drivers/clk/qcom/mdss/mdss-hdmi-pll-8996.c +579 −33 File changed.Preview size limit exceeded, changes collapsed. Show changes drivers/clk/qcom/mdss/mdss-hdmi-pll.h +4 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,9 @@ int hdmi_pll_clock_register(struct platform_device *pdev, int hdmi_20nm_pll_clock_register(struct platform_device *pdev, struct mdss_pll_resources *pll_res); int hdmi_8996_pll_clock_register(struct platform_device *pdev, int hdmi_8996_v1_pll_clock_register(struct platform_device *pdev, struct mdss_pll_resources *pll_res); int hdmi_8996_v2_pll_clock_register(struct platform_device *pdev, struct mdss_pll_resources *pll_res); #endif drivers/clk/qcom/mdss/mdss-pll.c +7 −1 Original line number Diff line number Diff line Loading @@ -137,6 +137,8 @@ static int mdss_pll_resource_parse(struct platform_device *pdev, pll_res->revision = 2; } 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")) { pll_res->pll_interface_type = MDSS_HDMI_PLL_8996_V2; } else { goto err; } Loading Loading @@ -164,7 +166,10 @@ static int mdss_pll_clock_register(struct platform_device *pdev, rc = dsi_pll_clock_register_8996(pdev, pll_res); break; case MDSS_HDMI_PLL_8996: rc = hdmi_8996_pll_clock_register(pdev, pll_res); rc = hdmi_8996_v1_pll_clock_register(pdev, pll_res); break; case MDSS_HDMI_PLL_8996_V2: rc = hdmi_8996_v2_pll_clock_register(pdev, pll_res); break; case MDSS_UNKNOWN_PLL: default: Loading Loading @@ -341,6 +346,7 @@ static const struct of_device_id mdss_pll_dt_match[] = { {.compatible = "qcom,mdss_dsi_pll_8996"}, {.compatible = "qcom,mdss_dsi_pll_8996_v2"}, {.compatible = "qcom,mdss_hdmi_pll_8996"}, {.compatible = "qcom,mdss_hdmi_pll_8996_v2"}, {} }; Loading drivers/clk/qcom/mdss/mdss-pll.h +1 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ enum { MDSS_DSI_PLL_8996, MDSS_HDMI_PLL_8996, MDSS_HDMI_PLL_8996_V2, MDSS_UNKNOWN_PLL, }; Loading Loading
drivers/clk/qcom/mdss/mdss-hdmi-pll-8996.c +579 −33 File changed.Preview size limit exceeded, changes collapsed. Show changes
drivers/clk/qcom/mdss/mdss-hdmi-pll.h +4 −1 Original line number Diff line number Diff line Loading @@ -39,6 +39,9 @@ int hdmi_pll_clock_register(struct platform_device *pdev, int hdmi_20nm_pll_clock_register(struct platform_device *pdev, struct mdss_pll_resources *pll_res); int hdmi_8996_pll_clock_register(struct platform_device *pdev, int hdmi_8996_v1_pll_clock_register(struct platform_device *pdev, struct mdss_pll_resources *pll_res); int hdmi_8996_v2_pll_clock_register(struct platform_device *pdev, struct mdss_pll_resources *pll_res); #endif
drivers/clk/qcom/mdss/mdss-pll.c +7 −1 Original line number Diff line number Diff line Loading @@ -137,6 +137,8 @@ static int mdss_pll_resource_parse(struct platform_device *pdev, pll_res->revision = 2; } 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")) { pll_res->pll_interface_type = MDSS_HDMI_PLL_8996_V2; } else { goto err; } Loading Loading @@ -164,7 +166,10 @@ static int mdss_pll_clock_register(struct platform_device *pdev, rc = dsi_pll_clock_register_8996(pdev, pll_res); break; case MDSS_HDMI_PLL_8996: rc = hdmi_8996_pll_clock_register(pdev, pll_res); rc = hdmi_8996_v1_pll_clock_register(pdev, pll_res); break; case MDSS_HDMI_PLL_8996_V2: rc = hdmi_8996_v2_pll_clock_register(pdev, pll_res); break; case MDSS_UNKNOWN_PLL: default: Loading Loading @@ -341,6 +346,7 @@ static const struct of_device_id mdss_pll_dt_match[] = { {.compatible = "qcom,mdss_dsi_pll_8996"}, {.compatible = "qcom,mdss_dsi_pll_8996_v2"}, {.compatible = "qcom,mdss_hdmi_pll_8996"}, {.compatible = "qcom,mdss_hdmi_pll_8996_v2"}, {} }; Loading
drivers/clk/qcom/mdss/mdss-pll.h +1 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ enum { MDSS_DSI_PLL_8996, MDSS_HDMI_PLL_8996, MDSS_HDMI_PLL_8996_V2, MDSS_UNKNOWN_PLL, }; Loading