[U-Boot] [PATCH v1 00/19] DM_I2C_COMPAT removal for all ti platforms

Jean-Jacques Hiblot jjhiblot at ti.com
Fri Oct 5 16:45:18 UTC 2018



On 05/10/2018 13:59, Lokesh Vutla wrote:
> Hi JJ,
>
> On Thursday 04 October 2018 07:17 PM, Jean-Jacques Hiblot wrote:
>> This series remove the usage of the DM_I2C_COMPAT option for all the ti
>> platforms. It also takes this opportunity to not disable DM_I2C in 
>> the SPL.
>>
>> There are a couples of issues to fix:
>> - CMD_EEPROM does not support the DM API. Fixed by removing this option
>>    when DM_I2C is used without DM_I2C_COMPAT
>> - i2c_get_chip_for_busnum() does not work when OF_CONTROL is not used
>>    (as is the case with am33xx SPL).
>> - The I2C driver do not support DM_I2C without OF_CONTROL.
>> - Most of the PMIC drivers do not support the I2C DM API.
>> - Board detection is done prior DM initialization. Fixed by moving it 
>> after
>>    DM is initialized. That move breaks the DRA7 platforms (The fixes for
>>    that are at the last 5 patches this series)
>>
>> When all this is taken care of DM_I2C_COMPAT can be removed and DM_I2C
>> enabled in the SPL.
>>
>> This has been tested with the following boards:
>> - am437x SK
>> - am335x SK
>> - am335x beaglebone (both DM and non-DM config)
>> - dra76 evm
>> - am572 evm
>> - k2g evm
>
> I triggered a Travis-CI buid[1] for this series and there are 2 build 
> failures. Can you check?
Should be fixed in the v2. It passes buildman on my machine, but we may 
not have the same default compiler flags.
Thanks,
JJ
>
> [1] https://travis-ci.org/lokeshvutla/u-boot/builds/437487725
>
> Thanks and regards,
> Lokesh
>



More information about the U-Boot mailing list