RE: [PATCH/RFC 04/11] of: platform: add device connection parsing

2018-04-25 Thread Yoshihiro Shimoda
Hi Heikki, > From: Heikki Krogerus, Sent: Tuesday, April 24, 2018 9:34 PM > > Hi Yoshihiro, > > On Wed, Apr 18, 2018 at 05:09:58PM +0900, Yoshihiro Shimoda wrote: > > + devcon->endpoint[0] = dev_name(>dev); > > + devcon->endpoint[1] = dev_name(_pdev->dev); > > + > > +

Re: [PATCH/RFC 04/11] of: platform: add device connection parsing

2018-04-24 Thread Heikki Krogerus
Hi Yoshihiro, On Wed, Apr 18, 2018 at 05:09:58PM +0900, Yoshihiro Shimoda wrote: > This patch adds device connection parsing in of_platform_populate(). > > TODO: > - How to free the devcon memories? > - How to remove the devcon instances? > > Signed-off-by: Yoshihiro Shimoda

[PATCH/RFC 04/11] of: platform: add device connection parsing

2018-04-18 Thread Yoshihiro Shimoda
This patch adds device connection parsing in of_platform_populate(). TODO: - How to free the devcon memories? - How to remove the devcon instances? Signed-off-by: Yoshihiro Shimoda --- drivers/of/platform.c | 66