Re: [RFC PATCH] dm: add cells_count parameter in *_count_phandle_with_args

2020-09-24 Thread Simon Glass
Hi Patrick, On Wed, 23 Sep 2020 at 09:06, Patrick DELAUNAY wrote: > > Hi Simon, > > > From: Simon Glass > > Sent: mardi 22 septembre 2020 20:49 > > > > On Thu, 10 Sep 2020 at 10:44, Patrick Delaunay > > wrote: > > > > > > The cell_count argument is required when cells_name is NULL. > > > > > >

RE: [RFC PATCH] dm: add cells_count parameter in *_count_phandle_with_args

2020-09-23 Thread Patrick DELAUNAY
Hi Simon, > From: Simon Glass > Sent: mardi 22 septembre 2020 20:49 > > On Thu, 10 Sep 2020 at 10:44, Patrick Delaunay > wrote: > > > > The cell_count argument is required when cells_name is NULL. > > > > This patch adds this parameter in live tree API > > - of_count_phandle_with_args > > -

Re: [RFC PATCH] dm: add cells_count parameter in *_count_phandle_with_args

2020-09-22 Thread Simon Glass
On Thu, 10 Sep 2020 at 10:44, Patrick Delaunay wrote: > > The cell_count argument is required when cells_name is NULL. > > This patch adds this parameter in live tree API > - of_count_phandle_with_args > - ofnode_count_phandle_with_args > - dev_count_phandle_with_args > > This parameter solves

[RFC PATCH] dm: add cells_count parameter in *_count_phandle_with_args

2020-09-10 Thread Patrick Delaunay
The cell_count argument is required when cells_name is NULL. This patch adds this parameter in live tree API - of_count_phandle_with_args - ofnode_count_phandle_with_args - dev_count_phandle_with_args This parameter solves issue when these API is used to count the number of element of a cell