Skip to content

Commit a412ae3

Browse files
Darrick J. Wongtorvalds
authored andcommitted
ics932s401: new clock generator chip driver
The ics932s401 is a clock generator chip. This driver allows users to read the current clock outputs. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent c0b4e3a commit a412ae3

4 files changed

Lines changed: 557 additions & 0 deletions

File tree

‎Documentation/ics932s401‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Kernel driver ics932s401
2+
======================
3+
4+
Supported chips:
5+
* IDT ICS932S401
6+
Prefix: 'ics932s401'
7+
Addresses scanned: I2C 0x69
8+
Datasheet: Publically available at the IDT website
9+
10+
Author: Darrick J. Wong
11+
12+
Description
13+
-----------
14+
15+
This driver implements support for the IDT ICS932S401 chip family.
16+
17+
This chip has 4 clock outputs--a base clock for the CPU (which is likely
18+
multiplied to get the real CPU clock), a system clock, a PCI clock, a USB
19+
clock, and a reference clock. The driver reports selected and actual
20+
frequency. If spread spectrum mode is enabled, the driver also reports by what
21+
percent the clock signal is being spread, which should be between 0 and -0.5%.
22+
All frequencies are reported in KHz.
23+
24+
The ICS932S401 monitors all inputs continuously. The driver will not read
25+
the registers more often than once every other second.
26+
27+
Special Features
28+
----------------
29+
30+
The clocks could be reprogrammed to increase system speed. I will not help you
31+
do this, as you risk damaging your system!

‎drivers/misc/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,16 @@ config HP_WMI
227227
To compile this driver as a module, choose M here: the module will
228228
be called hp-wmi.
229229

230+
config ICS932S401
231+
tristate "Integrated Circuits ICS932S401"
232+
depends on I2C && EXPERIMENTAL
233+
help
234+
If you say yes here you get support for the Integrated Circuits
235+
ICS932S401 clock control chips.
236+
237+
This driver can also be built as a module. If so, the module
238+
will be called ics932s401.
239+
230240
config MSI_LAPTOP
231241
tristate "MSI Laptop Extras"
232242
depends on X86

‎drivers/misc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ obj-$(CONFIG_ATMEL_PWM) += atmel_pwm.o
1414
obj-$(CONFIG_ATMEL_SSC) += atmel-ssc.o
1515
obj-$(CONFIG_ATMEL_TCLIB) += atmel_tclib.o
1616
obj-$(CONFIG_HP_WMI) += hp-wmi.o
17+
obj-$(CONFIG_ICS932S401) += ics932s401.o
1718
obj-$(CONFIG_TC1100_WMI) += tc1100-wmi.o
1819
obj-$(CONFIG_LKDTM) += lkdtm.o
1920
obj-$(CONFIG_TIFM_CORE) += tifm_core.o

0 commit comments

Comments
 (0)