diff options
author | Codrin Ciubotariu <codrin.ciubotariu@microchip.com> | 2018-06-18 16:12:36 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-07-06 20:12:20 +0200 |
commit | 96e4ea8c253d12079db4d7174990455b4bbf0c87 (patch) | |
tree | a0cb6049dad098bcad9e8a11fcdc763be3482a90 /arch/arm/mach-at91 | |
parent | dt-bindings: clk: at91: add an I2S mux clock (diff) | |
download | linux-96e4ea8c253d12079db4d7174990455b4bbf0c87.tar.xz linux-96e4ea8c253d12079db4d7174990455b4bbf0c87.zip |
clk: at91: add I2S clock mux driver
This driver is a simple muxing driver that controls the
I2S's clock input by using syscon/regmap to change the parent.
The available inputs can be peripheral clock and generated clock.
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
[sboyd@kernel.org: Fix SPDX tag comment style]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 1254bf9d91b4..903f23c309df 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig @@ -27,6 +27,7 @@ config SOC_SAMA5D2 select HAVE_AT91_H32MX select HAVE_AT91_GENERATED_CLK select HAVE_AT91_AUDIO_PLL + select HAVE_AT91_I2S_MUX_CLK select PINCTRL_AT91PIO4 help Select this if ou are using one of Microchip's SAMA5D2 family SoC. @@ -129,6 +130,9 @@ config HAVE_AT91_GENERATED_CLK config HAVE_AT91_AUDIO_PLL bool +config HAVE_AT91_I2S_MUX_CLK + bool + config SOC_SAM_V4_V5 bool |