Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-coresight-backports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-coresight-backports
  • Repository
Switch branch/tag
  • linux-coresight-backports
  • drivers
  • clk
  • rockchip
  • clk-pll.c
Find file BlameHistoryPermalink
  • Heiko Stübner's avatar
    clk: rockchip: add clock type for pll clocks and pll used on rk3066 · 90c59025
    Heiko Stübner authored Jul 03, 2014
    
    
    All known Rockchip SoCs down to the RK28xx (ARM9) use a similar pattern to
    handle their plls:
                           |--\
    xin32k ----------------|mux\
    xin24m -----| pll |----|pll|--- pll output
           \---------------|src/
                           |--/
    
    The pll output is sourced from 1 of 3 sources, the actual pll being one of
    them. To change the pll frequency it is imperative to remux it to another
    source beforehand. This is done by adding a clock-listener to the pll that
    handles the remuxing before and after the rate change.
    
    The output mux is implemented as a separate clock to make use of already
    existing common-clock features for disabling the pll if one of the other
    two sources is used.
    
    Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
    Acked-By: default avatarMax Schwarz <max.schwarz@online.de>
    Tested-By: default avatarMax Schwarz <max.schwarz@online.de>
    Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
    90c59025