diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2020-07-22 09:38:21 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-07-24 11:19:08 +0200 |
commit | b4c115c76184f2c56a295579161652fd5eb2dcc1 (patch) | |
tree | 7a6c0c25773792f22deb3b255a538d7d2115d351 /drivers/clk/at91/pmc.h | |
parent | clk: at91: clk-master: add master clock support for SAMA7G5 (diff) | |
download | linux-b4c115c76184f2c56a295579161652fd5eb2dcc1.tar.xz linux-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/pmc.h')
-rw-r--r-- | drivers/clk/at91/pmc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h index 29d150feaa46..34c9506e6275 100644 --- a/drivers/clk/at91/pmc.h +++ b/drivers/clk/at91/pmc.h @@ -168,7 +168,8 @@ struct clk_hw * __init at91_clk_register_sam9x5_peripheral(struct regmap *regmap, spinlock_t *lock, const struct clk_pcr_layout *layout, const char *name, const char *parent_name, - u32 id, const struct clk_range *range); + u32 id, const struct clk_range *range, + int chg_pid); struct clk_hw * __init at91_clk_register_pll(struct regmap *regmap, const char *name, |