i2c: fsl: Add option to get clock from DT
authorMario Six <mario.six@gdsys.cc>
Wed, 28 Mar 2018 12:37:44 +0000 (14:37 +0200)
committerHeiko Schocher <hs@denx.de>
Wed, 11 Apr 2018 09:34:55 +0000 (11:34 +0200)
commite5c762f5a7dbeaa21870720e8daf656153e1aef9
treec9ce927f32314c99d660a720ed99ada67a12ec57
parentd934832de6e62ca21c99a4fbad808175801f4018
i2c: fsl: Add option to get clock from DT

Add an option to get the clock speed from the device tree, hence adding
compatibility with DM clock drivers.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
drivers/i2c/fsl_i2c.c