summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-si5351.h
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-05-03 07:33:27 +0200
committerMike Turquette <mturquette@linaro.org>2013-05-28 22:50:31 -0700
commit1a0483d2a4c2c5e218d415c90d1a62b3b917d34e (patch)
tree14f9c34645c52c16e1a0d32986629b0fdeb0f153 /drivers/clk/clk-si5351.h
parent555eae97358082be3a46572464829c27b96ed8f1 (diff)
downloadlinux-1a0483d2a4c2c5e218d415c90d1a62b3b917d34e.tar.gz
linux-1a0483d2a4c2c5e218d415c90d1a62b3b917d34e.tar.bz2
linux-1a0483d2a4c2c5e218d415c90d1a62b3b917d34e.zip
clk: si5351: Allow user to define disabled state for every clock output
This patch adds platform data and DT bindings to allow to overwrite the stored disabled state for each clock output. Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com> Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk-si5351.h')
-rw-r--r--drivers/clk/clk-si5351.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/clk-si5351.h b/drivers/clk/clk-si5351.h
index af41b5080f43..c0dbf2676872 100644
--- a/drivers/clk/clk-si5351.h
+++ b/drivers/clk/clk-si5351.h
@@ -81,6 +81,7 @@
#define SI5351_CLK3_0_DISABLE_STATE 24
#define SI5351_CLK7_4_DISABLE_STATE 25
+#define SI5351_CLK_DISABLE_STATE_MASK 3
#define SI5351_CLK_DISABLE_STATE_LOW 0
#define SI5351_CLK_DISABLE_STATE_HIGH 1
#define SI5351_CLK_DISABLE_STATE_FLOAT 2