commit | 14a6ff2c4f22010e5d67f25508f09e3b53a1f1c4 | [log] [tgz] |
---|---|---|
author | mario.six@gdsys.cc <mario.six@gdsys.cc> | Thu Jul 21 11:57:10 2016 +0200 |
committer | Heiko Schocher <hs@denx.de> | Tue Jul 26 10:20:13 2016 +0200 |
tree | a7c787ce86307304796e715c2db8d07275bcfa8d | |
parent | f8a10ed1fd9986362a39f2b18d89429dfdb078cb [diff] |
i2c: mvtwsi: Add compatibility to DM This patch adds the necessary functions and Kconfig entry to make the MVTWSI I2C driver compatible with the driver model. A possible device tree entry might look like this: i2c@11100 { compatible = "marvell,mv64xxx-i2c"; reg = <0x11000 0x20>; clock-frequency = <100000>; u-boot,i2c-slave-addr = <0x0>; }; Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Stefan Roese <sr@denx.de>