summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/clock.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2018-02-15 10:50:02 +0300
committerTero Kristo <t-kristo@ti.com>2018-03-08 12:42:05 +0300
commitee2fc3c5ca8dad3906dd1d578e72d5272083220c (patch)
tree62a3a35e493e3195e53841e10aa5c9b5dee6c851 /drivers/clk/ti/clock.h
parentb44a03008da5e20e24c0d11d566796fb9b0f912e (diff)
downloadlinux-ee2fc3c5ca8dad3906dd1d578e72d5272083220c.tar.xz
clk: ti: add support for clock latching to mux 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 mux 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 62b108cc10de..90b86aadfda7 100644
--- a/drivers/clk/ti/clock.h
+++ b/drivers/clk/ti/clock.h
@@ -34,6 +34,7 @@ struct clk_omap_mux {
u32 *table;
u32 mask;
u8 shift;
+ s8 latch;
u8 flags;
};