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

2020-05-20 Thread Michael Walle
Hi Simon, Am 2020-05-19 18:47, schrieb Simon Glass: Hi Michael, On Tue, 19 May 2020 at 06:17, Michael Walle wrote: Hi Simon, Am 2020-04-24 16:17, schrieb Michael Walle: > Hi Simon, > > Am 2020-04-20 01:38, schrieb Simon Glass: > > [..snip..] > >>> > uclass 31: eth >>> > 0 * smsc95xx_eth

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

2020-05-19 Thread Simon Glass
Hi Michael, On Tue, 19 May 2020 at 06:17, Michael Walle wrote: > > Hi Simon, > > Am 2020-04-24 16:17, schrieb Michael Walle: > > Hi Simon, > > > > Am 2020-04-20 01:38, schrieb Simon Glass: > > > > [..snip..] > > > >>> > uclass 31: eth > >>> > 0 * smsc95xx_eth @ 3db69ac0, seq 0, (req -1) > >>>

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

2020-05-19 Thread Michael Walle
Hi Simon, Am 2020-04-24 16:17, schrieb Michael Walle: Hi Simon, Am 2020-04-20 01:38, schrieb Simon Glass: [..snip..] > uclass 31: eth > 0 * smsc95xx_eth @ 3db69ac0, seq 0, (req -1) Shouldn't this be "req 0" if the ethernet alias is actually matched. Does u-boot actually supports matching

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

2020-04-24 Thread Michael Walle
Hi Simon, Am 2020-04-20 01:38, schrieb Simon Glass: [..snip..] > uclass 31: eth > 0 * smsc95xx_eth @ 3db69ac0, seq 0, (req -1) Shouldn't this be "req 0" if the ethernet alias is actually matched. Does u-boot actually supports matching usb nodes to devices? If not, shouldn't the alias be

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

2020-04-19 Thread Simon Glass
Hi Michael, On Thu, 16 Apr 2020 at 04:50, Michael Walle wrote: > > Hi Simon, > > Am 2020-04-15 21:22, schrieb Simon Glass: > > Hi Michael, > > > > On Wed, 15 Apr 2020 at 09:22, Michael Walle wrote: > >> > >> Hi Simon, > >> > >> Am 2020-04-15 15:56, schrieb Simon Glass: > >> > +Tom > >> > > >> >

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

2020-04-16 Thread Michael Walle
Hi Simon, Am 2020-04-15 21:22, schrieb Simon Glass: Hi Michael, On Wed, 15 Apr 2020 at 09:22, Michael Walle wrote: Hi Simon, Am 2020-04-15 15:56, schrieb Simon Glass: > +Tom > > Hi, > > On Sat, 14 Mar 2020 at 14:33, wrote: >> >> On 03. 03. 20 8:47, Michael Walle wrote: >> > If there are

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

2020-04-15 Thread Simon Glass
Hi Michael, On Wed, 15 Apr 2020 at 09:22, Michael Walle wrote: > > Hi Simon, > > Am 2020-04-15 15:56, schrieb Simon Glass: > > +Tom > > > > Hi, > > > > On Sat, 14 Mar 2020 at 14:33, wrote: > >> > >> On 03. 03. 20 8:47, Michael Walle wrote: > >> > If there are aliases for an uclass, set the base

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

2020-04-15 Thread Michael Walle
Hi Simon, Am 2020-04-15 15:56, schrieb Simon Glass: +Tom Hi, On Sat, 14 Mar 2020 at 14:33, wrote: On 03. 03. 20 8:47, 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 v4] dm: uclass: don't assign aliased seq numbers

2020-04-15 Thread Simon Glass
+Tom Hi, On Sat, 14 Mar 2020 at 14:33, wrote: > > On 03. 03. 20 8:47, 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 >

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

2020-03-03 Thread Michal Simek
On 03. 03. 20 8:47, 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 there is only an alias

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

2020-03-02 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.