bcm-v4

[Specification

u16 Clock Control Fast Powerup Delay

  1. If chipcommon capabilities & 0x10000000 is not zero

    1. Disable interrupts
    2. Set delay to output of PMU Fast Powerup Delay

    3. Enable interrupts
    4. Return delay
  2. If chipcommon capabilities & 0x40000 is zero

    1. Return 0
  3. Set fast to false
  4. If bus type is PCI-E or (but type is PCI and PCI core revision >= 13)

    1. Set fast to true
  5. Set delay to 0
  6. If fast is false
    1. Save current core index
    2. Disable interrupts
    3. Make chipcommon core active
  7. Get minfreq from chipco_pctl_clockfreqlimit with argument 0 (This routine is in current ssb driver.)
  8. Read register 0x00B0 to get pll_on_delay
  9. Set delay to ((pll_on_delay + 2) * 1,000,000 + (minfreq - 1)) / minfreq
  10. If fast is false
    1. Restore original core
    2. Enable interrupts
  11. Return delay

Exported/Archived from the wiki to HTML on 2016-10-27