ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C
authorLudwig Zenz <lzenz@dh-electronics.com>
Mon, 8 Jul 2019 13:04:58 +0000 (15:04 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 19 Jul 2019 18:32:24 +0000 (20:32 +0200)
commit4a6f5b4f56b8bc6f36736fc0a07c5c4f9069e69b
tree1a7a6905926630002f520d289103ca872e1b9323
parent86e59530be5b0a87641d3bd76959a55b99028bc2
ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

This patch enables DM I2C for DHCOM i.MX6 PDK2 boards and
removes non DM I2C code. The I2C EEPROM with ethaddr (MAC)
is defined in the device tree. Use UCLASS_I2C_EEPROM
to find the device by fixed hardware path and read the ethaddr.

Tested with DHCOM i.MX6dl and DHCOM i.MX6q.

Signed-off-by: Ludwig Zenz <lzenz@dh-electronics.com>
Reviewed-by: Marek Vasut <marex@denx.de>
board/dhelectronics/dh_imx6/dh_imx6.c
configs/dh_imx6_defconfig
include/configs/dh_imx6.h