i2c: add auto test i2c master and slave on axg skt.
authorXuhua Zhang <xuhua.zhang@amlogic.com>
Sat, 17 Jun 2017 11:38:28 +0000 (19:38 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 20 Jun 2017 07:26:38 +0000 (00:26 -0700)
commit3fd64633be01b85ce07bf0322f0a4dd764b6f048
tree8e04b1e37e6137eede145846ec6c657577518643
parentc924fd661a5a3212b76dcc9db63dc6405deb07d2
i2c: add auto test i2c master and slave on axg skt.

PD#142470: add i2c auto test on axg.

1. if uboot parm(i2c_auto_test) is "open",
   open the i2c auto test function.
2. before the test,we should connect i2c slave and master.

Change-Id: Ia37e080dc7995d31e46c9122b389be1ed21acc63
Signed-off-by: Xuhua Zhang <xuhua.zhang@amlogic.com>
arch/arm64/boot/dts/amlogic/mesonaxg.dtsi
arch/arm64/configs/meson64_defconfig
drivers/amlogic/i2c/aml_master.c
drivers/amlogic/i2c/aml_slave.c