commit | 355a127fe1adfc5e265331612e3be3cd8848233d | [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 | c4eceb5bb95f17d1041ac9c20b4ee77e82996f48 [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>