commit | 0eba65d2013e5517e70cc9b3d467ba8183b54cd9 | [log] [tgz] |
---|---|---|
author | Chuanhua Han <chuanhua.han@nxp.com> | Wed Jul 10 21:00:20 2019 +0800 |
committer | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | Thu Aug 22 09:07:35 2019 +0530 |
tree | 3ef821bfef5ebc08e458eda17b3885e442ea133d | |
parent | bc475d0fde85ed524943d686b326f4dca8c5efcf [diff] |
boards: lx2160a: Add support of I2C driver model DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C API when DM_I2C is used. When DM_I2C_COMPAT is not enabled for compilation, a compilation error will be generated. This patch solves the problem that the i2c-related api of the lx2160a platform does not support dm. Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>