diff options
| author | Sergej Sawazki <sergej@taudac.com> | 2017-09-16 07:44:41 -0400 |
|---|---|---|
| committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-12-21 21:09:18 -0500 |
| commit | 51279ef9f64cf7eb8b3f891a2b60fa1aa4938afc (patch) | |
| tree | 8406d6a2eb541671c99e636161023430a01054df /include/linux/platform_data | |
| parent | 758231d5a80a784d60ce7c96b27f8771ca4c682b (diff) | |
clk: si5351: Add DT property to enable PLL reset
Add optional output clock DT property to enable PLL reset when a clock
output is enabled.
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Rabeeh Khoury <rabeeh@solid-run.com>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Sergej Sawazki <sergej@taudac.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/si5351.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/si5351.h b/include/linux/platform_data/si5351.h index 818c5c6e203f..c71a2dd66143 100644 --- a/include/linux/platform_data/si5351.h +++ b/include/linux/platform_data/si5351.h | |||
| @@ -86,6 +86,7 @@ enum si5351_disable_state { | |||
| 86 | * @multisynth_src: multisynth source clock | 86 | * @multisynth_src: multisynth source clock |
| 87 | * @clkout_src: clkout source clock | 87 | * @clkout_src: clkout source clock |
| 88 | * @pll_master: if true, clkout can also change pll rate | 88 | * @pll_master: if true, clkout can also change pll rate |
| 89 | * @pll_reset: if true, clkout can reset its pll | ||
| 89 | * @drive: output drive strength | 90 | * @drive: output drive strength |
| 90 | * @rate: initial clkout rate, or default if 0 | 91 | * @rate: initial clkout rate, or default if 0 |
| 91 | */ | 92 | */ |
| @@ -95,6 +96,7 @@ struct si5351_clkout_config { | |||
| 95 | enum si5351_drive_strength drive; | 96 | enum si5351_drive_strength drive; |
| 96 | enum si5351_disable_state disable_state; | 97 | enum si5351_disable_state disable_state; |
| 97 | bool pll_master; | 98 | bool pll_master; |
| 99 | bool pll_reset; | ||
| 98 | unsigned long rate; | 100 | unsigned long rate; |
| 99 | }; | 101 | }; |
| 100 | 102 | ||
