i2c: meson: add configurable divider factors
authorGuillaume La Roque <glaroque@baylibre.com>
Fri, 22 Mar 2019 13:49:32 +0000 (14:49 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 10 Apr 2019 14:50:02 +0000 (16:50 +0200)
commitd82dcc45277ec6cc3f52f0f11bc3b61d47d540ed
tree2fb38400e0d76766fd2f8f0f8c484b754d86ddb2
parentf41d723b9fa59d6fac27f51254742dfbf2d7eea0
i2c: meson: add configurable divider factors

This patch add support for I2C controller in Meson-AXG SoC,
Due to the IP changes between I2C controller, we need to introduce
a compatible data to make the divider factor configurable.

backport from linux:
931b18e92cd0 ("2c: meson: add configurable divider factors")

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/i2c/meson_i2c.c