dt-bindings: at24: add the 'num-addresses' property
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 5 Feb 2019 13:03:44 +0000 (14:03 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 14 Feb 2019 08:32:25 +0000 (09:32 +0100)
commite7224a116f0dac593233143849f25bc095f8d2cc
tree57a6f5107c886aeccddd8fa110958d0c0a9e1ac4
parent4fa882c9f628b312d697cfcefaa6e973ce8ece3e
dt-bindings: at24: add the 'num-addresses' property

Currently the at24 driver only creates additional i2c dummies for
atmel,24c00 and it's hard-coded. Some other chips (like for example
Microchip's 24AA02T) also take more slave addresses despite being
otherwise compatible with already supported variants.

Add a new property to the device tree binding document that defines
the total number of i2c slave addresses taken by the device. The
addresses are counted starting from the one in the reg property.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Documentation/devicetree/bindings/eeprom/at24.txt