Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • opp
  • debugfs.c
Find file BlameHistoryPermalink
  • Viresh Kumar's avatar
    OPP: Allow multiple clocks for a device · 2083da24
    Viresh Kumar authored Jun 10, 2022
    
    
    This patch adds support to allow multiple clocks for a device.
    
    The design is pretty much similar to how this is done for regulators,
    and platforms can supply their own version of the config_clks() callback
    if they have multiple clocks for their device. The core manages the
    calls via opp_table->config_clks() eventually.
    
    We have kept both "clk" and "clks" fields in the OPP table structure and
    the reason is provided as a comment in _opp_set_clknames(). The same
    isn't done for "rates" though and we use rates[0] at most of the places
    now.
    
    Co-developed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
    Tested-by: default avatarJon Hunter <jonathanh@nvidia.com>
    Tested-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
    Tested-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    2083da24
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7