commit | 37c2c5e1441cc0b264dceb87ec2fd5905312ff1a | [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 | bfb9940a3faa68db366a882f81f474b6b5517650 [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>