Skip to content
Snippets Groups Projects
  • Bin Meng's avatar
    f5757154
    x86: tsc: Correct Silvermont reference clock values · f5757154
    Bin Meng authored
    
    Atom processors use a 19.2 MHz crystal oscillator.
    
    Early processors generate 100 MHz via 19.2 MHz * 26 / 5 = 99.84 MHz.
    
    Later processors generate 100 MHz via 19.2 MHz * 125 / 24 = 100 MHz.
    
    Update the Silvermont-based tables accordingly, matching the Software
    Developers Manual.
    
    Also, correct a 166 MHz entry that should have been 116 MHz, and add
    a missing 80 MHz entry for VLV2.
    
    This keeps in sync with Linux kernel commit:
      05680e7: x86/tsc_msr: Correct Silvermont reference clock values
    
    Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
    Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
    f5757154
    History
    x86: tsc: Correct Silvermont reference clock values
    Bin Meng authored
    
    Atom processors use a 19.2 MHz crystal oscillator.
    
    Early processors generate 100 MHz via 19.2 MHz * 26 / 5 = 99.84 MHz.
    
    Later processors generate 100 MHz via 19.2 MHz * 125 / 24 = 100 MHz.
    
    Update the Silvermont-based tables accordingly, matching the Software
    Developers Manual.
    
    Also, correct a 166 MHz entry that should have been 116 MHz, and add
    a missing 80 MHz entry for VLV2.
    
    This keeps in sync with Linux kernel commit:
      05680e7: x86/tsc_msr: Correct Silvermont reference clock values
    
    Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
    Reviewed-by: default avatarSimon Glass <sjg@chromium.org>