Re: [PATCH v3 0/6] Add support for MSCC Ocelot i2c

From: Jarkko Nikula
Date: Tue Aug 07 2018 - 10:10:14 EST


On 08/06/2018 09:54 PM, Alexandre Belloni wrote:
Hello,

Because the designware IP was not able to handle the SDA hold time before
version 1.11a, MSCC has its own implementation. Add support for it and then add
i2c on ocelot boards.

I would expect patches 1 to 4 to go through the i2c tree and 5-6 through
the mips tree once patch 4 has been reviewed by the DT maintainers.

For the patches 1-4/6 that touch i2c-designware:

Tested-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>
Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>

I tested acpi_match_device() conversion to device_get_match_data() didn't affect MODEL_CHERRYTRAIL case and quick test that i2c communication continue working.