spi-sc18is602 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Kernel driver spi-sc18is602
  2. ===========================
  3. Supported chips:
  4. * NXP SI18IS602/602B/603
  5. Datasheet: http://www.nxp.com/documents/data_sheet/SC18IS602_602B_603.pdf
  6. Author:
  7. Guenter Roeck <linux@roeck-us.net>
  8. Description
  9. -----------
  10. This driver provides connects a NXP SC18IS602/603 I2C-bus to SPI bridge to the
  11. kernel's SPI core subsystem.
  12. The driver does not probe for supported chips, since the SI18IS602/603 does not
  13. support Chip ID registers. You will have to instantiate the devices explicitly.
  14. Please see Documentation/i2c/instantiating-devices for details.
  15. Usage Notes
  16. -----------
  17. This driver requires the I2C adapter driver to support raw I2C messages. I2C
  18. adapter drivers which can only handle the SMBus protocol are not supported.
  19. The maximum SPI message size supported by SC18IS602/603 is 200 bytes. Attempts
  20. to initiate longer transfers will fail with -EINVAL. EEPROM read operations and
  21. similar large accesses have to be split into multiple chunks of no more than
  22. 200 bytes per SPI message (128 bytes of data per message is recommended). This
  23. means that programs such as "cp" or "od", which automatically use large block
  24. sizes to access a device, can not be used directly to read data from EEPROM.
  25. Programs such as dd, where the block size can be specified, should be used
  26. instead.