aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2022-02-27 23:25:36 +0530
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-03-09 08:53:29 -0600
commitb527358cb4cd58a8279c9062b0786f1fab628fdc (patch)
tree9b816f6a32f4c625f950bb610ed0251c314873aa
parentclk: qcom: clk-rcg2: Update logic to calculate D value for RCG (diff)
downloadlinux-dev-b527358cb4cd58a8279c9062b0786f1fab628fdc.tar.xz
linux-dev-b527358cb4cd58a8279c9062b0786f1fab628fdc.zip
clk: qcom: clk-rcg2: Update the frac table for pixel clock
Support the new numerator and denominator for pixel clock on SM8350 and support rgb101010, RGB888 use cases on SM8450. Fixes: 99cbd064b059f ("clk: qcom: Support display RCG clocks") Signed-off-by: Taniya Das <tdas@codeaurora.org> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220227175536.3131-2-tdas@codeaurora.org
-rw-r--r--drivers/clk/qcom/clk-rcg2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/qcom/clk-rcg2.c b/drivers/clk/qcom/clk-rcg2.c
index b831975a9606..f675fd969c4d 100644
--- a/drivers/clk/qcom/clk-rcg2.c
+++ b/drivers/clk/qcom/clk-rcg2.c
@@ -729,6 +729,7 @@ static const struct frac_entry frac_table_pixel[] = {
{ 2, 9 },
{ 4, 9 },
{ 1, 1 },
+ { 2, 3 },
{ }
};