]> git.baikalelectronics.ru Git - kernel.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)
commite6e675c318c5f71ae30b35f6237a1b6a5cc77a31
treec6c9fcbaaf6a8e0b2a17f2a4abfdb6f3f27679be
parent3743deb7302ae2b75e7c2f4174d99025d45c7609
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