summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/clock.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2018-02-15 08:49:27 +0100
committerTero Kristo <t-kristo@ti.com>2018-03-08 10:42:04 +0100
commitb44a03008da5e20e24c0d11d566796fb9b0f912e (patch)
treeff7b2093df05aff4cd0c4fc72148684fa15a26f1 /drivers/clk/ti/clock.h
parentclk: ti: add generic support for clock latching (diff)
downloadlinux-b44a03008da5e20e24c0d11d566796fb9b0f912e.tar.xz
linux-b44a03008da5e20e24c0d11d566796fb9b0f912e.zip
clk: ti: add support for clock latching to divider clocks
Latching the clock settings is needed with certain clocks, where the setting is "cached" in HW before doing the actual re-programming of the clock source. This patch adds support for clock latching to the divider clock. Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'drivers/clk/ti/clock.h')
-rw-r--r--drivers/clk/ti/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h
index 2f8af8fd886a..62b108cc10de 100644
--- a/drivers/clk/ti/clock.h
+++ b/drivers/clk/ti/clock.h
@@ -22,6 +22,7 @@ struct clk_omap_divider {
u8 shift;
u8 width;
u8 flags;
+ s8 latch;
const struct clk_div_table *table;
};