Commit 0283fe6c authored by bgardner@wabtec.com's avatar bgardner@wabtec.com Committed by Greg Kroah-Hartman

[PATCH] I2C: max6875 documentation cleanup

Fix a spelling error and change a sysfs name.
Signed-off-by: default avatarBen Gardner <bgardner@wabtec.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a61fc683
...@@ -49,14 +49,14 @@ $ modprobe max6875 force=0,0x50 ...@@ -49,14 +49,14 @@ $ modprobe max6875 force=0,0x50
The MAX6874/MAX6875 ignores address bit 0, so this driver attaches to multiple The MAX6874/MAX6875 ignores address bit 0, so this driver attaches to multiple
addresses. For example, for address 0x50, it also reserves 0x51. addresses. For example, for address 0x50, it also reserves 0x51.
The even-address instance is called 'max6875', the odd one is 'max6875-dummy'. The even-address instance is called 'max6875', the odd one is 'max6875 subclient'.
Programming the chip using i2c-dev Programming the chip using i2c-dev
---------------------------------- ----------------------------------
Use the i2c-dev interface to access and program the chips. Use the i2c-dev interface to access and program the chips.
Reads and write are performed differently depending on the address range. Reads and writes are performed differently depending on the address range.
The configuration registers are at addresses 0x00 - 0x45. The configuration registers are at addresses 0x00 - 0x45.
Use i2c_smbus_write_byte_data() to write a register and Use i2c_smbus_write_byte_data() to write a register and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment