]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd846bc38060e5bcf968365b77ff191d1ea429cdd
tree623f03aee6dc0bbdaada27b4f2cab5e4a7fd87fd
parente22762430cb7ab0f543bb393d3de9ecd17d842a5
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