forked from Minki/linux
916f562fb2
side. The two main highlights in the core framework are the addition of an bulk clk_get API that handles optional clks and an extra debugfs file that tells the developer about the current parent of a clk. The driver updates are dominated by i.MX in the diffstat, but that is mostly because that SoC has started converting to the clk_hw style of clk registration. The next big update is in the Amlogic meson clk driver that gained some support for audio, cpu, and temperature clks while fixing some PLL issues. Finally, the biggest thing that stands out is the conversion of a large part of the Allwinner sunxi-ng driver to the new clk parent scheme that uses less strings and more pointer comparisons to match clk parents and children up. In general, it looks like we have a lot of little fixes and tweaks here and there to clk data along with the normal addition of a handful of new drivers and a couple new core framework features. Core: - Add a 'clk_parent' file in clk debugfs - Add a clk_bulk_get_optional() API (with devm too) New Drivers: - Support gated clk controller on MIPS based BCM63XX SoCs - Support SiLabs Si5341 and Si5340 chips - Support for CPU clks on Raspberry Pi devices - Audsys clock driver for MediaTek MT8516 SoCs Updates: - Convert a large portion of the Allwinner sunxi-ng driver to new clk parent scheme - Small frequency support for SiLabs Si544 chips - Slow clk support for AT91 SAM9X60 SoCs - Remove dead code in various clk drivers (-Wunused) - Support for Marvell 98DX1135 SoCs - Get duty cycle of generic pwm clks - Improvement in mmc phase calculation and cleanup of some rate defintions - Switch i.MX6 and i.MX7 clock drivers to clk_hw based APIs - Add GPIO, SNVS and GIC clocks for i.MX8 drivers - Mark imx6sx/ul/ull/sll MMDC_P1_IPG and imx8mm DRAM_APB as critical clock - Correct imx7ulp nic1_bus_clk and imx8mm audio_pll2_clk clock setting - Add clks for new Exynos5422 Dynamic Memory Controller driver - Clock definition for Exynos4412 Mali - Add CMM (Color Management Module) clocks on Renesas R-Car H3, M3-N, E3, and D3 - Add TPU (Timer Pulse Unit / PWM) clocks on Renesas RZ/G2M - Support for 32 bit clock IDs in TI's sci-clks for J721e SoCs - TI clock probing done from DT by default instead of firmware - Fix Amlogic Meson mpll fractional part and spread sprectrum issues - Add Amlogic meson8 audio clocks - Add Amlogic g12a temperature sensors clocks - Add Amlogic g12a and g12b cpu clocks - Add TPU (Timer Pulse Unit / PWM) clocks on Renesas R-Car H3, M3-W, and M3-N - Add CMM (Color Management Module) clocks on Renesas R-Car M3-W - Add Clock Domain support on Renesas RZ/N1 -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEE9L57QeeUxqYDyoaDrQKIl8bklSUFAl0uBEERHHNib3lkQGtl cm5lbC5vcmcACgkQrQKIl8bklSWucw/9ELKlfvdxrc8mdIuzt+CpKdNiSG88shXY hF+vnuE6Jhv5hmlbA/DbplPTAnHT/FQF65/GPQMAYy2wYO6CjleNxQyepiVv4h8/ tWoXu5vYZXubtQyMnYTffREzjYFPBNAscLUhXNwJKRno7nT0qKCk62WgOMfaW/KN lP5dKmrL7rdJDUvxHEStrwP515Lg5Wkhj3+XzgbgFUKGuGlvHfwUOEZucT++kqhu Z1vMjPv2ksHQf3r15BsbX/6jMIONEt2Xd6jA3Lm7ebDXJl2hjX4Gq0Kkl5pmkj2w F0V7Tw4XYk6DkSl7HQaOBgQ8KV0Mw2L8Vj6eEDhUwx6wPGlQ5YTKkUCJkjs0mUyb UpO3TuPFN2W0hsTNDzwYpjqcfodDn159XJcduv1/ZpIanUvHgx0uVzQ7iwwYwW+l VR4SipY5AEn9hpief30X7TAUSKsE4do58imYeoGBrq78zdsJaEcDAMX7AcYdXVQ9 ahBS8ME/d1JEBNdRsSW7eTAfu8dZdI08uR8/T37GRG59XyZSjsyVmZ6kHCYrBygF AyLNMsXMCbW1rOoIpWkuGMD86XZy40laLg8T7WWTaq28t1VQ0BaBTGM4/eEexs3p FhZ1M7aH+PsDLrI2IGTBt/4xAMv+dhDS7HnxRlOONbWnLWVqmR+tYzF0aCkqJCmd O2zWCGffeYs= =mK0C -----END PGP SIGNATURE----- Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux Pull clk updates from Stephen Boyd: "This round of clk driver and framework updates is heavy on the driver update side. The two main highlights in the core framework are the addition of an bulk clk_get API that handles optional clks and an extra debugfs file that tells the developer about the current parent of a clk. The driver updates are dominated by i.MX in the diffstat, but that is mostly because that SoC has started converting to the clk_hw style of clk registration. The next big update is in the Amlogic meson clk driver that gained some support for audio, cpu, and temperature clks while fixing some PLL issues. Finally, the biggest thing that stands out is the conversion of a large part of the Allwinner sunxi-ng driver to the new clk parent scheme that uses less strings and more pointer comparisons to match clk parents and children up. In general, it looks like we have a lot of little fixes and tweaks here and there to clk data along with the normal addition of a handful of new drivers and a couple new core framework features. Core: - Add a 'clk_parent' file in clk debugfs - Add a clk_bulk_get_optional() API (with devm too) New Drivers: - Support gated clk controller on MIPS based BCM63XX SoCs - Support SiLabs Si5341 and Si5340 chips - Support for CPU clks on Raspberry Pi devices - Audsys clock driver for MediaTek MT8516 SoCs Updates: - Convert a large portion of the Allwinner sunxi-ng driver to new clk parent scheme - Small frequency support for SiLabs Si544 chips - Slow clk support for AT91 SAM9X60 SoCs - Remove dead code in various clk drivers (-Wunused) - Support for Marvell 98DX1135 SoCs - Get duty cycle of generic pwm clks - Improvement in mmc phase calculation and cleanup of some rate defintions - Switch i.MX6 and i.MX7 clock drivers to clk_hw based APIs - Add GPIO, SNVS and GIC clocks for i.MX8 drivers - Mark imx6sx/ul/ull/sll MMDC_P1_IPG and imx8mm DRAM_APB as critical clock - Correct imx7ulp nic1_bus_clk and imx8mm audio_pll2_clk clock setting - Add clks for new Exynos5422 Dynamic Memory Controller driver - Clock definition for Exynos4412 Mali - Add CMM (Color Management Module) clocks on Renesas R-Car H3, M3-N, E3, and D3 - Add TPU (Timer Pulse Unit / PWM) clocks on Renesas RZ/G2M - Support for 32 bit clock IDs in TI's sci-clks for J721e SoCs - TI clock probing done from DT by default instead of firmware - Fix Amlogic Meson mpll fractional part and spread sprectrum issues - Add Amlogic meson8 audio clocks - Add Amlogic g12a temperature sensors clocks - Add Amlogic g12a and g12b cpu clocks - Add TPU (Timer Pulse Unit / PWM) clocks on Renesas R-Car H3, M3-W, and M3-N - Add CMM (Color Management Module) clocks on Renesas R-Car M3-W - Add Clock Domain support on Renesas RZ/N1" * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (190 commits) clk: consoldiate the __clk_get_hw() declarations clk: sprd: Add check for return value of sprd_clk_regmap_init() clk: lochnagar: Update DT binding doc to include the primary SPDIF MCLK clk: Add Si5341/Si5340 driver dt-bindings: clock: Add silabs,si5341 clk: clk-si544: Implement small frequency change support clk: add BCM63XX gated clock controller driver devicetree: document the BCM63XX gated clock bindings clk: at91: sckc: use dedicated functions to unregister clock clk: at91: sckc: improve error path for sama5d4 sck registration clk: at91: sckc: remove unnecessary line clk: at91: sckc: improve error path for sam9x5 sck register clk: at91: sckc: add support to free slow clock osclillator clk: at91: sckc: add support to free slow rc oscillator clk: at91: sckc: add support to free slow oscillator clk: rockchip: export HDMIPHY clock on rk3228 clk: rockchip: add watchdog pclk on rk3328 clk: rockchip: add clock id for hdmi_phy special clock on rk3228 clk: rockchip: add clock id for watchdog pclk on rk3328 clk: at91: sckc: add support for SAM9X60 ...
310 lines
9.0 KiB
Plaintext
310 lines
9.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# MediaTek Clock Drivers
|
|
#
|
|
menu "Clock driver for MediaTek SoC"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
|
|
config COMMON_CLK_MEDIATEK
|
|
bool
|
|
select RESET_CONTROLLER
|
|
---help---
|
|
MediaTek SoCs' clock support.
|
|
|
|
config COMMON_CLK_MT2701
|
|
bool "Clock driver for MediaTek MT2701"
|
|
depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
|
|
select COMMON_CLK_MEDIATEK
|
|
default ARCH_MEDIATEK && ARM
|
|
---help---
|
|
This driver supports MediaTek MT2701 basic clocks.
|
|
|
|
config COMMON_CLK_MT2701_MMSYS
|
|
bool "Clock driver for MediaTek MT2701 mmsys"
|
|
depends on COMMON_CLK_MT2701
|
|
---help---
|
|
This driver supports MediaTek MT2701 mmsys clocks.
|
|
|
|
config COMMON_CLK_MT2701_IMGSYS
|
|
bool "Clock driver for MediaTek MT2701 imgsys"
|
|
depends on COMMON_CLK_MT2701
|
|
---help---
|
|
This driver supports MediaTek MT2701 imgsys clocks.
|
|
|
|
config COMMON_CLK_MT2701_VDECSYS
|
|
bool "Clock driver for MediaTek MT2701 vdecsys"
|
|
depends on COMMON_CLK_MT2701
|
|
---help---
|
|
This driver supports MediaTek MT2701 vdecsys clocks.
|
|
|
|
config COMMON_CLK_MT2701_HIFSYS
|
|
bool "Clock driver for MediaTek MT2701 hifsys"
|
|
depends on COMMON_CLK_MT2701
|
|
---help---
|
|
This driver supports MediaTek MT2701 hifsys clocks.
|
|
|
|
config COMMON_CLK_MT2701_ETHSYS
|
|
bool "Clock driver for MediaTek MT2701 ethsys"
|
|
depends on COMMON_CLK_MT2701
|
|
---help---
|
|
This driver supports MediaTek MT2701 ethsys clocks.
|
|
|
|
config COMMON_CLK_MT2701_BDPSYS
|
|
bool "Clock driver for MediaTek MT2701 bdpsys"
|
|
depends on COMMON_CLK_MT2701
|
|
---help---
|
|
This driver supports MediaTek MT2701 bdpsys clocks.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
config COMMON_CLK_MT2712
|
|
bool "Clock driver for MediaTek MT2712"
|
|
depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
|
|
select COMMON_CLK_MEDIATEK
|
|
default ARCH_MEDIATEK && ARM64
|
|
---help---
|
|
This driver supports MediaTek MT2712 basic clocks.
|
|
|
|
config COMMON_CLK_MT2712_BDPSYS
|
|
bool "Clock driver for MediaTek MT2712 bdpsys"
|
|
depends on COMMON_CLK_MT2712
|
|
---help---
|
|
This driver supports MediaTek MT2712 bdpsys clocks.
|
|
|
|
config COMMON_CLK_MT2712_IMGSYS
|
|
bool "Clock driver for MediaTek MT2712 imgsys"
|
|
depends on COMMON_CLK_MT2712
|
|
---help---
|
|
This driver supports MediaTek MT2712 imgsys clocks.
|
|
|
|
config COMMON_CLK_MT2712_JPGDECSYS
|
|
bool "Clock driver for MediaTek MT2712 jpgdecsys"
|
|
depends on COMMON_CLK_MT2712
|
|
---help---
|
|
This driver supports MediaTek MT2712 jpgdecsys clocks.
|
|
|
|
config COMMON_CLK_MT2712_MFGCFG
|
|
bool "Clock driver for MediaTek MT2712 mfgcfg"
|
|
depends on COMMON_CLK_MT2712
|
|
---help---
|
|
This driver supports MediaTek MT2712 mfgcfg clocks.
|
|
|
|
config COMMON_CLK_MT2712_MMSYS
|
|
bool "Clock driver for MediaTek MT2712 mmsys"
|
|
depends on COMMON_CLK_MT2712
|
|
---help---
|
|
This driver supports MediaTek MT2712 mmsys clocks.
|
|
|
|
config COMMON_CLK_MT2712_VDECSYS
|
|
bool "Clock driver for MediaTek MT2712 vdecsys"
|
|
depends on COMMON_CLK_MT2712
|
|
---help---
|
|
This driver supports MediaTek MT2712 vdecsys clocks.
|
|
|
|
config COMMON_CLK_MT2712_VENCSYS
|
|
bool "Clock driver for MediaTek MT2712 vencsys"
|
|
depends on COMMON_CLK_MT2712
|
|
---help---
|
|
This driver supports MediaTek MT2712 vencsys clocks.
|
|
|
|
config COMMON_CLK_MT6797
|
|
bool "Clock driver for MediaTek MT6797"
|
|
depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
|
|
select COMMON_CLK_MEDIATEK
|
|
default ARCH_MEDIATEK && ARM64
|
|
---help---
|
|
This driver supports MediaTek MT6797 basic clocks.
|
|
|
|
config COMMON_CLK_MT6797_MMSYS
|
|
bool "Clock driver for MediaTek MT6797 mmsys"
|
|
depends on COMMON_CLK_MT6797
|
|
---help---
|
|
This driver supports MediaTek MT6797 mmsys clocks.
|
|
|
|
config COMMON_CLK_MT6797_IMGSYS
|
|
bool "Clock driver for MediaTek MT6797 imgsys"
|
|
depends on COMMON_CLK_MT6797
|
|
---help---
|
|
This driver supports MediaTek MT6797 imgsys clocks.
|
|
|
|
config COMMON_CLK_MT6797_VDECSYS
|
|
bool "Clock driver for MediaTek MT6797 vdecsys"
|
|
depends on COMMON_CLK_MT6797
|
|
---help---
|
|
This driver supports MediaTek MT6797 vdecsys clocks.
|
|
|
|
config COMMON_CLK_MT6797_VENCSYS
|
|
bool "Clock driver for MediaTek MT6797 vencsys"
|
|
depends on COMMON_CLK_MT6797
|
|
---help---
|
|
This driver supports MediaTek MT6797 vencsys clocks.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
config COMMON_CLK_MT8135
|
|
bool "Clock driver for MediaTek MT8135"
|
|
depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
|
|
select COMMON_CLK_MEDIATEK
|
|
default ARCH_MEDIATEK && ARM
|
|
---help---
|
|
This driver supports MediaTek MT8135 clocks.
|
|
|
|
config COMMON_CLK_MT8173
|
|
bool "Clock driver for MediaTek MT8173"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
select COMMON_CLK_MEDIATEK
|
|
default ARCH_MEDIATEK
|
|
---help---
|
|
This driver supports MediaTek MT8173 clocks.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
endmenu
|