diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-05-03 09:33:27 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-05-29 09:50:31 +0400 |
commit | 1a0483d2a4c2c5e218d415c90d1a62b3b917d34e (patch) | |
tree | 14f9c34645c52c16e1a0d32986629b0fdeb0f153 /drivers/clk/clk-si5351.h | |
parent | 555eae97358082be3a46572464829c27b96ed8f1 (diff) | |
download | linux-1a0483d2a4c2c5e218d415c90d1a62b3b917d34e.tar.xz |
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.h | 1 |
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 |