diff options
author | Alexandre Mergnat <amergnat@baylibre.com> | 2019-07-25 19:40:23 +0300 |
---|---|---|
committer | Jerome Brunet <jbrunet@baylibre.com> | 2019-07-29 13:42:48 +0300 |
commit | 282420eed23f237963f2033b2f2bedb90fbcc5e1 (patch) | |
tree | f8283d5d0851ca7853de0202d2cb8ec7286c2be9 /drivers/clk/meson/Kconfig | |
parent | b6297d9e078a4127fb608ede4d0944855dde667d (diff) | |
download | linux-282420eed23f237963f2033b2f2bedb90fbcc5e1.tar.xz |
clk: meson: axg-audio: migrate to the new parent description method
This clock controller use the string comparison method to describe parent
relation between the clocks, which is not optimized. A recent patch [0]
allows parents to be specified without string names or with device-tree
clock name by using a new assignment structure.
Migrate to the new way by using .parent_hws where possible (when parent
clocks are localy declared in the controller) and use .parent_data
otherwise.
Remove clk input helper and all bypass clocks (declared in probe function)
which are no longer used since we are able to use device-tree clock name
directly.
[0] commit fc0c209c147f ("clk: Allow parents to be specified without string names")
Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
[jbrunet@baylibre.com: remove CLK_SET_RATE_PARENT from mst muxes]
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'drivers/clk/meson/Kconfig')
-rw-r--r-- | drivers/clk/meson/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/meson/Kconfig b/drivers/clk/meson/Kconfig index a6b20e123e0c..ee0b84b6b329 100644 --- a/drivers/clk/meson/Kconfig +++ b/drivers/clk/meson/Kconfig @@ -86,7 +86,6 @@ config COMMON_CLK_AXG config COMMON_CLK_AXG_AUDIO tristate "Meson AXG Audio Clock Controller Driver" depends on ARCH_MESON - select COMMON_CLK_MESON_INPUT select COMMON_CLK_MESON_REGMAP select COMMON_CLK_MESON_PHASE select COMMON_CLK_MESON_SCLK_DIV |