i2c: support 10 bit and slave addresses in sysfs 'new_device'
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 27 Jul 2015 12:03:38 +0000 (14:03 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 24 Aug 2015 12:05:15 +0000 (14:05 +0200)
commitcfa0327b0d03091e0c47249c080e50e287be762d
tree623f03aee6dc0bbdaada27b4f2cab5e4a7fd87fd
parent9bccc70a127cfe2a13e34d6b6e7300caae113f8f
i2c: support 10 bit and slave addresses in sysfs 'new_device'

We now have seperate address spaces for 10 bit and we-are-slave clients.
Update the sysfs device instantiation method to support these types by
accepting the address offsets that are assigned to the extra address
spaces. Update the documentation, too.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/i2c/slave-interface
Documentation/i2c/ten-bit-addresses
drivers/i2c/i2c-core.c