Re: [U-Boot] [RESEND PATCH v3 03/19] dm: device: Allow using uclass_find_device_by_seq() without OF_CONTROL

2018-12-09 Thread Heiko Schocher
Hello Jean-Jacques, Am 07.12.2018 um 14:50 schrieb Jean-Jacques Hiblot: If OF_CONTROL is not enabled and DM_SEQ_ALIAS is enabled, we must assign an alias (requested sequence number) to devices that belongs to a class with the DM_UC_FLAG_SEQ_ALIAS flag. Otherwise uclass_find_device_by_seq() canno

[U-Boot] [RESEND PATCH v3 03/19] dm: device: Allow using uclass_find_device_by_seq() without OF_CONTROL

2018-12-07 Thread Jean-Jacques Hiblot
If OF_CONTROL is not enabled and DM_SEQ_ALIAS is enabled, we must assign an alias (requested sequence number) to devices that belongs to a class with the DM_UC_FLAG_SEQ_ALIAS flag. Otherwise uclass_find_device_by_seq() cannot be used to get/probe a device. In particular i2c_get_chip_for_busnum() ca