2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2016-08-19 13:34:49 +08:00
|
|
|
#
|
2017-12-20 14:42:58 +08:00
|
|
|
# MediaTek Clock Drivers
|
2016-08-19 13:34:49 +08:00
|
|
|
#
|
2017-12-20 14:42:58 +08:00
|
|
|
menu "Clock driver for MediaTek SoC"
|
|
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
|
|
|
2016-08-19 13:34:49 +08:00
|
|
|
config COMMON_CLK_MEDIATEK
|
|
|
|
bool
|
2018-01-05 16:14:06 +08:00
|
|
|
select RESET_CONTROLLER
|
2016-08-19 13:34:49 +08:00
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
MediaTek SoCs' clock support.
|
2016-08-19 13:34:49 +08:00
|
|
|
|
2016-11-04 15:43:05 +08:00
|
|
|
config COMMON_CLK_MT2701
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2701"
|
2017-01-24 20:07:04 +08:00
|
|
|
depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
|
2016-11-04 15:43:05 +08:00
|
|
|
select COMMON_CLK_MEDIATEK
|
2017-01-24 20:07:04 +08:00
|
|
|
default ARCH_MEDIATEK && ARM
|
2016-11-04 15:43:05 +08:00
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2701 basic clocks.
|
2016-11-04 15:43:05 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2701_MMSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2701 mmsys"
|
2017-01-24 20:07:04 +08:00
|
|
|
depends on COMMON_CLK_MT2701
|
2016-11-04 15:43:05 +08:00
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2701 mmsys clocks.
|
2016-11-04 15:43:05 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2701_IMGSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2701 imgsys"
|
2017-01-24 20:07:04 +08:00
|
|
|
depends on COMMON_CLK_MT2701
|
2016-11-04 15:43:05 +08:00
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2701 imgsys clocks.
|
2016-11-04 15:43:05 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2701_VDECSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2701 vdecsys"
|
2017-01-24 20:07:04 +08:00
|
|
|
depends on COMMON_CLK_MT2701
|
2016-11-04 15:43:05 +08:00
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2701 vdecsys clocks.
|
2016-11-04 15:43:05 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2701_HIFSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2701 hifsys"
|
2017-01-24 20:07:04 +08:00
|
|
|
depends on COMMON_CLK_MT2701
|
2016-11-04 15:43:05 +08:00
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2701 hifsys clocks.
|
2016-11-04 15:43:05 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2701_ETHSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2701 ethsys"
|
2017-01-24 20:07:04 +08:00
|
|
|
depends on COMMON_CLK_MT2701
|
2016-11-04 15:43:05 +08:00
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2701 ethsys clocks.
|
2016-11-04 15:43:05 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2701_BDPSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2701 bdpsys"
|
2017-01-24 20:07:04 +08:00
|
|
|
depends on COMMON_CLK_MT2701
|
2016-11-04 15:43:05 +08:00
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2701 bdpsys clocks.
|
2016-11-04 15:43:05 +08:00
|
|
|
|
2018-03-20 11:16:52 +08:00
|
|
|
config COMMON_CLK_MT2701_AUDSYS
|
|
|
|
bool "Clock driver for Mediatek MT2701 audsys"
|
|
|
|
depends on COMMON_CLK_MT2701
|
|
|
|
---help---
|
|
|
|
This driver supports Mediatek MT2701 audsys clocks.
|
|
|
|
|
2018-04-27 16:14:46 +08:00
|
|
|
config COMMON_CLK_MT2701_G3DSYS
|
|
|
|
bool "Clock driver for MediaTek MT2701 g3dsys"
|
|
|
|
depends on COMMON_CLK_MT2701
|
|
|
|
---help---
|
|
|
|
This driver supports MediaTek MT2701 g3dsys clocks.
|
|
|
|
|
2017-10-23 12:10:34 +08:00
|
|
|
config COMMON_CLK_MT2712
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2712"
|
2017-10-23 12:10:34 +08:00
|
|
|
depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
|
|
|
|
select COMMON_CLK_MEDIATEK
|
|
|
|
default ARCH_MEDIATEK && ARM64
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2712 basic clocks.
|
2017-10-23 12:10:34 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2712_BDPSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2712 bdpsys"
|
2017-10-23 12:10:34 +08:00
|
|
|
depends on COMMON_CLK_MT2712
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2712 bdpsys clocks.
|
2017-10-23 12:10:34 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2712_IMGSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2712 imgsys"
|
2017-10-23 12:10:34 +08:00
|
|
|
depends on COMMON_CLK_MT2712
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2712 imgsys clocks.
|
2017-10-23 12:10:34 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2712_JPGDECSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2712 jpgdecsys"
|
2017-10-23 12:10:34 +08:00
|
|
|
depends on COMMON_CLK_MT2712
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2712 jpgdecsys clocks.
|
2017-10-23 12:10:34 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2712_MFGCFG
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2712 mfgcfg"
|
2017-10-23 12:10:34 +08:00
|
|
|
depends on COMMON_CLK_MT2712
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2712 mfgcfg clocks.
|
2017-10-23 12:10:34 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2712_MMSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2712 mmsys"
|
2017-10-23 12:10:34 +08:00
|
|
|
depends on COMMON_CLK_MT2712
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2712 mmsys clocks.
|
2017-10-23 12:10:34 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2712_VDECSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2712 vdecsys"
|
2017-10-23 12:10:34 +08:00
|
|
|
depends on COMMON_CLK_MT2712
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2712 vdecsys clocks.
|
2017-10-23 12:10:34 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT2712_VENCSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT2712 vencsys"
|
2017-10-23 12:10:34 +08:00
|
|
|
depends on COMMON_CLK_MT2712
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT2712 vencsys clocks.
|
2017-10-23 12:10:34 +08:00
|
|
|
|
2017-04-08 09:20:30 +08:00
|
|
|
config COMMON_CLK_MT6797
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT6797"
|
2017-04-08 09:20:30 +08:00
|
|
|
depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
|
|
|
|
select COMMON_CLK_MEDIATEK
|
|
|
|
default ARCH_MEDIATEK && ARM64
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT6797 basic clocks.
|
2017-04-08 09:20:30 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT6797_MMSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT6797 mmsys"
|
2017-04-08 09:20:30 +08:00
|
|
|
depends on COMMON_CLK_MT6797
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT6797 mmsys clocks.
|
2017-04-08 09:20:30 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT6797_IMGSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT6797 imgsys"
|
2017-04-08 09:20:30 +08:00
|
|
|
depends on COMMON_CLK_MT6797
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT6797 imgsys clocks.
|
2017-04-08 09:20:30 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT6797_VDECSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT6797 vdecsys"
|
2017-04-08 09:20:30 +08:00
|
|
|
depends on COMMON_CLK_MT6797
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT6797 vdecsys clocks.
|
2017-04-08 09:20:30 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT6797_VENCSYS
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT6797 vencsys"
|
2017-04-08 09:20:30 +08:00
|
|
|
depends on COMMON_CLK_MT6797
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT6797 vencsys clocks.
|
2017-04-08 09:20:30 +08:00
|
|
|
|
2017-10-05 11:50:24 +08:00
|
|
|
config COMMON_CLK_MT7622
|
|
|
|
bool "Clock driver for MediaTek MT7622"
|
|
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
|
|
select COMMON_CLK_MEDIATEK
|
|
|
|
default ARCH_MEDIATEK
|
|
|
|
---help---
|
|
|
|
This driver supports MediaTek MT7622 basic clocks and clocks
|
|
|
|
required for various periperals found on MediaTek.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT7622_ETHSYS
|
|
|
|
bool "Clock driver for MediaTek MT7622 ETHSYS"
|
|
|
|
depends on COMMON_CLK_MT7622
|
|
|
|
---help---
|
|
|
|
This driver add support for clocks for Ethernet and SGMII
|
|
|
|
required on MediaTek MT7622 SoC.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT7622_HIFSYS
|
|
|
|
bool "Clock driver for MediaTek MT7622 HIFSYS"
|
|
|
|
depends on COMMON_CLK_MT7622
|
|
|
|
---help---
|
|
|
|
This driver supports MediaTek MT7622 HIFSYS clocks providing
|
|
|
|
to PCI-E and USB.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT7622_AUDSYS
|
|
|
|
bool "Clock driver for MediaTek MT7622 AUDSYS"
|
|
|
|
depends on COMMON_CLK_MT7622
|
|
|
|
---help---
|
|
|
|
This driver supports MediaTek MT7622 AUDSYS clocks providing
|
|
|
|
to audio consumers such as I2S and TDM.
|
|
|
|
|
2018-11-05 16:43:55 +08:00
|
|
|
config COMMON_CLK_MT7629
|
|
|
|
bool "Clock driver for MediaTek MT7629"
|
|
|
|
depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
|
|
|
|
select COMMON_CLK_MEDIATEK
|
|
|
|
default ARCH_MEDIATEK && ARM
|
|
|
|
---help---
|
|
|
|
This driver supports MediaTek MT7629 basic clocks and clocks
|
|
|
|
required for various periperals found on MediaTek.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT7629_ETHSYS
|
|
|
|
bool "Clock driver for MediaTek MT7629 ETHSYS"
|
|
|
|
depends on COMMON_CLK_MT7629
|
|
|
|
---help---
|
|
|
|
This driver add support for clocks for Ethernet and SGMII
|
|
|
|
required on MediaTek MT7629 SoC.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT7629_HIFSYS
|
|
|
|
bool "Clock driver for MediaTek MT7629 HIFSYS"
|
|
|
|
depends on COMMON_CLK_MT7629
|
|
|
|
---help---
|
|
|
|
This driver supports MediaTek MT7629 HIFSYS clocks providing
|
|
|
|
to PCI-E and USB.
|
|
|
|
|
2016-08-19 13:34:49 +08:00
|
|
|
config COMMON_CLK_MT8135
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT8135"
|
2017-01-24 20:09:12 +08:00
|
|
|
depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
|
2016-08-19 13:34:49 +08:00
|
|
|
select COMMON_CLK_MEDIATEK
|
2017-01-24 20:09:12 +08:00
|
|
|
default ARCH_MEDIATEK && ARM
|
2016-08-19 13:34:49 +08:00
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT8135 clocks.
|
2016-08-19 13:34:49 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT8173
|
2017-12-20 14:42:58 +08:00
|
|
|
bool "Clock driver for MediaTek MT8173"
|
2016-10-14 20:44:13 +08:00
|
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
2016-08-19 13:34:49 +08:00
|
|
|
select COMMON_CLK_MEDIATEK
|
|
|
|
default ARCH_MEDIATEK
|
|
|
|
---help---
|
2017-12-20 14:42:58 +08:00
|
|
|
This driver supports MediaTek MT8173 clocks.
|
2019-03-05 13:05:45 +08:00
|
|
|
|
|
|
|
config COMMON_CLK_MT8183
|
|
|
|
bool "Clock driver for MediaTek MT8183"
|
|
|
|
depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
|
|
|
|
select COMMON_CLK_MEDIATEK
|
|
|
|
default ARCH_MEDIATEK && ARM64
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 basic clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_AUDIOSYS
|
|
|
|
bool "Clock driver for MediaTek MT8183 audiosys"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 audiosys clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_CAMSYS
|
|
|
|
bool "Clock driver for MediaTek MT8183 camsys"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 camsys clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_IMGSYS
|
|
|
|
bool "Clock driver for MediaTek MT8183 imgsys"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 imgsys clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_IPU_CORE0
|
|
|
|
bool "Clock driver for MediaTek MT8183 ipu_core0"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 ipu_core0 clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_IPU_CORE1
|
|
|
|
bool "Clock driver for MediaTek MT8183 ipu_core1"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 ipu_core1 clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_IPU_ADL
|
|
|
|
bool "Clock driver for MediaTek MT8183 ipu_adl"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 ipu_adl clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_IPU_CONN
|
|
|
|
bool "Clock driver for MediaTek MT8183 ipu_conn"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 ipu_conn clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_MFGCFG
|
|
|
|
bool "Clock driver for MediaTek MT8183 mfgcfg"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 mfgcfg clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_MMSYS
|
|
|
|
bool "Clock driver for MediaTek MT8183 mmsys"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 mmsys clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_VDECSYS
|
|
|
|
bool "Clock driver for MediaTek MT8183 vdecsys"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 vdecsys clocks.
|
|
|
|
|
|
|
|
config COMMON_CLK_MT8183_VENCSYS
|
|
|
|
bool "Clock driver for MediaTek MT8183 vencsys"
|
|
|
|
depends on COMMON_CLK_MT8183
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8183 vencsys clocks.
|
|
|
|
|
2019-03-24 05:16:02 +08:00
|
|
|
config COMMON_CLK_MT8516
|
|
|
|
bool "Clock driver for MediaTek MT8516"
|
|
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
|
|
select COMMON_CLK_MEDIATEK
|
|
|
|
default ARCH_MEDIATEK
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8516 clocks.
|
|
|
|
|
2019-05-02 20:18:43 +08:00
|
|
|
config COMMON_CLK_MT8516_AUDSYS
|
|
|
|
bool "Clock driver for MediaTek MT8516 audsys"
|
|
|
|
depends on COMMON_CLK_MT8516
|
|
|
|
help
|
|
|
|
This driver supports MediaTek MT8516 audsys clocks.
|
|
|
|
|
2017-12-20 14:42:58 +08:00
|
|
|
endmenu
|