]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: meson: use i2c core for DT clock-frequency parsing
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 25 Mar 2017 13:06:35 +0000 (14:06 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 30 Mar 2017 15:30:47 +0000 (17:30 +0200)
commit39b2ca68537aaf013ad192eb1c9e6b88e267d257
treec6c9fcbaaf6a8e0b2a17f2a4abfdb6f3f27679be
parent09af1c2fa490169c40cbd153c5b83b5a70a0ec4b
i2c: meson: use i2c core for DT clock-frequency parsing

We don't have to parse the DT manually to retrieve the bus frequency
and we don't have to maintain an own default for the bus frequency.
Let the i2c core do this for us.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-meson.txt
drivers/i2c/busses/i2c-meson.c