Re: [RFC] dm: uclass: add functions to get device by platdata

2020-05-08 Thread Simon Glass
Hi Walter, On Fri, 8 May 2020 at 04:08, Walter Lozano wrote: > > Hi Simon, > > On 7/5/20 22:36, Simon Glass wrote: > > Hi Walter, > > > > On Wed, 6 May 2020 at 06:57, Walter Lozano > > wrote: > >> Hi Simon, > >> > >> On 23/4/20 00:38, Walter Lozano wrote: > >>> Hi Simon, > >>> > >>> On 21/4/20

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-05-08 Thread Walter Lozano
Hi Simon, On 7/5/20 22:36, Simon Glass wrote: Hi Walter, On Wed, 6 May 2020 at 06:57, Walter Lozano wrote: Hi Simon, On 23/4/20 00:38, Walter Lozano wrote: Hi Simon, On 21/4/20 14:36, Simon Glass wrote: Hi Walter, On Fri, 17 Apr 2020 at 15:18, Walter Lozano wrote: Hi Simon, On 9/4/20

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-05-07 Thread Simon Glass
Hi Walter, On Wed, 6 May 2020 at 06:57, Walter Lozano wrote: > > Hi Simon, > > On 23/4/20 00:38, Walter Lozano wrote: > > Hi Simon, > > > > On 21/4/20 14:36, Simon Glass wrote: > >> Hi Walter, > >> > >> On Fri, 17 Apr 2020 at 15:18, Walter Lozano > >> wrote: > >>> Hi Simon, > >>> > >>> On

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-05-06 Thread Walter Lozano
Hi Simon, On 23/4/20 00:38, Walter Lozano wrote: Hi Simon, On 21/4/20 14:36, Simon Glass wrote: Hi Walter, On Fri, 17 Apr 2020 at 15:18, Walter Lozano wrote: Hi Simon, On 9/4/20 16:36, Simon Glass wrote: HI Walter, On Thu, 9 Apr 2020 at 12:57, Walter Lozano wrote: Hi Simon, On

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-04-22 Thread Walter Lozano
Hi Simon, On 21/4/20 14:36, Simon Glass wrote: Hi Walter, On Fri, 17 Apr 2020 at 15:18, Walter Lozano wrote: Hi Simon, On 9/4/20 16:36, Simon Glass wrote: HI Walter, On Thu, 9 Apr 2020 at 12:57, Walter Lozano wrote: Hi Simon, On 8/4/20 00:14, Simon Glass wrote: Hi Walter, On Tue, 7

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-04-21 Thread Simon Glass
Hi Walter, On Fri, 17 Apr 2020 at 15:18, Walter Lozano wrote: > > Hi Simon, > > On 9/4/20 16:36, Simon Glass wrote: > > HI Walter, > > > > On Thu, 9 Apr 2020 at 12:57, Walter Lozano > > wrote: > >> Hi Simon, > >> > >> On 8/4/20 00:14, Simon Glass wrote: > >>> Hi Walter, > >>> > >>> On Tue, 7

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-04-17 Thread Walter Lozano
Hi Simon, On 9/4/20 16:36, Simon Glass wrote: HI Walter, On Thu, 9 Apr 2020 at 12:57, Walter Lozano wrote: Hi Simon, On 8/4/20 00:14, Simon Glass wrote: Hi Walter, On Tue, 7 Apr 2020 at 14:05, Walter Lozano wrote: Hi Simon, On 6/4/20 00:43, Simon Glass wrote: Hi Walter, On Mon, 9 Mar

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-04-09 Thread Walter Lozano
On 9/4/20 16:36, Simon Glass wrote: HI Walter, On Thu, 9 Apr 2020 at 12:57, Walter Lozano wrote: Hi Simon, On 8/4/20 00:14, Simon Glass wrote: Hi Walter, On Tue, 7 Apr 2020 at 14:05, Walter Lozano wrote: Hi Simon, On 6/4/20 00:43, Simon Glass wrote: Hi Walter, On Mon, 9 Mar 2020 at

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-04-09 Thread Simon Glass
HI Walter, On Thu, 9 Apr 2020 at 12:57, Walter Lozano wrote: > > Hi Simon, > > On 8/4/20 00:14, Simon Glass wrote: > > Hi Walter, > > > > On Tue, 7 Apr 2020 at 14:05, Walter Lozano > > wrote: > >> Hi Simon, > >> > >> On 6/4/20 00:43, Simon Glass wrote: > >>> Hi Walter, > >>> > >>> On Mon, 9

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-04-09 Thread Walter Lozano
Hi Simon, On 8/4/20 00:14, Simon Glass wrote: Hi Walter, On Tue, 7 Apr 2020 at 14:05, Walter Lozano wrote: Hi Simon, On 6/4/20 00:43, Simon Glass wrote: Hi Walter, On Mon, 9 Mar 2020 at 12:27, Walter Lozano wrote: Hi Simon On 6/3/20 17:32, Simon Glass wrote: Hi Walter, On Fri, 6 Mar

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-04-07 Thread Simon Glass
Hi Walter, On Tue, 7 Apr 2020 at 14:05, Walter Lozano wrote: > > Hi Simon, > > On 6/4/20 00:43, Simon Glass wrote: > > Hi Walter, > > > > On Mon, 9 Mar 2020 at 12:27, Walter Lozano > > wrote: > >> Hi Simon > >> > >> On 6/3/20 17:32, Simon Glass wrote: > >>> Hi Walter, > >>> > >>> On Fri, 6 Mar

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-04-07 Thread Walter Lozano
Hi Simon, On 6/4/20 00:43, Simon Glass wrote: Hi Walter, On Mon, 9 Mar 2020 at 12:27, Walter Lozano wrote: Hi Simon On 6/3/20 17:32, Simon Glass wrote: Hi Walter, On Fri, 6 Mar 2020 at 09:10, Walter Lozano wrote: Hi Simon, Thanks again for taking the time to check my comments. On

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-04-05 Thread Simon Glass
Hi Walter, On Mon, 9 Mar 2020 at 12:27, Walter Lozano wrote: > > Hi Simon > > On 6/3/20 17:32, Simon Glass wrote: > > Hi Walter, > > > > On Fri, 6 Mar 2020 at 09:10, Walter Lozano > > wrote: > >> Hi Simon, > >> > >> Thanks again for taking the time to check my comments. > >> > >> On 6/3/20

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-03-09 Thread Walter Lozano
Hi Simon On 6/3/20 17:32, Simon Glass wrote: Hi Walter, On Fri, 6 Mar 2020 at 09:10, Walter Lozano wrote: Hi Simon, Thanks again for taking the time to check my comments. On 6/3/20 10:17, Simon Glass wrote: Hi Walter, On Thu, 5 Mar 2020 at 06:54, Walter Lozano wrote: Hi Simon, Thanks

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-03-06 Thread Simon Glass
Hi Walter, On Fri, 6 Mar 2020 at 09:10, Walter Lozano wrote: > > Hi Simon, > > Thanks again for taking the time to check my comments. > > On 6/3/20 10:17, Simon Glass wrote: > > Hi Walter, > > > > On Thu, 5 Mar 2020 at 06:54, Walter Lozano > > wrote: > >> Hi Simon, > >> > >> Thanks for taking

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-03-06 Thread Walter Lozano
Hi Simon, Thanks again for taking the time to check my comments. On 6/3/20 10:17, Simon Glass wrote: Hi Walter, On Thu, 5 Mar 2020 at 06:54, Walter Lozano wrote: Hi Simon, Thanks for taking the time to check for my comments On 4/3/20 20:11, Simon Glass wrote: Hi Walter, On Wed, 4 Mar

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-03-06 Thread Simon Glass
Hi Walter, On Thu, 5 Mar 2020 at 06:54, Walter Lozano wrote: > > Hi Simon, > > Thanks for taking the time to check for my comments > > On 4/3/20 20:11, Simon Glass wrote: > > > Hi Walter, > > > > On Wed, 4 Mar 2020 at 12:40, Walter Lozano > > wrote: > >> When OF_PLATDATA is enabled DT

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-03-05 Thread Walter Lozano
Hi Simon, On 5/3/20 10:54, Walter Lozano wrote: Let me check if I understand correctly, your suggestion is to do something like diff --git a/include/dm/uclass.h b/include/dm/uclass.h index 92c07f8426..bf09dadf3f 100644 --- a/include/dm/uclass.h +++ b/include/dm/uclass.h @@ -167,8 +167,8 @@

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-03-05 Thread Walter Lozano
Hi Simon, Thanks for taking the time to check for my comments On 4/3/20 20:11, Simon Glass wrote: Hi Walter, On Wed, 4 Mar 2020 at 12:40, Walter Lozano wrote: When OF_PLATDATA is enabled DT information is parsed and platdata structures are populated. In this context the links between DT

Re: [RFC] dm: uclass: add functions to get device by platdata

2020-03-04 Thread Simon Glass
Hi Walter, On Wed, 4 Mar 2020 at 12:40, Walter Lozano wrote: > > When OF_PLATDATA is enabled DT information is parsed and platdata > structures are populated. In this context the links between DT nodes are > represented as pointers to platdata structures, and there is no clear way > to access to

[RFC] dm: uclass: add functions to get device by platdata

2020-03-04 Thread Walter Lozano
When OF_PLATDATA is enabled DT information is parsed and platdata structures are populated. In this context the links between DT nodes are represented as pointers to platdata structures, and there is no clear way to access to the device which owns the structure. This patch implements a set of