blob: b02002898a09cebd411dbed0c38ba7aeecb69919 [file] [log] [blame]
BGardner@Wabtec.comc3bc4ca2005-06-03 13:03:27 -04001Kernel driver max6875
2=====================
3
4Supported chips:
Jean Delvare089bd862005-06-23 23:37:53 +02005 * Maxim MAX6874, MAX6875
6 Prefix: 'max6875'
BGardner@Wabtec.comc3bc4ca2005-06-03 13:03:27 -04007 Addresses scanned: 0x50, 0x52
Jean Delvare089bd862005-06-23 23:37:53 +02008 Datasheet:
BGardner@Wabtec.comc3bc4ca2005-06-03 13:03:27 -04009 http://pdfserv.maxim-ic.com/en/ds/MAX6874-MAX6875.pdf
10
11Author: Ben Gardner <bgardner@wabtec.com>
12
13
14Module Parameters
15-----------------
16
17* allow_write int
18 Set to non-zero to enable write permission:
19 *0: Read only
20 1: Read and write
21
22
23Description
24-----------
25
Jean Delvare089bd862005-06-23 23:37:53 +020026The Maxim MAX6875 is an EEPROM-programmable power-supply sequencer/supervisor.
BGardner@Wabtec.comc3bc4ca2005-06-03 13:03:27 -040027It provides timed outputs that can be used as a watchdog, if properly wired.
28It also provides 512 bytes of user EEPROM.
29
Jean Delvare089bd862005-06-23 23:37:53 +020030At reset, the MAX6875 reads the configuration EEPROM into its configuration
BGardner@Wabtec.comc3bc4ca2005-06-03 13:03:27 -040031registers. The chip then begins to operate according to the values in the
32registers.
33
Jean Delvare089bd862005-06-23 23:37:53 +020034The Maxim MAX6874 is a similar, mostly compatible device, with more intputs
35and outputs:
36
37 vin gpi vout
38MAX6874 6 4 8
39MAX6875 4 3 5
40
41MAX6874 chips can have four different addresses (as opposed to only two for
42the MAX6875). The additional addresses (0x54 and 0x56) are not probed by
43this driver by default, but the probe module parameter can be used if
44needed.
45
BGardner@Wabtec.comc3bc4ca2005-06-03 13:03:27 -040046See the datasheet for details on how to program the EEPROM.
47
48
49Sysfs entries
50-------------
51
52eeprom_user - 512 bytes of user-defined EEPROM space. Only writable if
53 allow_write was set and register 0x43 is 0.
54
55eeprom_config - 70 bytes of config EEPROM. Note that changes will not get
56 loaded into register space until a power cycle or device reset.
57
58reg_config - 70 bytes of register space. Any changes take affect immediately.
59
60
61General Remarks
62---------------
63
64A typical application will require that the EEPROMs be programmed once and
65never altered afterwards.
66