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
  • clocksource
  • timer-msc313e.c
Find file BlameHistoryPermalink
  • Romain Perier's avatar
    clocksource/drivers/msc313e: Add support for ssd20xd-based platforms · e64da64f
    Romain Perier authored Dec 17, 2021
    
    
    On SSD20X family SoCs the timers are connected to a 432MHz clock instead
    of 12MHz that all the previous chips used. There is no way to reduce or
    divide these clocks in the clktree yet as we do not know exactly where
    the 432MHz clock comes from but it is enabled at boot.
    
    The SSD20X timers have an input clock divider within the timer itself
    to configure the frequency. timer0 is preconfigured at power up to run
    at 12MHz so it is backwards compatible and doesn't need special handling
    right now. timer1 and timer2 run at 432Mhz at power up so are not
    backward compatible.
    
    This commit adds support for the input clock divider register and sets
    timer1 and timer2 to run at 48Mhz for clockevents.
    
    Signed-off-by: default avatarRomain Perier <romain.perier@gmail.com>
    Link: https://lore.kernel.org/r/20211217195727.8955-3-romain.perier@gmail.com
    
    
    Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
    e64da64f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7