Skip to content
Snippets Groups Projects
  1. Mar 15, 2023
  2. Dec 05, 2022
  3. Jul 21, 2022
  4. May 04, 2022
  5. Mar 10, 2022
  6. Feb 11, 2022
  7. Dec 21, 2021
  8. Jun 16, 2021
  9. Mar 12, 2021
  10. Dec 28, 2020
  11. Nov 20, 2020
  12. Mar 31, 2020
  13. Feb 24, 2020
  14. Dec 11, 2019
  15. Oct 21, 2019
  16. Oct 17, 2018
  17. Sep 13, 2018
  18. Jul 21, 2018
  19. Apr 27, 2018
  20. Apr 22, 2015
  21. Apr 03, 2015
  22. Jan 28, 2015
  23. Feb 11, 2014
  24. Mar 25, 2013
  25. Mar 22, 2013
    • Stephen Boyd's avatar
      ARM: msm: Rework timer binding to be more general · eebdb0c1
      Stephen Boyd authored
      
      The msm timer binding I wrote is bad. First off, the clock
      frequency in the binding for the dgt is wrong. Software divides
      down the input rate by 4 to achieve the rate listed in the
      binding. We also treat each individual timer as a separate
      hardware component, when in reality there is one timer block
      (that may be duplicated per cpu) with multiple timers within it.
      Depending on the version of the hardware there can be one or two
      general purpose timers, status and divider control registers, and
      an entirely different register layout.
      
      In the next patch we'll need to know about the different register
      layouts so that we can properly check the status register after
      clearing the count. The current binding makes this complicated
      because the general purpose timer's reg property doesn't indicate
      where that status register is, and in fact it is beyond the size
      of the reg property.
      
      Clean all this up by just having one node for the timer hardware,
      and describe all the interrupts and clock frequencies supported
      while having one reg property that covers the entire timer
      register region. We'll use the compatible field in the future to
      determine different register layouts and if we should read the
      status registers, etc.
      
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
      eebdb0c1
  26. Sep 13, 2012
Loading