mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
clk: cix: add sky1 audss clock controller
Add a platform driver for the Cix Sky1 AUDSS CRU. The driver maps the CRU registers and registers mux, divider and gate clocks for DSP, SRAM, HDA, DMAC, I2S, mailbox, watchdog and timer blocks. Four SoC-level audio reference clocks are enabled as inputs to the internal clock tree. The driver releases the AUDSS NOC reset, enables runtime PM and instantiates the auxiliary reset device. Signed-off-by: Joakim Zhang <joakim.zhang@cixtech.com> Reviewed-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Brian Masney <bmasney@redhat.com>
This commit is contained in:
parent
48ceae43be
commit
3730fe6032
|
|
@ -509,6 +509,7 @@ source "drivers/clk/actions/Kconfig"
|
|||
source "drivers/clk/analogbits/Kconfig"
|
||||
source "drivers/clk/aspeed/Kconfig"
|
||||
source "drivers/clk/bcm/Kconfig"
|
||||
source "drivers/clk/cix/Kconfig"
|
||||
source "drivers/clk/eswin/Kconfig"
|
||||
source "drivers/clk/hisilicon/Kconfig"
|
||||
source "drivers/clk/imgtec/Kconfig"
|
||||
|
|
|
|||
|
|
@ -119,6 +119,7 @@ obj-$(CONFIG_ARCH_ARTPEC) += axis/
|
|||
obj-$(CONFIG_ARC_PLAT_AXS10X) += axs10x/
|
||||
obj-y += bcm/
|
||||
obj-$(CONFIG_ARCH_BERLIN) += berlin/
|
||||
obj-y += cix/
|
||||
obj-$(CONFIG_ARCH_DAVINCI) += davinci/
|
||||
obj-$(CONFIG_COMMON_CLK_ESWIN) += eswin/
|
||||
obj-$(CONFIG_ARCH_HISI) += hisilicon/
|
||||
|
|
|
|||
16
drivers/clk/cix/Kconfig
Normal file
16
drivers/clk/cix/Kconfig
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Audio subsystem clock support for Cixtech SoC family
|
||||
menu "Cixtech Audio Subsystem Clock Driver"
|
||||
|
||||
config CLK_SKY1_AUDSS
|
||||
tristate "Cixtech Sky1 Audio Subsystem Clock Driver"
|
||||
depends on ARCH_CIX || COMPILE_TEST
|
||||
select AUXILIARY_BUS
|
||||
select REGMAP_MMIO
|
||||
select RESET_CONTROLLER
|
||||
help
|
||||
Support for the Audio Subsystem clock controller present on
|
||||
Cixtech Sky1 SoC. This driver provides mux, divider and gate
|
||||
clocks for DSP, I2S, HDA and related blocks in the audio
|
||||
subsystem. Say M or Y here if you want to build this driver.
|
||||
endmenu
|
||||
3
drivers/clk/cix/Makefile
Normal file
3
drivers/clk/cix/Makefile
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
obj-$(CONFIG_CLK_SKY1_AUDSS) += clk-sky1-audss.o
|
||||
1206
drivers/clk/cix/clk-sky1-audss.c
Normal file
1206
drivers/clk/cix/clk-sky1-audss.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user