On Mon, Oct 14, 2019 at 4:28 PM Stephen Boyd wrote:
>
> Quoting Saravana Kannan (2019-10-11 12:15:21)
> > The sync_state() driver callback was added recently, but the
> > documentation was missing. Adding it now.
> >
> > Signed-off-by: Saravana Kannan
> >
Better variable and function names. Remove "," after the sentinel in an
array initialization list.
Signed-off-by: Saravana Kannan
---
drivers/of/property.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/of/property.c b/drivers/of/proper
hy this is necessary.
Signed-off-by: Saravana Kannan
---
include/linux/fwnode.h | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h
index 6ae05b9ce359..97223e2410bd 100644
--- a/include/linux/fwnode.h
+++ b/inc
The sync_state() driver callback was added recently, but the
documentation was missing. Adding it now.
Signed-off-by: Saravana Kannan
---
.../driver-api/driver-model/driver.rst| 43 +++
1 file changed, 43 insertions(+)
diff --git a/Documentation/driver-api/driver-model
Addressing a few coding style comments and adding a bunch of
documentation.
Saravana Kannan (3):
of: property: Minor code formatting/style clean ups
driver: core: Improve documentation for fwnode_operations.add_links()
docs: driver-model: Add documentation for sync_state
.../driver-api
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;
> >
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
#x27;s sync_state() callback because all its consumers
have probed.
9. None of the devices malfunction.
Signed-off-by: Saravana Kannan
---
drivers/of/property.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/of/property.c b/drivers/of/property.c
index 23b5ee5b0570..923d6f88a9
called prematurely, pause and resume
sync_state() callbacks across of_platform_populate().
Signed-off-by: Saravana Kannan
---
drivers/of/platform.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index b47a2292fe8e..d93891a05f60 100644
.
kbuild test robot reported missing documentation for device.state_synced
Reported-by: kbuild test robot
Signed-off-by: Saravana Kannan
---
drivers/base/core.c| 72 ++
include/linux/device.h | 24 ++
2 files changed, 96 insertions(+)
It's often useful to look up a device that corresponds to a fwnode. So
add an API to do that irrespective of the bus on which the device has
been added to.
Signed-off-by: Saravana Kannan
---
drivers/base/core.c| 7 +++
include/linux/fwnode.h | 2 ++
2 files changed, 9 inser
ssing const
Reported-by: kbuild test robot
Signed-off-by: Saravana Kannan
---
.../admin-guide/kernel-parameters.rst | 1 +
.../admin-guide/kernel-parameters.txt | 6 +
drivers/of/property.c | 241 ++
3 files changed, 248 insertions
consumer devices are added, they might not have a supplier
device to link to despite needing mandatory resources/functionality from
one or more suppliers. A waiting_for_suppliers list is created to track
such consumers and retry linking them when new devices get added.
Signed-off-by: Saravana Kannan
@google.com/
[3] -
https://lore.kernel.org/lkml/cagetcx_psnc_2d7uflryfe3b8urc814xef8zu+spntt7_z8...@mail.gmail.com/
-Saravana
Saravana Kannan (6):
driver core: Add fwnode_to_dev() to look up device from fwnode
driver core: Add support for linking devices during device addition
of: proper
On Thu, Aug 29, 2019 at 9:43 AM Rob Herring wrote:
>
> On Thu, Aug 29, 2019 at 2:46 AM Saravana Kannan wrote:
> >
> > Add device-links to track functional dependencies between devices
> > after they are created (but before they are probed) by looking at
> > their
that
platforms with cyclic dependencies can use "depends-on" to break the
cycle and continue successfully probing devices.
Signed-off-by: Saravana Kannan
---
drivers/of/property.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/of/property.c b/drivers/of/
.
kbuild test robot reported missing documentation for device.state_synced
Reported-by: kbuild test robot
Signed-off-by: Saravana Kannan
---
drivers/base/core.c| 65 ++
include/linux/device.h | 24
2 files changed, 89 insertions(+)
ds-on property that can override inferred dependencies by
explicitly listing the suppliers of a device and thereby allow breaking
any cyclic inferred depenencies.
Signed-off-by: Saravana Kannan
---
.../devicetree/bindings/depends-on.txt| 46 +++
1 file changed, 46 inser
inor comments update
- Added 2 new patches 6/7 and 7/7 to handle cyclic dependencies using
depends-on
[1] - https://lore.kernel.org/lkml/2305283.AStDPdUUnE@kreacher/
[2] - https://lore.kernel.org/lkml/20190724001100.133423-2-sarava...@google.com/
[3] -
https://lore.kernel.org/lkml/cagetcx_psnc_2d7uflr
consumer devices are added, they might not have a supplier
device to link to despite needing mandatory resources/functionality from
one or more suppliers. A waiting_for_suppliers list is created to track
such consumers and retry linking them when new devices get added.
Signed-off-by: Saravana Kannan
called prematurely, pause and resume
sync_state() callbacks across of_platform_populate().
Signed-off-by: Saravana Kannan
---
drivers/of/platform.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index b47a2292fe8e..d93891a05f60 100644
ssing const
Reported-by: kbuild test robot
Signed-off-by: Saravana Kannan
---
.../admin-guide/kernel-parameters.rst | 1 +
.../admin-guide/kernel-parameters.txt | 6 +
drivers/of/property.c | 241 ++
3 files changed, 248 insertions
#x27;s sync_state() callback because all its consumers
have probed.
9. None of the devices malfunction.
Signed-off-by: Saravana Kannan
---
drivers/of/property.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/of/property.c b/drivers/of/property.c
index 82052172f508..420c2d4281
On Mon, Aug 19, 2019 at 9:26 PM Frank Rowand wrote:
>
> On 8/19/19 5:09 PM, Saravana Kannan wrote:
> > On Mon, Aug 19, 2019 at 2:30 PM Frank Rowand wrote:
> >>
> >> On 8/19/19 1:49 PM, Saravana Kannan wrote:
> >>> On Mon, Aug 19, 2019 at 10:16 AM Frank R
On Mon, Aug 19, 2019 at 2:30 PM Frank Rowand wrote:
>
> On 8/19/19 1:49 PM, Saravana Kannan wrote:
> > On Mon, Aug 19, 2019 at 10:16 AM Frank Rowand
> > wrote:
> >>
> >> On 8/15/19 6:50 PM, Saravana Kannan wrote:
> >>> On Wed, Aug 7, 2019 at 7:06
On Mon, Aug 19, 2019 at 10:16 AM Frank Rowand wrote:
>
> On 8/15/19 6:50 PM, Saravana Kannan wrote:
> > On Wed, Aug 7, 2019 at 7:06 PM Frank Rowand wrote:
> >>
> >> On 7/23/19 5:10 PM, Saravana Kannan wrote:
> >>> Add device-links after the devices are
On Wed, Aug 7, 2019 at 7:06 PM Frank Rowand wrote:
>
> On 7/23/19 5:10 PM, Saravana Kannan wrote:
> > Add device-links after the devices are created (but before they are
> > probed) by looking at common DT bindings like clocks and
> > interconnects.
> >
> > A
ssing const
Reported-by: kbuild test robot
Signed-off-by: Saravana Kannan
---
.../admin-guide/kernel-parameters.txt | 5 +
drivers/of/platform.c | 165 ++
2 files changed, 170 insertions(+)
diff --git a/Documentation/admin-guide/kernel-
On Wed, Jul 31, 2019 at 11:19 AM Nathan Chancellor
wrote:
>
> Clang errors:
>
> drivers/of/platform.c:632:28: error: initializing 'struct
> supplier_bindings *' with an expression of type 'const struct
> supplier_bindings [4]' discards qualifiers
> [-Werror,-Wincompatible-pointer-types-discards-qu
efault we just add device-links to track "driver presence" (probe
succeeded) of the supplier device. If any other functionality provided
by device-links are needed, it is left to the consumer/supplier
devices to change the link when they probe.
Signed-off-by: Saravana Kannan
---
.
efault we just add device-links to track "driver presence" (probe
succeeded) of the supplier device. If any other functionality provided
by device-links are needed, it is left to the consumer/supplier
devices to change the link when they probe.
Signed-off-by: Saravana Kannan
---
.
On Tue, Jul 23, 2019 at 3:18 PM Rob Herring wrote:
>
> On Tue, Jul 23, 2019 at 2:49 PM Saravana Kannan wrote:
> >
> > On Tue, Jul 23, 2019 at 11:06 AM Rob Herring wrote:
> > >
> > > On Sat, Jul 20, 2019 at 12:17 AM Saravana Kannan
> > > wrot
On Tue, Jul 23, 2019 at 11:06 AM Rob Herring wrote:
>
> On Sat, Jul 20, 2019 at 12:17 AM Saravana Kannan wrote:
> >
> > Add device-links after the devices are created (but before they are
> > probed) by looking at common DT bindings like clocks and
> > interconnect
efault we just add device-links to track "driver presence" (probe
succeeded) of the supplier device. If any other functionality provided
by device-links are needed, it is left to the consumer/supplier
devices to change the link when they probe.
Signed-off-by: Saravana Kannan
---
.
On Wed, Jul 17, 2019 at 7:35 AM Rob Herring wrote:
>
> On Tue, Jul 16, 2019 at 5:54 PM Saravana Kannan wrote:
> >
> > On Tue, Jul 16, 2019 at 4:43 PM Rob Herring wrote:
> > >
> > > On Fri, Jul 12, 2019 at 5:52 PM Saravana Kannan
> > > wrote:
>
On Tue, Jul 16, 2019 at 4:43 PM Rob Herring wrote:
>
> On Fri, Jul 12, 2019 at 5:52 PM Saravana Kannan wrote:
> >
> > Add device-links after the devices are created (but before they are
> > probed) by looking at common DT bindings like clocks and
> > interconnects
efault we just add device-links to track "driver presence" (probe
succeeded) of the supplier device. If any other functionality provided
by device-links are needed, it is left to the consumer/supplier
devices to change the link when they probe.
Signed-off-by: Saravana Kannan
---
efault we just add device-links to track "driver presence" (probe
succeeded) of the supplier device. If any other functionality provided
by device-links are needed, it is left to the consumer/supplier
devices to change the link when they probe.
Signed-off-by: Saravana Kannan
---
On 04/06/2016 02:45 PM, Rafael J. Wysocki wrote:
On Wed, Apr 6, 2016 at 11:29 PM, Saravana Kannan wrote:
On 04/06/2016 02:21 PM, Rafael J. Wysocki wrote:
On Wed, Apr 6, 2016 at 10:30 PM, Saravana Kannan
wrote:
On 09/09/2015 05:53 PM, Rafael J. Wysocki wrote:
[cut]
Well, nobody was
On 04/06/2016 02:21 PM, Rafael J. Wysocki wrote:
On Wed, Apr 6, 2016 at 10:30 PM, Saravana Kannan wrote:
On 09/09/2015 05:53 PM, Rafael J. Wysocki wrote:
Hi,
On Thu, Sep 10, 2015 at 2:39 AM, Viresh Kumar
wrote:
On 10-09-15, 01:26, Rafael J. Wysocki wrote:
On Monday, August 03, 2015 08
40 matches
Mail list logo