[U-Boot] [PATCH 29/51] i2c: ihs_i2c: Make DM compatible

Mario Six mario.six at gdsys.cc
Tue Jul 25 07:50:42 UTC 2017


Hi Simon,

On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass <sjg at chromium.org> wrote:
> On 14 July 2017 at 05:55, Mario Six <mario.six at gdsys.cc> wrote:
>> Make the ihs_i2c driver DM-compatible; for legacy boards, the old functions are
>> retained within #ifdefs.
>>
>> No board uses the new DM driver yet; this patch only lays the foundation for
>> future support.
>>
>> Signed-off-by: Mario Six <mario.six at gdsys.cc>
>> ---
>>
>>  drivers/i2c/Kconfig          |   6 ++
>>  drivers/i2c/ihs_i2c.c        | 197 ++++++++++++++++++++++++++++++++++++++++++-
>>  scripts/config_whitelist.txt |   1 -
>>  3 files changed, 200 insertions(+), 4 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> This is a step forward. But I wonder whether this should have an FPGA
> driver with an I2C driver as its child?
>

That's the idea; the fpga uclass is added in a later patch.

Best regards,

Mario


More information about the U-Boot mailing list