Kconfig 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # SPDX-License-Identifier: GPL-2.0
  2. # common clock support for SOPHGO SoC family.
  3. config CLK_SOPHGO_CV1800
  4. tristate "Support for the Sophgo CV1800 series SoCs clock controller"
  5. depends on ARCH_SOPHGO || COMPILE_TEST
  6. help
  7. This driver supports clock controller of Sophgo CV18XX series SoC.
  8. The driver require a 25MHz Oscillator to function generate clock.
  9. It includes PLLs, common clock function and some vendor clock for
  10. IPs of CV18XX series SoC
  11. config CLK_SOPHGO_SG2042_PLL
  12. tristate "Sophgo SG2042 PLL clock support"
  13. depends on ARCH_SOPHGO || COMPILE_TEST
  14. help
  15. This driver supports the PLL clock controller on the
  16. Sophgo SG2042 SoC. This clock IP uses three oscillators with
  17. frequency of 25 MHz as input, which are used for Main/Fixed
  18. PLL, DDR PLL 0 and DDR PLL 1 respectively.
  19. config CLK_SOPHGO_SG2042_CLKGEN
  20. tristate "Sophgo SG2042 Clock Generator support"
  21. depends on CLK_SOPHGO_SG2042_PLL
  22. help
  23. This driver supports the Clock Generator on the
  24. Sophgo SG2042 SoC. This clock IP depends on SG2042 PLL clock
  25. because it uses PLL clocks as input.
  26. This driver provides clock function such as DIV/Mux/Gate.
  27. config CLK_SOPHGO_SG2042_RPGATE
  28. tristate "Sophgo SG2042 RP subsystem clock controller support"
  29. depends on CLK_SOPHGO_SG2042_CLKGEN
  30. help
  31. This driver supports the RP((Riscv Processors)) subsystem clock
  32. controller on the Sophgo SG2042 SoC.
  33. This clock IP depends on SG2042 Clock Generator because it uses
  34. clock from Clock Generator IP as input.
  35. This driver provides Gate function for RP.