UPSTREAM: i2c: add generic routine to parse DT for timing information
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 8 Dec 2015 09:37:46 +0000 (10:37 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 3 Feb 2016 03:12:00 +0000 (11:12 +0800)
commit70ce99ebf8d48cbf9ee2b789e3037636ac911341
tree2ab369a5eae9a2920642601e103147d39445e8ea
parent73d27be72f6857e54897bc82a610c4652cfcd679
UPSTREAM: i2c: add generic routine to parse DT for timing information

Inspired from the i2c-rk3x driver (thanks guys!) but refactored and
extended. See built-in docs for further information.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
(cherry picked from commit e1dba01ca620bb0b3864d5237c1c597d9e012ebf)

Change-Id: I491e8e51529d2aad1bbeed706a617ccf39ef3205
drivers/i2c/i2c-core.c
include/linux/i2c.h