Re: [PATCH v11 3/6] of: property: Add functional dependency link from DT bindings

2019-10-16 Thread Stephen Boyd
Quoting Saravana Kannan (2019-10-08 11:57:49) > On Tue, Oct 8, 2019 at 7:53 AM Stephen Boyd wrote: > > > > Quoting Greg Kroah-Hartman (2019-10-04 08:37:50) > > > On Wed, Sep 11, 2019 at 03:29:25AM -0700, Stephen Boyd wrote: > > > > Quoting Saravana Kannan (2019-09-04 14:11:22) > > > > > + in

Re: [PATCH v11 3/6] of: property: Add functional dependency link from DT bindings

2019-10-08 Thread Saravana Kannan
On Tue, Oct 8, 2019 at 7:53 AM Stephen Boyd wrote: > > Quoting Greg Kroah-Hartman (2019-10-04 08:37:50) > > On Wed, Sep 11, 2019 at 03:29:25AM -0700, Stephen Boyd wrote: > > > Quoting Saravana Kannan (2019-09-04 14:11:22) > > > > + int ret = 0; > > > > + struct device_node *tmp_np = su

Re: [PATCH v11 3/6] of: property: Add functional dependency link from DT bindings

2019-10-08 Thread Stephen Boyd
Quoting Greg Kroah-Hartman (2019-10-04 08:37:50) > On Wed, Sep 11, 2019 at 03:29:25AM -0700, Stephen Boyd wrote: > > Quoting Saravana Kannan (2019-09-04 14:11:22) > > > + int ret = 0; > > > + struct device_node *tmp_np = sup_np; > > > + > > > + of_node_get(sup_np); > > > + /

Re: [PATCH v11 3/6] of: property: Add functional dependency link from DT bindings

2019-10-04 Thread Saravana Kannan
On Fri, Oct 4, 2019 at 8:37 AM Greg Kroah-Hartman wrote: > > On Wed, Sep 11, 2019 at 03:29:25AM -0700, Stephen Boyd wrote: > > Quoting Saravana Kannan (2019-09-04 14:11:22) > > > Add device links after the devices are created (but before they are > > > probed) by looking at common DT bindings like

Re: [PATCH v11 3/6] of: property: Add functional dependency link from DT bindings

2019-10-04 Thread Greg Kroah-Hartman
On Wed, Sep 11, 2019 at 03:29:25AM -0700, Stephen Boyd wrote: > Quoting Saravana Kannan (2019-09-04 14:11:22) > > Add device links after the devices are created (but before they are > > probed) by looking at common DT bindings like clocks and > > interconnects. > > > > Automatically adding device

Re: [PATCH v11 3/6] of: property: Add functional dependency link from DT bindings

2019-09-11 Thread Stephen Boyd
Quoting Saravana Kannan (2019-09-04 14:11:22) > Add device links after the devices are created (but before they are > probed) by looking at common DT bindings like clocks and > interconnects. > > Automatically adding device links for functional dependencies at the > framework level provides the fo

[PATCH v11 3/6] of: property: Add functional dependency link from DT bindings

2019-09-04 Thread Saravana Kannan
Add device links after the devices are created (but before they are probed) by looking at common DT bindings like clocks and interconnects. Automatically adding device links for functional dependencies at the framework level provides the following benefits: - Optimizes device probe order and avoi