OSDN Git Service

i2c: meson: add configurable divider factors
authorJian Hu <jian.hu@amlogic.com>
Mon, 20 Nov 2017 14:54:12 +0000 (22:54 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 24 Jan 2018 06:24:55 +0000 (07:24 +0100)
commit931b18e92cd035353644fcefa3626a65c74fa799
treeca611f48d27925181b971c28c82c84d84c052871
parentf13ebc4fbcc7a25fd3ab0cac529ee02c1db4fc7c
i2c: meson: add configurable divider factors

This patch try to 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.

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-meson.c