Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux

Pull i2c documentation fix from Wolfram Sang:
"Here is a small documentation fix for I2C.

We already had a user who unsuccessfully tried to get the new slave
framework running with the currently broken example. So, before this
happens again, I'd like to have this how-to-use section fixed for 4.1
already. So that no more hacking time is wasted"

* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
i2c: slave: fix the example how to instantiate from userspace

+3 -3
+3 -3
Documentation/i2c/slave-interface
··· 31 31 =========== 32 32 33 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 35 - for instantiating the slave-eeprom driver from userspace: 34 + them as described in the document 'instantiating-devices'. A quick example for 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 39 Each backend should come with separate documentation to describe its specific 40 40 behaviour and setup.