diff options
| -rw-r--r-- | Documentation/i2c/slave-interface | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/i2c/slave-interface b/Documentation/i2c/slave-interface index 389bb5d61854..b228ca54bcf4 100644 --- a/Documentation/i2c/slave-interface +++ b/Documentation/i2c/slave-interface | |||
| @@ -31,10 +31,10 @@ User manual | |||
| 31 | =========== | 31 | =========== |
| 32 | 32 | ||
| 33 | I2C slave backends behave like standard I2C clients. So, you can instantiate | 33 | I2C slave backends behave like standard I2C clients. So, you can instantiate |
| 34 | them like described in the document 'instantiating-devices'. A quick example | 34 | them as described in the document 'instantiating-devices'. A quick example for |
| 35 | for instantiating the slave-eeprom driver from userspace: | 35 | instantiating the slave-eeprom driver from userspace at address 0x64 on bus 1: |
| 36 | 36 | ||
| 37 | # echo 0-0064 > /sys/bus/i2c/drivers/i2c-slave-eeprom/bind | 37 | # echo slave-24c02 0x64 > /sys/bus/i2c/devices/i2c-1/new_device |
| 38 | 38 | ||
| 39 | Each backend should come with separate documentation to describe its specific | 39 | Each backend should come with separate documentation to describe its specific |
| 40 | behaviour and setup. | 40 | behaviour and setup. |
