Re: [PATCH v2] dm: uclass: don't assign aliased seq numbers

2020-02-03 Thread Michal Simek
On 03. 02. 20 18:16, Michael Walle wrote: > Hi Simon, > > Am 2020-01-30 03:16, schrieb Simon Glass: >> Hi Michael, >> >> On Fri, 20 Dec 2019 at 06:29, Michael Walle wrote: >>> >>> If there are aliases for an uclass, set the base for the "dynamically" >>> allocated numbers next to the highest

Re: [PATCH v2] dm: uclass: don't assign aliased seq numbers

2020-02-03 Thread Michael Walle
Hi Simon, Am 2020-01-30 03:16, schrieb Simon Glass: Hi Michael, On Fri, 20 Dec 2019 at 06:29, Michael Walle wrote: If there are aliases for an uclass, set the base for the "dynamically" allocated numbers next to the highest alias. Please note, that this might lead to holes in the

Re: [PATCH v2] dm: uclass: don't assign aliased seq numbers

2020-02-02 Thread Simon Glass
Hi Michael, On Wed, 29 Jan 2020 at 19:16, Simon Glass wrote: > > Hi Michael, > > On Fri, 20 Dec 2019 at 06:29, Michael Walle wrote: > > > > If there are aliases for an uclass, set the base for the "dynamically" > > allocated numbers next to the highest alias. > > > > Please note, that this

Re: [PATCH v2] dm: uclass: don't assign aliased seq numbers

2020-01-29 Thread Simon Glass
Hi Michael, On Fri, 20 Dec 2019 at 06:29, Michael Walle wrote: > > If there are aliases for an uclass, set the base for the "dynamically" > allocated numbers next to the highest alias. > > Please note, that this might lead to holes in the sequences, depending > on the device tree. For example if

[PATCH v2] dm: uclass: don't assign aliased seq numbers

2019-12-20 Thread Michael Walle
If there are aliases for an uclass, set the base for the "dynamically" allocated numbers next to the highest alias. Please note, that this might lead to holes in the sequences, depending on the device tree. For example if there is only an alias "ethernet1", the next device seq number would be 2.