On Sun, 17 Aug 2014 09:04:14 +0300, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
From: Aaron Lu aaron...@intel.com
With the unified device properties interface in place, add device tree
support.
By adding the dev_prop_ops for of_node devices, drivers can access properties
from
Hi Mika and Rafael,
Comments below...
On Sun, 17 Aug 2014 09:04:13 +0300, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
From: Rafael J. Wysocki rafael.j.wyso...@intel.com
Add a uniform interface by which device drivers can request device
properties from the platform firmware by
On Sun, 17 Aug 2014 09:04:16 +0300, Mika Westerberg
mika.westerb...@linux.intel.com wrote:
From: Aaron Lu aaron...@intel.com
Add a new API to get the GPIO's description pointer and its flags for
both OF based system and ACPI based system. This is useful in drivers
that do not need to care
On Fri, 8 Aug 2014 14:01:57 -0500, Rob Herring robherri...@gmail.com wrote:
On Fri, Aug 8, 2014 at 8:23 AM, Tuomas Tynkkynen ttynkky...@nvidia.com
wrote:
On 08/08/14 12:41, Thierry Reding wrote:
+const struct of_device_id *of_match_machine(const struct of_device_id
*matches)
+{
On Fri, 8 Aug 2014 02:01:53 +0300, Tuomas Tynkkynen ttynkky...@nvidia.com
wrote:
Add of_match_machine function to test the device tree root for an
of_match array. This can be useful when testing SoC versions at runtime,
for example.
Signed-off-by: Tuomas Tynkkynen ttynkky...@nvidia.com
---
Hi Linus,
Please pull the following tree with some bug fixes for devicetree.
g.
The following changes since commit c9d26423e56ce1ab4d786f92aebecf859d419293:
Merge tag 'pm+acpi-3.17-rc1-2' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
(2014-08-14 18:13:46 -0600)
are
On Fri, Aug 15, 2014 at 5:38 PM, Rob Herring wrote:
> Adding Greg...
>
> On Tue, Aug 12, 2014 at 9:30 PM, Stepan Moskovchenko
> wrote:
>> When we parse the device tree and allocate platform
>> devices, the 'name' of the newly-created platform_device
>> is set to point to the 'name' field of the
On Fri, Aug 15, 2014 at 5:38 PM, Rob Herring robherri...@gmail.com wrote:
Adding Greg...
On Tue, Aug 12, 2014 at 9:30 PM, Stepan Moskovchenko
step...@codeaurora.org wrote:
When we parse the device tree and allocate platform
devices, the 'name' of the newly-created platform_device
is set to
Hi Linus,
Please pull the following tree with some bug fixes for devicetree.
g.
The following changes since commit c9d26423e56ce1ab4d786f92aebecf859d419293:
Merge tag 'pm+acpi-3.17-rc1-2' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
(2014-08-14 18:13:46 -0600)
are
On Wed, 06 Aug 2014 15:12:42 -0700, Florian Fainelli
wrote:
> On 08/06/2014 02:50 PM, Tim Bird wrote:
> > On Wed, Aug 6, 2014 at 1:12 PM, Brian Norris
> > wrote:
> >> On Wed, Aug 06, 2014 at 01:42:08PM -0500, Rob Herring wrote:
> >>> On Wed, Aug 6, 2014 at 11:54 AM, Brian Norris
> >>> wrote:
On Wed, 6 Aug 2014 13:15:00 -0700, Brian Norris
wrote:
> On Wed, Aug 06, 2014 at 01:02:27PM -0700, Florian Fainelli wrote:
> > In case the Device Tree blob passed by the boot agent supplies both an
> > 'interrupts-extended' and an 'interrupts' property in order to allow for
> > older kernels to
On Fri, Aug 15, 2014 at 11:52 AM, Grant Likely wrote:
> On Fri, Aug 15, 2014 at 11:45 AM, Grant Likely
> wrote:
>> On Tue, 12 Aug 2014 18:46:36 -0700, Stephen Boyd
>> wrote:
>>> On 08/12/14 17:57, Stepan Moskovchenko wrote:
>>> > diff --git a/dr
On Fri, Aug 15, 2014 at 11:45 AM, Grant Likely wrote:
> On Tue, 12 Aug 2014 18:46:36 -0700, Stephen Boyd wrote:
>> On 08/12/14 17:57, Stepan Moskovchenko wrote:
>> > diff --git a/drivers/of/device.c b/drivers/of/device.c
>> > index f685e55..3e116f6 100644
>
On Tue, 12 Aug 2014 18:46:36 -0700, Stephen Boyd wrote:
> On 08/12/14 17:57, Stepan Moskovchenko wrote:
> > diff --git a/drivers/of/device.c b/drivers/of/device.c
> > index f685e55..3e116f6 100644
> > --- a/drivers/of/device.c
> > +++ b/drivers/of/device.c
> > @@ -54,7 +54,7 @@ int
On Tue, 12 Aug 2014 18:46:36 -0700, Stephen Boyd sb...@codeaurora.org wrote:
On 08/12/14 17:57, Stepan Moskovchenko wrote:
diff --git a/drivers/of/device.c b/drivers/of/device.c
index f685e55..3e116f6 100644
--- a/drivers/of/device.c
+++ b/drivers/of/device.c
@@ -54,7 +54,7 @@ int
On Fri, Aug 15, 2014 at 11:45 AM, Grant Likely grant.lik...@linaro.org wrote:
On Tue, 12 Aug 2014 18:46:36 -0700, Stephen Boyd sb...@codeaurora.org wrote:
On 08/12/14 17:57, Stepan Moskovchenko wrote:
diff --git a/drivers/of/device.c b/drivers/of/device.c
index f685e55..3e116f6 100644
On Fri, Aug 15, 2014 at 11:52 AM, Grant Likely grant.lik...@linaro.org wrote:
On Fri, Aug 15, 2014 at 11:45 AM, Grant Likely grant.lik...@linaro.org
wrote:
On Tue, 12 Aug 2014 18:46:36 -0700, Stephen Boyd sb...@codeaurora.org
wrote:
On 08/12/14 17:57, Stepan Moskovchenko wrote:
diff --git
On Wed, 6 Aug 2014 13:15:00 -0700, Brian Norris computersforpe...@gmail.com
wrote:
On Wed, Aug 06, 2014 at 01:02:27PM -0700, Florian Fainelli wrote:
In case the Device Tree blob passed by the boot agent supplies both an
'interrupts-extended' and an 'interrupts' property in order to allow for
On Wed, 06 Aug 2014 15:12:42 -0700, Florian Fainelli f.faine...@gmail.com
wrote:
On 08/06/2014 02:50 PM, Tim Bird wrote:
On Wed, Aug 6, 2014 at 1:12 PM, Brian Norris
computersforpe...@gmail.com wrote:
On Wed, Aug 06, 2014 at 01:42:08PM -0500, Rob Herring wrote:
On Wed, Aug 6, 2014 at
of: Fixing OF Selftest build error
Grant Likely (15):
of: Create of_console_check() for selecting a console specified in /chosen
of: Enable console on serial ports specified by /chosen/stdout-path
arm/versatile: Add the uart as the stdout device.
tty: Update
On Mon, 28 Jul 2014 09:35:26 +1000, Stephen Rothwell
wrote:
> Hi Grant,
>
> I noticed the subject commit in the devicetree tree in linux-next today.
> The commit message gives us no idea why we would want to make this
> change. We already have lots of user selectable CONFIG_ options ... do
>
On Mon, 28 Jul 2014 09:35:26 +1000, Stephen Rothwell s...@canb.auug.org.au
wrote:
Hi Grant,
I noticed the subject commit in the devicetree tree in linux-next today.
The commit message gives us no idea why we would want to make this
change. We already have lots of user selectable CONFIG_
of: Fixing OF Selftest build error
Grant Likely (15):
of: Create of_console_check() for selecting a console specified in /chosen
of: Enable console on serial ports specified by /chosen/stdout-path
arm/versatile: Add the uart as the stdout device.
tty: Update
On Sat, 26 Jul 2014 15:10:28 -0500, Rob Herring wrote:
> On Sat, Jul 26, 2014 at 11:50 AM, Grant Likely
> wrote:
> > On Sat, 26 Jul 2014 06:52:36 +, Vineet Gupta
> > wrote:
> >> Hi Rob,
> >>
> >> On Friday 25 July 2014 07:45 PM, Rob Herring
On Mon, 28 Jul 2014 04:38:38 +, Vineet Gupta
wrote:
> On Saturday 26 July 2014 10:21 PM, Grant Likely wrote:
> > On Sat, 26 Jul 2014 06:52:36 +, Vineet Gupta
> > wrote:
> >> Hi Rob,
> >>
> >> On Friday 25 July 2014 07:45 PM, Rob Herring wr
On Tue, Jul 29, 2014 at 11:33 PM, Marek Szyprowski
wrote:
> Hello,
>
>
> On 2014-07-29 23:54, Grant Likely wrote:
>>
>> On Mon, 14 Jul 2014 10:28:06 +0200, Marek Szyprowski
>> wrote:
>>>
>>> Initialization procedure of dma coherent pool has been
Hi Linus,
This bug fix has been brewing for a while. I hate sending it to you so
late, but I only got confirmation that it solves the problem this past
weekend. The diff looks big for a bug fix, but the majority of it is
only executed in the Exynos quirk case. Unfortunately it required
splitting
Hi Linus,
This bug fix has been brewing for a while. I hate sending it to you so
late, but I only got confirmation that it solves the problem this past
weekend. The diff looks big for a bug fix, but the majority of it is
only executed in the Exynos quirk case. Unfortunately it required
splitting
On Tue, Jul 29, 2014 at 11:33 PM, Marek Szyprowski
m.szyprow...@samsung.com wrote:
Hello,
On 2014-07-29 23:54, Grant Likely wrote:
On Mon, 14 Jul 2014 10:28:06 +0200, Marek Szyprowski
m.szyprow...@samsung.com wrote:
Initialization procedure of dma coherent pool has been split into two
On Mon, 28 Jul 2014 04:38:38 +, Vineet Gupta vineet.gup...@synopsys.com
wrote:
On Saturday 26 July 2014 10:21 PM, Grant Likely wrote:
On Sat, 26 Jul 2014 06:52:36 +, Vineet Gupta
vineet.gup...@synopsys.com wrote:
Hi Rob,
On Friday 25 July 2014 07:45 PM, Rob Herring wrote
On Sat, 26 Jul 2014 15:10:28 -0500, Rob Herring robherri...@gmail.com wrote:
On Sat, Jul 26, 2014 at 11:50 AM, Grant Likely
grant.lik...@secretlab.ca wrote:
On Sat, 26 Jul 2014 06:52:36 +, Vineet Gupta
vineet.gup...@synopsys.com wrote:
Hi Rob,
On Friday 25 July 2014 07:45 PM, Rob
On Fri, 18 Jul 2014 19:13:52 +0300, Stanimir Varbanov
wrote:
> On 07/18/2014 02:10 AM, Stephen Boyd wrote:
> > On 07/17/14 09:17, Stanimir Varbanov wrote:
> >> Hello everyone,
> >>
> >> Here is the continuation of patch sets sent recently about Qualcomm
> >> QPNP SPMI PMICs.
> >>
> >> The
On Tue, 29 Jul 2014 17:06:42 +0300, Stanimir Varbanov
wrote:
> Arnd, thanks for the comments.
>
> On 07/29/2014 03:00 PM, Arnd Bergmann wrote:
> > On Tuesday 29 July 2014 14:42:31 Stanimir Varbanov wrote:
> >> taddr = of_translate_address(dev, addrp);
> >> - if (taddr ==
On Tue, 29 Jul 2014 16:47:04 +0200, Marek Szyprowski
wrote:
> Hello,
>
> On 2014-07-28 16:17, Grant Likely wrote:
> > On Mon, 14 Jul 2014 10:28:05 +0200, Marek Szyprowski
> > wrote:
> >> Use recently introduced of_reserved_mem_device_init() function to
> &
On Mon, 14 Jul 2014 10:28:07 +0200, Marek Szyprowski
wrote:
> Add a function to create CMA region from previously reserved memory
> and add support for handling 'shared-dma-pool' reserved-memory device
> tree nodes.
>
> Based on previous code provided by Josh Cartwright
I think this is okay
On Mon, 14 Jul 2014 10:28:06 +0200, Marek Szyprowski
wrote:
> Initialization procedure of dma coherent pool has been split into two
> parts, so memory pool can now be initialized without assigning to
> particular struct device. Then initialized region can be assigned to
> more than one struct
On Mon, 14 Jul 2014 10:28:06 +0200, Marek Szyprowski m.szyprow...@samsung.com
wrote:
Initialization procedure of dma coherent pool has been split into two
parts, so memory pool can now be initialized without assigning to
particular struct device. Then initialized region can be assigned to
On Tue, 29 Jul 2014 16:47:04 +0200, Marek Szyprowski m.szyprow...@samsung.com
wrote:
Hello,
On 2014-07-28 16:17, Grant Likely wrote:
On Mon, 14 Jul 2014 10:28:05 +0200, Marek Szyprowski
m.szyprow...@samsung.com wrote:
Use recently introduced of_reserved_mem_device_init() function
On Mon, 14 Jul 2014 10:28:07 +0200, Marek Szyprowski m.szyprow...@samsung.com
wrote:
Add a function to create CMA region from previously reserved memory
and add support for handling 'shared-dma-pool' reserved-memory device
tree nodes.
Based on previous code provided by Josh Cartwright
On Tue, 29 Jul 2014 17:06:42 +0300, Stanimir Varbanov svarba...@mm-sol.com
wrote:
Arnd, thanks for the comments.
On 07/29/2014 03:00 PM, Arnd Bergmann wrote:
On Tuesday 29 July 2014 14:42:31 Stanimir Varbanov wrote:
taddr = of_translate_address(dev, addrp);
- if (taddr ==
On Fri, 18 Jul 2014 19:13:52 +0300, Stanimir Varbanov svarba...@mm-sol.com
wrote:
On 07/18/2014 02:10 AM, Stephen Boyd wrote:
On 07/17/14 09:17, Stanimir Varbanov wrote:
Hello everyone,
Here is the continuation of patch sets sent recently about Qualcomm
QPNP SPMI PMICs.
The
On Mon, Jul 28, 2014 at 11:47 AM, Grygorii Strashko
wrote:
> Hi Grant.
>
> On 07/28/2014 05:05 PM, Grant Likely wrote:
>> On Thu, 12 Jun 2014 19:53:43 +0300, Grygorii Strashko
>> wrote:
>>> Use "clkops-clocks" property to specify clocks handled by
>
On Mon, 14 Jul 2014 10:28:05 +0200, Marek Szyprowski
wrote:
> Use recently introduced of_reserved_mem_device_init() function to
> automatically assign respective reserved memory region to the newly created
> platform and amba device.
>
> Signed-off-by: Marek Szyprowski
I'm still not okay with
On Mon, 14 Jul 2014 10:28:04 +0200, Marek Szyprowski
wrote:
> This patch adds code for automated assignment of reserved memory regions
> to struct device. reserved_mem->ops->device_init()/device_cleanup()
> callbacks are called to perform reserved memory driver specific
> initialization and
On Tue, 1 Jul 2014 22:02:31 +0530, Viresh Kumar
wrote:
> Create a new routine of_clk_shared_by_cpus() that finds if clock lines are
> shared between two CPUs. This is verified by comparing "clocks" property from
> CPU's DT node.
>
> Returns 1 if clock line is shared between them, 0 if clock
On Thu, 12 Jun 2014 19:53:43 +0300, Grygorii Strashko
wrote:
> Use "clkops-clocks" property to specify clocks handled by
> clock_ops domain PM domain. Only clocks defined in "clkops-clocks"
> set of clocks will be handled by Runtime PM through clock_ops
> Pm domain.
>
> Signed-off-by: Grygorii
On Wed, 23 Jul 2014 00:27:36 +0530, Jassi Brar
wrote:
> Define generic bindings for the framework clients to
> request mailbox channels.
>
> Signed-off-by: Jassi Brar
Looks okay to me.
g.
> ---
> .../devicetree/bindings/mailbox/mailbox.txt| 36
> ++
> 1 file
On Fri, 11 Jul 2014 16:04:10 +0200, Jacek Anaszewski
wrote:
> The wrapper for strnicmp is required for checking whether a node has
> expected prefix.
>
> Signed-off-by: Jacek Anaszewski
> Acked-by: Kyungmin Park
> Cc: Grant Likely
> Cc: Benjamin Herrenschmid
On Mon, 21 Jul 2014 10:52:41 -0700, Nishanth Aravamudan
wrote:
> On 11.07.2014 [15:37:39 +0800], Jiang Liu wrote:
> > When CONFIG_HAVE_MEMORYLESS_NODES is enabled, cpu_to_node()/numa_node_id()
> > may return a node without memory, and later cause system failure/panic
> > when calling
On Mon, 21 Jul 2014 10:52:41 -0700, Nishanth Aravamudan
n...@linux.vnet.ibm.com wrote:
On 11.07.2014 [15:37:39 +0800], Jiang Liu wrote:
When CONFIG_HAVE_MEMORYLESS_NODES is enabled, cpu_to_node()/numa_node_id()
may return a node without memory, and later cause system failure/panic
when
On Fri, 11 Jul 2014 16:04:10 +0200, Jacek Anaszewski j.anaszew...@samsung.com
wrote:
The wrapper for strnicmp is required for checking whether a node has
expected prefix.
Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com
Acked-by: Kyungmin Park kyungmin.p...@samsung.com
Cc: Grant
On Wed, 23 Jul 2014 00:27:36 +0530, Jassi Brar jaswinder.si...@linaro.org
wrote:
Define generic bindings for the framework clients to
request mailbox channels.
Signed-off-by: Jassi Brar jaswinder.si...@linaro.org
Looks okay to me.
g.
---
.../devicetree/bindings/mailbox/mailbox.txt
On Thu, 12 Jun 2014 19:53:43 +0300, Grygorii Strashko
grygorii.stras...@ti.com wrote:
Use clkops-clocks property to specify clocks handled by
clock_ops domain PM domain. Only clocks defined in clkops-clocks
set of clocks will be handled by Runtime PM through clock_ops
Pm domain.
On Mon, 14 Jul 2014 10:28:04 +0200, Marek Szyprowski m.szyprow...@samsung.com
wrote:
This patch adds code for automated assignment of reserved memory regions
to struct device. reserved_mem-ops-device_init()/device_cleanup()
callbacks are called to perform reserved memory driver specific
On Mon, 14 Jul 2014 10:28:05 +0200, Marek Szyprowski m.szyprow...@samsung.com
wrote:
Use recently introduced of_reserved_mem_device_init() function to
automatically assign respective reserved memory region to the newly created
platform and amba device.
Signed-off-by: Marek Szyprowski
On Tue, 1 Jul 2014 22:02:31 +0530, Viresh Kumar viresh.ku...@linaro.org
wrote:
Create a new routine of_clk_shared_by_cpus() that finds if clock lines are
shared between two CPUs. This is verified by comparing clocks property from
CPU's DT node.
Returns 1 if clock line is shared between
On Mon, Jul 28, 2014 at 11:47 AM, Grygorii Strashko
grygorii.stras...@ti.com wrote:
Hi Grant.
On 07/28/2014 05:05 PM, Grant Likely wrote:
On Thu, 12 Jun 2014 19:53:43 +0300, Grygorii Strashko
grygorii.stras...@ti.com wrote:
Use clkops-clocks property to specify clocks handled by
clock_ops
On Fri, 25 Jul 2014 13:10:15 -0500, Nathan Fontenot
wrote:
> On 07/23/2014 06:44 PM, Grant Likely wrote:
> > Hi all,
> >
> > This is a rollup of all the patches that I queued up today for
> > linux-next for the devicetree changeset and overlay work. I'm reposting
>
On Fri, 25 Jul 2014 13:10:15 -0500, Nathan Fontenot nf...@austin.ibm.com
wrote:
On 07/23/2014 06:44 PM, Grant Likely wrote:
Hi all,
This is a rollup of all the patches that I queued up today for
linux-next for the devicetree changeset and overlay work. I'm reposting
these patches
On Sat, 26 Jul 2014 06:52:36 +, Vineet Gupta
wrote:
> Hi Rob,
>
> On Friday 25 July 2014 07:45 PM, Rob Herring wrote:
> > On Fri, Jul 25, 2014 at 6:02 AM, Vineet Gupta
> > wrote:
> >> > Hi Grant,
> >> >
> >> > linux-next has a series for arc_uart (via tty tree) which converts it to
> >> >
On Sat, 26 Jul 2014 06:52:36 +, Vineet Gupta vineet.gup...@synopsys.com
wrote:
Hi Rob,
On Friday 25 July 2014 07:45 PM, Rob Herring wrote:
On Fri, Jul 25, 2014 at 6:02 AM, Vineet Gupta
vineet.gup...@synopsys.com wrote:
Hi Grant,
linux-next has a series for arc_uart (via tty
On Fri, 25 Jul 2014 09:15:22 -0500, Rob Herring wrote:
> On Fri, Jul 25, 2014 at 6:02 AM, Vineet Gupta
> wrote:
> > Hi Grant,
> >
> > linux-next has a series for arc_uart (via tty tree) which converts it to
> > generic
> > earlycon and specifies console via /chosen/stdout-path vs. an explicit
On Fri, 25 Jul 2014 09:15:22 -0500, Rob Herring robherri...@gmail.com wrote:
On Fri, Jul 25, 2014 at 6:02 AM, Vineet Gupta
vineet.gup...@synopsys.com wrote:
Hi Grant,
linux-next has a series for arc_uart (via tty tree) which converts it to
generic
earlycon and specifies console via
From: Pantelis Antoniou
We're overloading usage of of_aliases_mutex for sysfs changes,
so rename to something that is more generic.
Signed-off-by: Pantelis Antoniou
Signed-off-by: Grant Likely
---
drivers/of/base.c | 19 +--
drivers/of/device.c | 4 ++--
drivers
icu
Signed-off-by: Pantelis Antoniou
[glikely: Added unittest for of_copy_property and dropped fine-grained
allocations]
[glikely: removed name, type and phandle arguments from __of_node_alloc]
Signed-off-by: Grant Likely
---
drivers/of/dynamic.c|
to pseries (and I can't get the QEMU pseries model to boot reliably)
Nathan/Tyrel, can you give it a spin? The changes can be found in my git tree:
git://git.secretlab.ca/git/linux devicetree/next
Grant Likely (8):
of/platform: Fix of_platform_device_destroy iteration of devices
of: Move
prototypes into of_private.h so they are
accessible to the transaction code.
Signed-off-by: Pantelis Antoniou
[grant.likely: Changed suffix from _post to _sysfs to match existing code]
[grant.likely: Reorganized to eliminate trivial wrappers]
Signed-off-by: Grant Likely
---
drivers/of/base.c
and remove nodes.
v2: Moved of_node_release() into dynamic.c
Signed-off-by: Grant Likely
Signed-off-by: Pantelis Antoniou
Cc: Rob Herring
---
drivers/of/Makefile | 1 +
drivers/of/base.c | 230 +---
drivers/of/dynamic.c| 216
are: __of_add_property(), __of_remove_property(),
__of_update_property(), __of_attach_node() and __of_detach_node().
Signed-off-by: Pantelis Antoniou
[Remove unnecessary diff hunks and rewrite commit text]
Signed-off-by: Grant Likely
---
drivers/of/base.c | 91
with notifiers that modify the node.
Signed-off-by: Grant Likely
Cc: Nathan Fontenot
Cc: Benjamin Herrenschmidt
---
arch/powerpc/kernel/prom.c | 70 --
drivers/of/base.c | 4 +--
drivers/of/dynamic.c | 13 +
drivers/of/of_private.h
The child pointer does not get cleared when attaching new nodes which
could cause the tree to be inconsistent. Clear the child pointer in
__of_attach_node() to be absolutely sure that the structure remains in a
consistent layout.
Signed-off-by: Grant Likely
---
drivers/of/dynamic.c | 1 +
1
. An applied transaction
can be rolled-back at any time.
Documentation is in
Documentation/devicetree/changesets.txt
Signed-off-by: Pantelis Antoniou
[glikely: Removed device notifiers and reworked to be more consistent]
Signed-off-by: Grant Likely
---
Documentation/devicetree
to the tree.
Signed-off-by: Grant Likely
Cc: Nathan Fontenot
---
arch/powerpc/platforms/pseries/hotplug-memory.c | 2 +-
drivers/crypto/nx/nx-842.c | 30 +++--
drivers/of/base.c | 21 -
drivers/of/dynamic.c
, and drivers are responsible for getting rid of any
child devices that weren't created by of_platform_populate.
Signed-off-by: Grant Likely
Signed-off-by: Pantelis Antoniou
---
drivers/of/platform.c | 32 +---
include/linux/of.h | 1 +
include/linux
, and drivers are responsible for getting rid of any
child devices that weren't created by of_platform_populate.
Signed-off-by: Grant Likely grant.lik...@linaro.org
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/of/platform.c | 32
to the tree.
Signed-off-by: Grant Likely grant.lik...@linaro.org
Cc: Nathan Fontenot nf...@austin.ibm.com
---
arch/powerpc/platforms/pseries/hotplug-memory.c | 2 +-
drivers/crypto/nx/nx-842.c | 30 +++--
drivers/of/base.c
-by: Grant Likely grant.lik...@linaro.org
---
Documentation/devicetree/changesets.txt | 40
drivers/of/dynamic.c| 344
drivers/of/of_private.h | 9 +
drivers/of/selftest.c | 51 +
drivers/of/testcase
The child pointer does not get cleared when attaching new nodes which
could cause the tree to be inconsistent. Clear the child pointer in
__of_attach_node() to be absolutely sure that the structure remains in a
consistent layout.
Signed-off-by: Grant Likely grant.lik...@linaro.org
---
drivers
with notifiers that modify the node.
Signed-off-by: Grant Likely grant.lik...@linaro.org
Cc: Nathan Fontenot nf...@austin.ibm.com
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
---
arch/powerpc/kernel/prom.c | 70 --
drivers/of/base.c | 4
the lock.
The new functions are: __of_add_property(), __of_remove_property(),
__of_update_property(), __of_attach_node() and __of_detach_node().
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
[Remove unnecessary diff hunks and rewrite commit text]
Signed-off-by: Grant Likely
prototypes into of_private.h so they are
accessible to the transaction code.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
[grant.likely: Changed suffix from _post to _sysfs to match existing code]
[grant.likely: Reorganized to eliminate trivial wrappers]
Signed-off-by: Grant Likely
and remove nodes.
v2: Moved of_node_release() into dynamic.c
Signed-off-by: Grant Likely grant.lik...@linaro.org
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
Cc: Rob Herring robh...@kernel.org
---
drivers/of/Makefile | 1 +
drivers/of/base.c | 230
to pseries (and I can't get the QEMU pseries model to boot reliably)
Nathan/Tyrel, can you give it a spin? The changes can be found in my git tree:
git://git.secretlab.ca/git/linux devicetree/next
Grant Likely (8):
of/platform: Fix of_platform_device_destroy iteration of devices
of: Move
-len == 0 by Ionut Nicu ioan.nicu@nsn.com
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
[glikely: Added unittest for of_copy_property and dropped fine-grained
allocations]
[glikely: removed name, type and phandle arguments from __of_node_alloc]
Signed-off-by: Grant Likely
From: Pantelis Antoniou pantelis.anton...@konsulko.com
We're overloading usage of of_aliases_mutex for sysfs changes,
so rename to something that is more generic.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
Signed-off-by: Grant Likely grant.lik...@linaro.org
---
drivers
On Tue, 8 Jul 2014 09:24:08 +0200 (CEST), Nicolas Pitre
wrote:
> On Mon, 7 Jul 2014, Laura Abbott wrote:
>
> > Commit a67a6ed15513541579d38bcbd127e7be170710e5
> > (of: Check for phys_addr_t overflows in early_init_dt_add_memory_arch)
> > corrected early_init_dt_add_memory_arch to account for
On Tue, 8 Jul 2014 09:24:08 +0200 (CEST), Nicolas Pitre
nicolas.pi...@linaro.org wrote:
On Mon, 7 Jul 2014, Laura Abbott wrote:
Commit a67a6ed15513541579d38bcbd127e7be170710e5
(of: Check for phys_addr_t overflows in early_init_dt_add_memory_arch)
corrected early_init_dt_add_memory_arch
On Sat, 05 Jul 2014 11:31:39 -0700, Joe Perches wrote:
> On Sat, 2014-07-05 at 19:20 +0100, Maciej W. Rozycki wrote:
> > On Sat, 5 Jul 2014, Joe Perches wrote:
> > > I don't think %#p is valid so it
> > > shouldn't have been set by #.
> >
> > Huh? As recently as last Wednesday you pointed me
On Sat, 05 Jul 2014 11:31:39 -0700, Joe Perches j...@perches.com wrote:
On Sat, 2014-07-05 at 19:20 +0100, Maciej W. Rozycki wrote:
On Sat, 5 Jul 2014, Joe Perches wrote:
I don't think %#p is valid so it
shouldn't have been set by #.
Huh? As recently as last Wednesday you pointed
On Sun, Jul 6, 2014 at 8:24 PM, Linus Torvalds
wrote:
> On Sun, Jul 6, 2014 at 2:37 AM, Grant Likely wrote:
>>
>> Can you pull this bug fix into your tree please?
>
> I took it, but I think both your explanation and the patch itself is
> actually crap. It may fix the i
Hi Linus,
Can you pull this bug fix into your tree please?
Thanks,
g.
The following changes since commit a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee:
Linux 3.16-rc2 (2014-06-21 19:02:54 -1000)
are available in the git repository at:
git://git.secretlab.ca/git/linux tags/dt-for-linus
for
Hi Linus,
Can you pull this bug fix into your tree please?
Thanks,
g.
The following changes since commit a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee:
Linux 3.16-rc2 (2014-06-21 19:02:54 -1000)
are available in the git repository at:
git://git.secretlab.ca/git/linux tags/dt-for-linus
for
On Sun, Jul 6, 2014 at 8:24 PM, Linus Torvalds
torva...@linux-foundation.org wrote:
On Sun, Jul 6, 2014 at 2:37 AM, Grant Likely grant.lik...@linaro.org wrote:
Can you pull this bug fix into your tree please?
I took it, but I think both your explanation and the patch itself is
actually crap
, and drivers are responsible for getting rid of any
child devices that weren't created by of_platform_populate.
Signed-off-by: Grant Likely
Cc: Pawel Moll
Cc: Pantelis Antoniou
---
drivers/of/platform.c | 32 +---
include/linux/of.h | 1 +
include
, and drivers are responsible for getting rid of any
child devices that weren't created by of_platform_populate.
Signed-off-by: Grant Likely grant.lik...@linaro.org
Cc: Pawel Moll pawel.m...@arm.com
Cc: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/of/platform.c | 32
On Wed, 25 Jun 2014 12:20:16 -0700, Dan Malek wrote:
>
> On Jun 25, 2014, at 7:48 AM, Pantelis Antoniou
> wrote:
>
> >>> +int of_transaction_commit(struct of_transaction *oft);
> >>
> >> How about of_transaction_apply()?
> >>
> >
> > Sure.
>
> LOL! Panto, you give in too easily :)
>
>
On Wed, 25 Jun 2014 12:20:16 -0700, Dan Malek dan.ma...@konsulko.com wrote:
On Jun 25, 2014, at 7:48 AM, Pantelis Antoniou
pantelis.anton...@konsulko.com wrote:
+int of_transaction_commit(struct of_transaction *oft);
How about of_transaction_apply()?
Sure.
LOL! Panto, you
On Tue, 24 Jun 2014 10:10:01 +0200, Alexander Sverdlin
wrote:
> Hi Pantelis, Grant,
>
> On 23/06/14 20:33, Ioan Nicu wrote:
> >>> On 22/06/14 11:40, ext Pantelis Antoniou wrote:
> Introduce helper functions for working with the live DT tree,
> all of them related to dynamically
On Tue, 24 Jun 2014 10:10:01 +0200, Alexander Sverdlin
alexander.sverd...@nsn.com wrote:
Hi Pantelis, Grant,
On 23/06/14 20:33, Ioan Nicu wrote:
On 22/06/14 11:40, ext Pantelis Antoniou wrote:
Introduce helper functions for working with the live DT tree,
all of them related to
On Mon, 23 Jun 2014 21:00:39 +0300, Pantelis Antoniou
wrote:
> Hi Guenter,
>
> On Jun 23, 2014, at 8:58 PM, Guenter Roeck wrote:
>
> > On 06/22/2014 02:40 AM, Pantelis Antoniou wrote:
> >> __of_find_node_by_full_name recursively searches for a matching node
> >> with the given full name
701 - 800 of 3331 matches
Mail list logo