Skip to content

Commit

Permalink
ics932s401: new clock generator chip driver
Browse files Browse the repository at this point in the history
The ics932s401 is a clock generator chip.  This driver allows users to
read the current clock outputs.

Signed-off-by: Darrick J. Wong <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Darrick J. Wong authored and torvalds committed Nov 13, 2008
1 parent c0b4e3a commit a412ae3
Show file tree
Hide file tree
Showing 4 changed files with 557 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Documentation/ics932s401
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Kernel driver ics932s401
======================

Supported chips:
* IDT ICS932S401
Prefix: 'ics932s401'
Addresses scanned: I2C 0x69
Datasheet: Publically available at the IDT website

Author: Darrick J. Wong

Description
-----------

This driver implements support for the IDT ICS932S401 chip family.

This chip has 4 clock outputs--a base clock for the CPU (which is likely
multiplied to get the real CPU clock), a system clock, a PCI clock, a USB
clock, and a reference clock. The driver reports selected and actual
frequency. If spread spectrum mode is enabled, the driver also reports by what
percent the clock signal is being spread, which should be between 0 and -0.5%.
All frequencies are reported in KHz.

The ICS932S401 monitors all inputs continuously. The driver will not read
the registers more often than once every other second.

Special Features
----------------

The clocks could be reprogrammed to increase system speed. I will not help you
do this, as you risk damaging your system!
10 changes: 10 additions & 0 deletions drivers/misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,16 @@ config HP_WMI
To compile this driver as a module, choose M here: the module will
be called hp-wmi.

config ICS932S401
tristate "Integrated Circuits ICS932S401"
depends on I2C && EXPERIMENTAL
help
If you say yes here you get support for the Integrated Circuits
ICS932S401 clock control chips.

This driver can also be built as a module. If so, the module
will be called ics932s401.

config MSI_LAPTOP
tristate "MSI Laptop Extras"
depends on X86
Expand Down
1 change: 1 addition & 0 deletions drivers/misc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ obj-$(CONFIG_ATMEL_PWM) += atmel_pwm.o
obj-$(CONFIG_ATMEL_SSC) += atmel-ssc.o
obj-$(CONFIG_ATMEL_TCLIB) += atmel_tclib.o
obj-$(CONFIG_HP_WMI) += hp-wmi.o
obj-$(CONFIG_ICS932S401) += ics932s401.o
obj-$(CONFIG_TC1100_WMI) += tc1100-wmi.o
obj-$(CONFIG_LKDTM) += lkdtm.o
obj-$(CONFIG_TIFM_CORE) += tifm_core.o
Expand Down
Loading

0 comments on commit a412ae3

Please sign in to comment.