dm: i2c: dts: Support an offset-len device tree property
authorSimon Glass <sjg@chromium.org>
Tue, 27 Jan 2015 03:29:37 +0000 (20:29 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:10:01 +0000 (17:10 -0700)
commit7132b9fd68a1c76bf557d56dd62756a6607cf761
tree01e328c5353ed266cf7b6e22efb7540116f13d64
parent189d80166b31db55b99190be3164c8d3348b57fc
dm: i2c: dts: Support an offset-len device tree property

Since U-Boot can support different offset lengths (0-4 bytes), add a device
tree property to specify this. This avoids hard-coding it in the driver.

Signed-off-by: Simon Glass <sjg@chromium.org>
doc/device-tree-bindings/i2c/i2c.txt [new file with mode: 0644]
drivers/i2c/i2c-uclass.c