diff options
author | Alexandre Mergnat <amergnat@baylibre.com> | 2019-07-25 18:41:26 +0200 |
---|---|---|
committer | Jerome Brunet <jbrunet@baylibre.com> | 2019-07-29 12:42:48 +0200 |
commit | 072a043f5a2e02441002fff34e3885e6026714eb (patch) | |
tree | 1906ba92bd9cbd3cdc347954e3b87f49d38725db /drivers/clk/meson/meson-aoclk.h | |
parent | clk: meson: axg-aoclk: migrate to the new parent description method (diff) | |
download | wireguard-linux-072a043f5a2e02441002fff34e3885e6026714eb.tar.xz wireguard-linux-072a043f5a2e02441002fff34e3885e6026714eb.zip |
clk: meson: remove ao input bypass clocks
During probe, bypass clocks (i.e. ao-in-xtal) are made from device-tree
inputs to provide input clocks which can be access through global name.
The cons of this method are the duplicated clocks, means more string
comparison.
Specify parent directly with device-tree clock name.
Function to regiter bypass clocks is removed.
Input parameters from meson aoclk data structure are deprecated and then
deleted since all aoclk files are migrated.
Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'drivers/clk/meson/meson-aoclk.h')
-rw-r--r-- | drivers/clk/meson/meson-aoclk.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/clk/meson/meson-aoclk.h b/drivers/clk/meson/meson-aoclk.h index 999cde3868f7..605b43855a69 100644 --- a/drivers/clk/meson/meson-aoclk.h +++ b/drivers/clk/meson/meson-aoclk.h @@ -18,20 +18,12 @@ #include "clk-regmap.h" -struct meson_aoclk_input { - const char *name; - bool required; -}; - struct meson_aoclk_data { const unsigned int reset_reg; const int num_reset; const unsigned int *reset; const int num_clks; struct clk_regmap **clks; - const int num_inputs; - const struct meson_aoclk_input *inputs; - const char *input_prefix; const struct clk_hw_onecell_data *hw_data; }; |