commit | da899f55b359225f85e154765baaddb13ec436ca | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Mon May 18 21:09:12 2015 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Aug 24 14:05:11 2015 +0200 |
tree | 00d1db2a93b72e740a30d4127c6170ce6d1e829f | |
parent | c5ebb387f4e6b2dd7c74d71caf7b696834d0c887 [diff] |
i2c: apply address offset for slaves, too We want a separate address range for being an I2C slave. Add an offset of 0x1000, so it can be combined with ten bit addresses as well. Add a separate function to create the address value, we will need it later in other places. Tested-by: Andrey Danin <danindrey@mail.ru> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>