Re: fdt: implement helper to check and find compatible nodes

2016-04-08 Thread Patrick Wildt
On Fri, Apr 08, 2016 at 06:09:38PM +0200, Martin Pieuchot wrote: > On 08/04/16(Fri) 17:14, Patrick Wildt wrote: > > On Fri, Apr 08, 2016 at 04:34:25PM +0200, Martin Pieuchot wrote: > > > On 08/04/16(Fri) 14:46, Patrick Wildt wrote: > > > > Hi, > > > > > > > > so that we can easily check if a node

Re: fdt: implement helper to check and find compatible nodes

2016-04-08 Thread Martin Pieuchot
On 08/04/16(Fri) 17:14, Patrick Wildt wrote: > On Fri, Apr 08, 2016 at 04:34:25PM +0200, Martin Pieuchot wrote: > > On 08/04/16(Fri) 14:46, Patrick Wildt wrote: > > > Hi, > > > > > > so that we can easily check if a node is compatible or to find nodes > > > that are compatible, I would like to add

Re: fdt: implement helper to check and find compatible nodes

2016-04-08 Thread Jonathan Gray
On Fri, Apr 08, 2016 at 05:14:03PM +0200, Patrick Wildt wrote: > On Fri, Apr 08, 2016 at 04:34:25PM +0200, Martin Pieuchot wrote: > > On 08/04/16(Fri) 14:46, Patrick Wildt wrote: > > > Hi, > > > > > > so that we can easily check if a node is compatible or to find nodes > > > that are compatible, I

Re: fdt: implement helper to check and find compatible nodes

2016-04-08 Thread Mark Kettenis
> Date: Fri, 8 Apr 2016 17:14:03 +0200 > From: Patrick Wildt > > On Fri, Apr 08, 2016 at 04:34:25PM +0200, Martin Pieuchot wrote: > > On 08/04/16(Fri) 14:46, Patrick Wildt wrote: > > > Hi, > > > > > > so that we can easily check if a node is compatible or to find nodes > > > that are compatible,

Re: fdt: implement helper to check and find compatible nodes

2016-04-08 Thread Patrick Wildt
On Fri, Apr 08, 2016 at 04:34:25PM +0200, Martin Pieuchot wrote: > On 08/04/16(Fri) 14:46, Patrick Wildt wrote: > > Hi, > > > > so that we can easily check if a node is compatible or to find nodes > > that are compatible, I would like to add helpers to the fdt routines. > > > > This way the drive

Re: fdt: implement helper to check and find compatible nodes

2016-04-08 Thread Martin Pieuchot
On 08/04/16(Fri) 14:46, Patrick Wildt wrote: > Hi, > > so that we can easily check if a node is compatible or to find nodes > that are compatible, I would like to add helpers to the fdt routines. > > This way the drivers can check if they "match" to a node by simply > calling: > > if (fdt_

fdt: implement helper to check and find compatible nodes

2016-04-08 Thread Patrick Wildt
Hi, so that we can easily check if a node is compatible or to find nodes that are compatible, I would like to add helpers to the fdt routines. This way the drivers can check if they "match" to a node by simply calling: if (fdt_node_compatible(ma->ma_node, "samsung,exynos4210-ehci"))