summaryrefslogtreecommitdiffstats
path: root/drivers/misc/eeprom/eeprom_93cx6.c
Commit message (Collapse)AuthorAgeFilesLines
* eeprom-93cx6: Add (read-only) support for 8-bit modeOndrej Zary2014-11-251-1/+61
| | | | | | | | | | Add read-only support for EEPROMs configured in 8-bit mode (ORG pin connected to GND). This will be used by wd719x driver. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
* eeprom_93cx6: Add write supportBen Dooks2011-11-261-0/+85
| | | | | | | | | | | Add support for writing data to EEPROM. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Cc: Wolfram Sang <w.sang@pengutronix.de> Cc: Jean Delvare <khali@linux-fr.org> Cc: Linux Kernel <linux-kernel@vger.kernel.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* eeprom_93cx6: Add data direction control.Ben Dooks2011-11-261-0/+3
| | | | | | | | | | | | | | | | Some devices need to know if the data is to be output or read, so add a data direction into the eeprom structure to tell the driver whether the data line should be driven. The user in this case is the Micrel KS8851 which has a direction control for the EEPROM data line and thus needs to know whether to drive it (writing) or to tristate it for receiving. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Cc: Wolfram Sang <w.sang@pengutronix.de> Cc: Jean Delvare <khali@linux-fr.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* EEPROM: 93cx6: Header file cleanupArce, Abraham2010-05-141-23/+16
| | | | | | | | Change eeprom_93cx6.c header file to format as in conventions Signed-off-by: Abraham Arce <x0066660@ti.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* eeprom: Move 93cx6 eeprom driver to /drivers/misc/eepromWolfram Sang2009-01-261-0/+240
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Jean Delvare <khali@linux-fr.org>