An error occurred fetching the project authors.
  1. 03 Oct, 2022 1 commit
  2. 21 May, 2022 1 commit
  3. 23 Apr, 2022 1 commit
  4. 18 Mar, 2022 1 commit
  5. 15 Mar, 2022 1 commit
  6. 12 Mar, 2022 4 commits
  7. 25 Feb, 2022 1 commit
  8. 25 Jan, 2022 2 commits
  9. 06 Jan, 2022 2 commits
  10. 16 Dec, 2021 2 commits
  11. 08 Dec, 2021 1 commit
  12. 12 Aug, 2021 1 commit
  13. 29 Jun, 2021 1 commit
  14. 28 Jun, 2021 3 commits
  15. 08 Jun, 2021 1 commit
  16. 13 Apr, 2021 1 commit
    • Sergio Paracuellos's avatar
      clk: ralink: add clock driver for mt7621 SoC · 48df7a26
      Sergio Paracuellos authored
      The documentation for this SOC only talks about two
      registers regarding to the clocks:
      * SYSC_REG_CPLL_CLKCFG0 - provides some information about
      boostrapped refclock. PLL and dividers used for CPU and some
      sort of BUS.
      * SYSC_REG_CPLL_CLKCFG1 - a banch of gates to enable/disable
      clocks for all or some ip cores.
      
      Looking into driver code, and some openWRT patched there are
      another frequencies which are used in some drivers (uart, sd...).
      According to all of this information the clock plan for this
      SoC is set as follows:
      - Main top clock "xtal" from where all the rest of the world is
      derived.
      - CPU clock "cpu" derived from "xtal" frequencies and a bunch of
      register reads and predividers.
      - BUS clock "bus" derived from "cpu" and with (cpu / 4) MHz.
      - Fixed clocks from "xtal":
          * "50m": 50 MHz.
          * "125m": 125 MHz.
          * "150m": 150 MHz.
          * "250m": 250 MHz.
          * "270m": 270 MHz.
      
      We also have a buch of gate clocks with their parents:
        * "hsdma": "150m"
        * "fe": "250m"
        * "sp_divtx": "270m"
        * "timer": "50m"
        * "pcm": "270m"
        * "pio": "50m"
        * "gdma": "bus"
        * "nand": "125m"
        * "i2c": "50m"
        * "i2s": "270m"
        * "spi": "bus"
        * "uart1": "50m"
        * "uart2": "50m"
        * "uart3": "50m"
        * "eth": "50m"
        * "pcie0": "125m"
        * "pcie1": "125m"
        * "pcie2": "125m"
        * "crypto": "250m"
        * "shxc": "50m"
      
      With this information the clk driver will provide clock and gates
      functionality from a a set of hardcoded clocks allowing to define
      a nice device tree without fixed clocks.
      Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
      Link: https://lore.kernel.org/r/20210410055059.13518-2-sergio.paracuellos@gmail.comSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      48df7a26
  17. 23 Mar, 2021 1 commit
    • Krzysztof Kozlowski's avatar
      clk: socfpga: allow building N5X clocks with ARCH_N5X · 3b218baa
      Krzysztof Kozlowski authored
      The Intel's eASIC N5X (ARCH_N5X) architecture shares a lot with Agilex
      (ARCH_AGILEX) so it uses the same socfpga_agilex.dtsi, with minor
      changes.  Also the clock drivers are the same.
      
      However the clock drivers won't be build without ARCH_AGILEX.  One could
      assume that ARCH_N5X simply depends on ARCH_AGILEX but this was not
      modeled in Kconfig.  In current stage the ARCH_N5X is simply
      unbootable.
      
      Add a separate Kconfig entry for clocks used by both ARCH_N5X and
      ARCH_AGILEX so the necessary objects will be built if either of them is
      selected.
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
      3b218baa
  18. 23 Feb, 2021 1 commit
    • Damien Le Moal's avatar
      clk: Add RISC-V Canaan Kendryte K210 clock driver · c6ca7616
      Damien Le Moal authored
      Add a clock provider driver for the Canaan Kendryte K210 RISC-V SoC.
      This new driver with the compatible string "canaan,k210-clk" implements
      support for the full clock structure of the K210 SoC. Since it is
      required for the correct operation of the SoC, this driver is
      selected by default for compilation when the SOC_CANAAN option is
      selected.
      
      With this change, the k210-sysctl driver is turned into a simple
      platform driver which enables its power bus clock and triggers
      populating its child nodes. The sysctl driver retains the SOC early
      initialization code, but the implementation now relies on the new
      function k210_clk_early_init() provided by the new clk-k210 driver.
      
      The clock structure implemented and many of the coding ideas for the
      driver come from the work by Sean Anderson on the K210 support for the
      U-Boot project.
      
      Cc: Stephen Boyd <sboyd@kernel.org>
      Cc: Michael Turquette <mturquette@baylibre.com>
      Cc: linux-clk@vger.kernel.org
      Signed-off-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
      Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      c6ca7616
  19. 14 Feb, 2021 1 commit
  20. 09 Feb, 2021 2 commits
  21. 08 Dec, 2020 1 commit
  22. 07 Dec, 2020 1 commit
  23. 14 Oct, 2020 1 commit
  24. 22 Sep, 2020 1 commit
  25. 03 Aug, 2020 1 commit
  26. 11 Jul, 2020 2 commits
  27. 13 Jun, 2020 1 commit
    • Masahiro Yamada's avatar
      treewide: replace '---help---' in Kconfig files with 'help' · a7f7f624
      Masahiro Yamada authored
      Since commit 84af7a61 ("checkpatch: kconfig: prefer 'help' over
      '---help---'"), the number of '---help---' has been gradually
      decreasing, but there are still more than 2400 instances.
      
      This commit finishes the conversion. While I touched the lines,
      I also fixed the indentation.
      
      There are a variety of indentation styles found.
      
        a) 4 spaces + '---help---'
        b) 7 spaces + '---help---'
        c) 8 spaces + '---help---'
        d) 1 space + 1 tab + '---help---'
        e) 1 tab + '---help---'    (correct indentation)
        f) 1 tab + 1 space + '---help---'
        g) 1 tab + 2 spaces + '---help---'
      
      In order to convert all of them to 1 tab + 'help', I ran the
      following commend:
      
        $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      a7f7f624
  28. 30 May, 2020 1 commit
    • Serge Semin's avatar
      clk: Add Baikal-T1 CCU PLLs driver · b7d950b9
      Serge Semin authored
      Baikal-T1 is supposed to be supplied with a high-frequency external
      oscillator. But in order to create signals suitable for each IP-block
      embedded into the SoC the oscillator output is primarily connected to
      a set of CCU PLLs. There are five of them to create clocks for the MIPS
      P5600 cores, an embedded DDR controller, SATA, Ethernet and PCIe domains.
      The last three domains though named by the biggest system interfaces in
      fact include nearly all of the rest SoC peripherals. Each of the PLLs is
      based on True Circuits TSMC CLN28HPM IP-core with an interface wrapper
      (so called safe PLL' clocks switcher) to simplify the PLL configuration
      procedure.
      
      This driver creates the of-based hardware clocks to use them then in
      the corresponding subsystems. In order to simplify the driver code we
      split the functionality up into the PLLs clocks operations and hardware
      clocks declaration/registration procedures.
      
      Even though the PLLs are based on the same IP-core, they may have some
      differences. In particular, some CCU PLLs support the output clock change
      without gating them (like CPU or PCIe PLLs), while the others don't, some
      CCU PLLs are critical and aren't supposed to be gated. In order to cover
      all of these cases the hardware clocks driver is designed with an
      info-descriptor pattern. So there are special static descriptors declared
      for each PLL, which is then used to create a hardware clock with proper
      operations. Additionally debugfs-files are provided for each PLL' field
      to make sure the implemented rate-PLLs-dividers calculation algorithm is
      correct.
      Signed-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
      Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: linux-mips@vger.kernel.org
      Cc: devicetree@vger.kernel.org
      Link: https://lore.kernel.org/r/20200526222056.18072-4-Sergey.Semin@baikalelectronics.ru
      [sboyd@kernel.org: Silence sparse warning about initializing structs
      with NULL vs. integer]
      Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
      b7d950b9
  29. 28 May, 2020 1 commit
  30. 27 May, 2020 1 commit