Ticket 1834 Update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> But 125 kHz is a bad default (and my math and datasheet show a default
> of 24 MHz / 256 = 93.75 kHz... Khali where did you get 125 kHz?)

>From the datasheet !

Power on default [7:0] = 0000,0001 b
Bit          Name             Read/Write                           Description
  7    PWM_CLK_SEL2          Read/Write     PWM 2 Input Clock Select. This bit select Fan 2 input
                                            clock to pre-scale divider.
                                            0: 1 MHz
                                            1: 125 KHz
6-0    PRE_SCALE2[6:0]       Read/Write     Fan 2 Input Clock Pre-Scale. The divider of input
                                            clock is the number defined by pre-scale. Thus, writing
                                            0 transfers the input clock directly to counter. The
                                            maximum divider is 128 (7Fh).
                                            01h : divider is 1
                                            02h : divider is 2
                                            03h : divider is 3

PWM frequency = (Input Clock / Pre-scale) / 256


Now it seems that I read it wrong, the default would be 1MHz not 125kHz.

Where do YOU get your 93.75 kHz from? :)

-- 
Jean Delvare
http://khali.linux-fr.org/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux