mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-27 20:48:22 +00:00
(mds)
From: Aurelien Jarno <aurelien@aurel32.net> Hello, I have to use the pcf8574 chip with my I2C interface, however, the pcf8574 drivers in lm-sensors is a bit basic. It supposes the pin P1 is used as an input and the others pin as outputs. Attached is a patch which corrects that, providing to files in /proc interface, one for writting, the other for reading. It also modifies a bit the driver to support the pcf8574a (it is a pcf8574 with a different address range), and add a documentation file in doc/chips. The patch also includes some cosmetic changes in the pcf8591 driver I wrote previously, that is to say it modify the chip name in some places I had forgotten to change when I made a copy/paste from another driver. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1318 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
877bf15087
commit
0442f73da9
6 files changed
+161
-29
No files matched your search
+1
-1
@@ -162,7 +162,7 @@ ltc1710
|
||||
matorb
|
||||
Matrix Orbital LCD displays
|
||||
|
||||
pcf8574
|
||||
pcf8574 & pcf8574a
|
||||
Simple eight-bit parallel I/O
|
||||
|
||||
pcf8591
|
||||
|
||||
Reference in new issue
Block a user