aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91/sama5d4.c
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2020-07-22 10:38:21 +0300
committerStephen Boyd <sboyd@kernel.org>2020-07-24 02:19:08 -0700
commitb4c115c76184f2c56a295579161652fd5eb2dcc1 (patch)
tree7a6c0c25773792f22deb3b255a538d7d2115d351 /drivers/clk/at91/sama5d4.c
parentclk: at91: clk-master: add master clock support for SAMA7G5 (diff)
downloadlinux-dev-b4c115c76184f2c56a295579161652fd5eb2dcc1.tar.xz
linux-dev-b4c115c76184f2c56a295579161652fd5eb2dcc1.zip
clk: at91: clk-peripheral: add support for changeable parent rate
Some peripheral clocks on SAMA7G5 supports requesting parent to change its rate (image related clocks: csi, csi2dc, isc). Add support so that if registered with this option the clock rate to be requested from parent. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/1595403506-8209-14-git-send-email-claudiu.beznea@microchip.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/at91/sama5d4.c')
-rw-r--r--drivers/clk/at91/sama5d4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/at91/sama5d4.c b/drivers/clk/at91/sama5d4.c
index 662ff5fa6e98..fa121897d95d 100644
--- a/drivers/clk/at91/sama5d4.c
+++ b/drivers/clk/at91/sama5d4.c
@@ -246,7 +246,7 @@ static void __init sama5d4_pmc_setup(struct device_node *np)
sama5d4_periphck[i].n,
"masterck",
sama5d4_periphck[i].id,
- &range);
+ &range, INT_MIN);
if (IS_ERR(hw))
goto err_free;
@@ -259,7 +259,7 @@ static void __init sama5d4_pmc_setup(struct device_node *np)
sama5d4_periph32ck[i].n,
"h32mxck",
sama5d4_periph32ck[i].id,
- &range);
+ &range, INT_MIN);
if (IS_ERR(hw))
goto err_free;