, node-full_name);
Which can be written now as:
pr_info(Frobbing node %pO\n, node);
More fine-grained control of formatting includes printing the name,
flag, path-spec name, reference count and others, explained in the
documentation entry.
Signed-off-by: Pantelis Antoniou pantelis.anton
Hi Jason,
On Jan 21, 2015, at 22:27 , Jason Gunthorpe jguntho...@obsidianresearch.com
wrote:
On Wed, Jan 21, 2015 at 06:33:12PM +0200, Pantelis Antoniou wrote:
Hi Alan,
On Jan 21, 2015, at 18:01 , One Thousand Gnomes
gno...@lxorguk.ukuu.org.uk wrote:
On Thu, 15 Jan 2015 22:54:46
Hi Joe,
> On Jan 20, 2015, at 19:59 , Joe Perches wrote:
>
> On Tue, 2015-01-20 at 16:52 +0200, Pantelis Antoniou wrote:
>> Hi Rob,
>>
>>> On Jan 20, 2015, at 16:47 , Rob Herring wrote:
>>>
>>> On Tue, Jan 20, 2015 at 8:34 AM, Pantelis Anto
Hi Geert,
> On Jan 20, 2015, at 17:24 , Geert Uytterhoeven wrote:
>
> On Tue, Jan 20, 2015 at 3:47 PM, Rob Herring wrote:
>>> + Examples:
>>> +
>>> + %pO /foo/bar@0 - Node full name
>>> + %pO0/foo/bar@0 - Same as above
>>> + %pO1
Hi Rob,
> On Jan 20, 2015, at 16:47 , Rob Herring wrote:
>
> On Tue, Jan 20, 2015 at 8:34 AM, Pantelis Antoniou
> wrote:
>> 90% of the usage of device node's full_name is printing it out
>> in a kernel message. Preparing for the eventual delayed allocation
>> in
%s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pO\n", node);
A verbose format specifier (1-2) can be used to print extra
information about the node like its phandle and node flags.
Signed-off-by: Pantelis Antoniou
---
Documentation/
, node-full_name);
Which can be written now as:
pr_info(Frobbing node %pO\n, node);
A verbose format specifier (1-2) can be used to print extra
information about the node like its phandle and node flags.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
Documentation/printk
Hi Rob,
On Jan 20, 2015, at 16:47 , Rob Herring robherri...@gmail.com wrote:
On Tue, Jan 20, 2015 at 8:34 AM, Pantelis Antoniou
pantelis.anton...@konsulko.com wrote:
90% of the usage of device node's full_name is printing it out
in a kernel message. Preparing for the eventual delayed
Hi Geert,
On Jan 20, 2015, at 17:24 , Geert Uytterhoeven ge...@linux-m68k.org wrote:
On Tue, Jan 20, 2015 at 3:47 PM, Rob Herring robherri...@gmail.com wrote:
+ Examples:
+
+ %pO /foo/bar@0 - Node full name
+ %pO0/foo/bar@0 - Same as
Hi Joe,
On Jan 20, 2015, at 19:59 , Joe Perches j...@perches.com wrote:
On Tue, 2015-01-20 at 16:52 +0200, Pantelis Antoniou wrote:
Hi Rob,
On Jan 20, 2015, at 16:47 , Rob Herring robherri...@gmail.com wrote:
On Tue, Jan 20, 2015 at 8:34 AM, Pantelis Antoniou
pantelis.anton
urned immediately. So it
> doesn't look like accessing sysfs attributes actually takes a reference
> to the underlying i2c_adapter."
>
> Let's get rid of this code before really nobody knows/understands
> anymore what this was for and if it has a subtle use.
>
Hehe, rather o
to the underlying i2c_adapter.
Let's get rid of this code before really nobody knows/understands
anymore what this was for and if it has a subtle use.
Hehe, rather obliquely tested by me too :)
Please save the reference counter hackers sanity and merge this :)
Reported-by: Pantelis Antoniou
Hi Stephen,
> On Jan 16, 2015, at 04:22 , Stephen Rothwell wrote:
>
> Hi Wolfram,
>
> After merging the i2c tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/i2c/i2c-core.c: In function 'i2c_unregister_device':
> drivers/i2c/i2c-core.c:1016:3: error:
Hi Alan,
> On Jan 15, 2015, at 22:45 , One Thousand Gnomes
> wrote:
>
> On Thu, 15 Jan 2015 11:47:26 -0700
> Jason Gunthorpe wrote:
>> It is a novel idea, my concern would be that embedding the FPGA in the
>> DT makes it permanent unswappable kernel memory.
>> Not having the kernel hold the
Hi Alan,
On Jan 15, 2015, at 22:45 , One Thousand Gnomes gno...@lxorguk.ukuu.org.uk
wrote:
On Thu, 15 Jan 2015 11:47:26 -0700
Jason Gunthorpe jguntho...@obsidianresearch.com wrote:
It is a novel idea, my concern would be that embedding the FPGA in the
DT makes it permanent unswappable
Hi Stephen,
On Jan 16, 2015, at 04:22 , Stephen Rothwell s...@canb.auug.org.au wrote:
Hi Wolfram,
After merging the i2c tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/i2c/i2c-core.c: In function 'i2c_unregister_device':
drivers/i2c/i2c-core.c:1016:3:
Hi Jason,
> On Jan 14, 2015, at 20:12 , Jason Gunthorpe
> wrote:
>
> On Wed, Jan 14, 2015 at 04:06:17PM +, One Thousand Gnomes wrote:
>
>> and I think you effectively have the user usage covered here for such
>> things. It much like GPIO pins - we can describe them but we can also
>>
Hi Jason,
On Jan 14, 2015, at 20:12 , Jason Gunthorpe jguntho...@obsidianresearch.com
wrote:
On Wed, Jan 14, 2015 at 04:06:17PM +, One Thousand Gnomes wrote:
and I think you effectively have the user usage covered here for such
things. It much like GPIO pins - we can describe them
Hi Alan,
> On Jan 13, 2015, at 18:28 , One Thousand Gnomes
> wrote:
>
> On Mon, 12 Jan 2015 14:43:14 -0700
> Jason Gunthorpe wrote:
>
>> On Mon, Jan 12, 2015 at 09:01:34PM +, One Thousand Gnomes wrote:
>>> There are plenty of people today who treat the FPGA as an entirely
>>> dynamic
Hi Alan,
On Jan 13, 2015, at 18:28 , One Thousand Gnomes gno...@lxorguk.ukuu.org.uk
wrote:
On Mon, 12 Jan 2015 14:43:14 -0700
Jason Gunthorpe jguntho...@obsidianresearch.com wrote:
On Mon, Jan 12, 2015 at 09:01:34PM +, One Thousand Gnomes wrote:
There are plenty of people today who
Hi Pavel,
> On Jan 13, 2015, at 09:28 , Pavel Machek wrote:
>
> Hi!
>
>> +What: /sys/class/fpga_manager//firmware
>> +Date: October 2014
>> +KernelVersion: 3.18
>> +Contact:Alan Tull
>> +Description:Name of
Hi Pavel,
On Jan 13, 2015, at 09:28 , Pavel Machek pa...@denx.de wrote:
Hi!
+What: /sys/class/fpga_manager/fpga/firmware
+Date: October 2014
+KernelVersion: 3.18
+Contact:Alan Tull at...@opensource.altera.com
+Description:Name of the FPGA
Hi Pavel,
> On Jan 9, 2015, at 22:56 , Pavel Machek wrote:
>
> On Fri 2015-01-09 13:14:24, atull wrote:
>> On Wed, 7 Jan 2015, Pavel Machek wrote:
>>
>>> On Tue 2015-01-06 14:13:37, at...@opensource.altera.com wrote:
+
+What: /sys/class/fpga_manager//firmware
+Date:
Hi Pavel,
On Jan 9, 2015, at 22:56 , Pavel Machek pa...@denx.de wrote:
On Fri 2015-01-09 13:14:24, atull wrote:
On Wed, 7 Jan 2015, Pavel Machek wrote:
On Tue 2015-01-06 14:13:37, at...@opensource.altera.com wrote:
+
+What: /sys/class/fpga_manager/fpga/firmware
+Date:
Hi Pavel,
> On Jan 2, 2015, at 07:12 , Pavel Machek wrote:
>
>
>> +What: /sys/class/fpga_manager//firmware
>> +Date: October 2014
>> +KernelVersion: 3.18
>> +Contact:Alan Tull
>> +Description:Name of the FPGA image file to load using firmware
>>
Hi Pavel,
On Jan 2, 2015, at 07:12 , Pavel Machek pa...@denx.de wrote:
+What: /sys/class/fpga_manager/fpga/firmware
+Date: October 2014
+KernelVersion: 3.18
+Contact:Alan Tull at...@opensource.altera.com
+Description:Name of the FPGA image
Hi Grant,
> On Dec 8, 2014, at 19:50 , Grant Likely wrote:
>
> On Sat, 6 Dec 2014 14:55:33 +0100
> , Pavel Machek
> wrote:
>> Hi!
>>
I am accustomed to doing 'echo -n' for most of sysfs anyway. Once in a
while I am a bonehead and forget the '-n' and spend a few minutes
Hi Grant,
On Dec 8, 2014, at 19:50 , Grant Likely grant.lik...@linaro.org wrote:
On Sat, 6 Dec 2014 14:55:33 +0100
, Pavel Machek pa...@denx.de
wrote:
Hi!
I am accustomed to doing 'echo -n' for most of sysfs anyway. Once in a
while I am a bonehead and forget the '-n' and spend a few
Hi Alexandre,
> On Dec 4, 2014, at 17:10 , Alexandre Courbot wrote:
>
> On Fri, Dec 5, 2014 at 12:02 AM, Pantelis Antoniou
> wrote:
>> Hi Alexandre,
>>
>>> On Dec 4, 2014, at 16:58 , Alexandre Courbot wrote:
>>>
>>> On Thu, Dec 4, 2014
Hi Alexandre,
> On Dec 4, 2014, at 16:58 , Alexandre Courbot wrote:
>
> On Thu, Dec 4, 2014 at 11:47 PM, Pantelis Antoniou
> wrote:
>> Hi Alexandre,
>>
>>> On Dec 4, 2014, at 16:41 , Alexandre Courbot wrote:
>>>
>>> On Thu, Dec 4, 2014
Hi Alexandre,
> On Dec 4, 2014, at 16:41 , Alexandre Courbot wrote:
>
> On Thu, Dec 4, 2014 at 11:27 PM, Pantelis Antoniou
> wrote:
>> Hi Alexandre,
>>
>> I tried to stay away while things are being fleshed out but…
>>
>>> On Dec 4, 2014, at 16:1
Hi Alexandre,
I tried to stay away while things are being fleshed out but…
> On Dec 4, 2014, at 16:15 , Alexandre Courbot wrote:
>
> On Wed, Dec 3, 2014 at 1:12 AM, Maxime Ripard
> wrote:
>> On Tue, Dec 02, 2014 at 03:29:46PM +0100, Linus Walleij wrote:
>>> On Tue, Dec 2, 2014 at 3:13 PM,
Hi Alexandre,
I tried to stay away while things are being fleshed out but…
On Dec 4, 2014, at 16:15 , Alexandre Courbot gnu...@gmail.com wrote:
On Wed, Dec 3, 2014 at 1:12 AM, Maxime Ripard
maxime.rip...@free-electrons.com wrote:
On Tue, Dec 02, 2014 at 03:29:46PM +0100, Linus Walleij
Hi Alexandre,
On Dec 4, 2014, at 16:41 , Alexandre Courbot gnu...@gmail.com wrote:
On Thu, Dec 4, 2014 at 11:27 PM, Pantelis Antoniou
pa...@antoniou-consulting.com wrote:
Hi Alexandre,
I tried to stay away while things are being fleshed out but…
On Dec 4, 2014, at 16:15 , Alexandre
Hi Alexandre,
On Dec 4, 2014, at 16:58 , Alexandre Courbot gnu...@gmail.com wrote:
On Thu, Dec 4, 2014 at 11:47 PM, Pantelis Antoniou
pa...@antoniou-consulting.com wrote:
Hi Alexandre,
On Dec 4, 2014, at 16:41 , Alexandre Courbot gnu...@gmail.com wrote:
On Thu, Dec 4, 2014 at 11:27 PM
Hi Alexandre,
On Dec 4, 2014, at 17:10 , Alexandre Courbot gnu...@gmail.com wrote:
On Fri, Dec 5, 2014 at 12:02 AM, Pantelis Antoniou
pa...@antoniou-consulting.com wrote:
Hi Alexandre,
On Dec 4, 2014, at 16:58 , Alexandre Courbot gnu...@gmail.com wrote:
On Thu, Dec 4, 2014 at 11:47 PM
Hi Grant,
> On Nov 25, 2014, at 12:28 , Grant Likely wrote:
>
> Hi Pantelis,
>
> Comments below...
>
> On Tue, 28 Oct 2014 22:36:00 +0200
> , Pantelis Antoniou
> wrote:
>> Add a runtime interface to using configfs for generic device tree overlay
>> usa
Hi Grant,
On Nov 25, 2014, at 12:28 , Grant Likely grant.lik...@secretlab.ca wrote:
Hi Pantelis,
Comments below...
On Tue, 28 Oct 2014 22:36:00 +0200
, Pantelis Antoniou pantelis.anton...@konsulko.com
wrote:
Add a runtime interface to using configfs for generic device tree overlay
Hi Grant,
> On Nov 21, 2014, at 17:33 , Grant Likely wrote:
>
> On Wed, 29 Oct 2014 12:22:04 +
> , Mark Brown
> wrote:
>> On Wed, Oct 29, 2014 at 01:48:06PM +0200, Pantelis Antoniou wrote:
>>>> On Oct 29, 2014, at 12:14 , Mark Brown wrote:
>>
>&
Hi Grant,
> On Nov 21, 2014, at 17:08 , Grant Likely wrote:
>
> On Thu, 20 Nov 2014 18:03:33 -0800
> , Guenter Roeck
> wrote:
>> On 11/20/2014 05:53 PM, Grant Likely wrote:
>>> On Tue, 28 Oct 2014 22:36:03 +0200
>>> , Pantelis Antoniou
>>
Hi Grant,
On Nov 21, 2014, at 17:08 , Grant Likely grant.lik...@secretlab.ca wrote:
On Thu, 20 Nov 2014 18:03:33 -0800
, Guenter Roeck li...@roeck-us.net
wrote:
On 11/20/2014 05:53 PM, Grant Likely wrote:
On Tue, 28 Oct 2014 22:36:03 +0200
, Pantelis Antoniou pantelis.anton
Hi Grant,
On Nov 21, 2014, at 17:33 , Grant Likely grant.lik...@secretlab.ca wrote:
On Wed, 29 Oct 2014 12:22:04 +
, Mark Brown broo...@kernel.org
wrote:
On Wed, Oct 29, 2014 at 01:48:06PM +0200, Pantelis Antoniou wrote:
On Oct 29, 2014, at 12:14 , Mark Brown broo...@kernel.org wrote
Hi Grant,
> On Nov 14, 2014, at 01:36 , Grant Likely wrote:
>
> On Tue, 28 Oct 2014 22:35:58 +0200
> , Pantelis Antoniou
> wrote:
>> Introduce DT overlay support.
>>
>> Makes it possible to dynamically overlay a part of the kernel's
>> tree with anot
Hi Grant,
On Nov 14, 2014, at 01:36 , Grant Likely grant.lik...@secretlab.ca wrote:
On Tue, 28 Oct 2014 22:35:58 +0200
, Pantelis Antoniou pantelis.anton...@konsulko.com
wrote:
Introduce DT overlay support.
Makes it possible to dynamically overlay a part of the kernel's
tree
Hi Grant,
> On Nov 14, 2014, at 01:29 , Grant Likely wrote:
>
> On Tue, 28 Oct 2014 22:36:01 +0200
> , Pantelis Antoniou
> wrote:
>> Add OF notifier handler needed for creating/destroying platform devices
>> according to dynamic runtime changes in the DT l
Hi Grant,
On Nov 14, 2014, at 01:29 , Grant Likely grant.lik...@secretlab.ca wrote:
On Tue, 28 Oct 2014 22:36:01 +0200
, Pantelis Antoniou pantelis.anton...@konsulko.com
wrote:
Add OF notifier handler needed for creating/destroying platform devices
according to dynamic runtime changes
Hi Grant,
> On Nov 6, 2014, at 14:46 , Grant Likely wrote:
>
> On Wed, Nov 5, 2014 at 8:08 PM, Pantelis Antoniou
> wrote:
>> Hi Grant,
>>
>>> On Nov 5, 2014, at 22:01 , Grant Likely wrote:
>>>
>>> On Tue, 28 Oct 2014 22:33:52 +0200
>&g
Hi Grant,
> On Nov 5, 2014, at 23:39 , Grant Likely wrote:
>
> On Tue, 28 Oct 2014 22:33:51 +0200
> , Pantelis Antoniou
> wrote:
>> Make sure we call notifier only when the node is attached.
>> When a detatched tree is being constructed we do not want the
Hi Grant,
On Nov 5, 2014, at 23:39 , Grant Likely grant.lik...@secretlab.ca wrote:
On Tue, 28 Oct 2014 22:33:51 +0200
, Pantelis Antoniou pantelis.anton...@konsulko.com
wrote:
Make sure we call notifier only when the node is attached.
When a detatched tree is being constructed we do
Hi Grant,
On Nov 6, 2014, at 14:46 , Grant Likely grant.lik...@secretlab.ca wrote:
On Wed, Nov 5, 2014 at 8:08 PM, Pantelis Antoniou
pantelis.anton...@konsulko.com wrote:
Hi Grant,
On Nov 5, 2014, at 22:01 , Grant Likely grant.lik...@secretlab.ca wrote:
On Tue, 28 Oct 2014 22:33:52
Hi Grant,
> On Nov 5, 2014, at 22:01 , Grant Likely wrote:
>
> On Tue, 28 Oct 2014 22:33:52 +0200
> , Pantelis Antoniou
> wrote:
>> The notifier now includes the old_prop argument when updating
>> properties, propagate this API to changeset internals while
>>
Hi Grant,
On Nov 5, 2014, at 22:01 , Grant Likely grant.lik...@secretlab.ca wrote:
On Tue, 28 Oct 2014 22:33:52 +0200
, Pantelis Antoniou pantelis.anton...@konsulko.com
wrote:
The notifier now includes the old_prop argument when updating
properties, propagate this API to changeset
Hi Benoit,
> On Oct 29, 2014, at 18:34 , Benoit Parrot wrote:
>
> Pantelis,
>
> Thanks for the feedback.
>
> Pantelis Antoniou wrote on Wed [2014-Oct-29
> 10:53:44 +0200]:
>> Hi Benoit,
>>
>>> On Oct 21, 2014, at 23:09 , Benoit Parrot w
Hi
> On Oct 29, 2014, at 12:14 , Mark Brown wrote:
>
> On Wed, Oct 29, 2014 at 10:40:37AM +0200, Pantelis Antoniou wrote:
>> Dynamically inserting spi device nodes requires the use of a single
>> device registration method. Rework and export it.
>>
>> Method
Hi Benoit,
> On Oct 21, 2014, at 23:09 , Benoit Parrot wrote:
>
> Based on Boris Brezillion work this is a reworked patch
> of his initial GPIO hogging mechanism.
> This patch provides a way to initally configure specific GPIO
> when the gpio controller is probe.
>
> The actual DT scanning to
bug with parameter on of_register_spi_device().
Signed-off-by: Pantelis Antoniou
---
drivers/spi/spi.c | 255 +-
1 file changed, 157 insertions(+), 98 deletions(-)
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index ebcb33d..4778366 10
Hi Alexander,
> On Oct 29, 2014, at 09:44 , Alexander Sverdlin
> wrote:
>
> Hello Pantelis,
>
> I've pointed to this already, but anyway:
>
> On 28/10/14 21:36, ext Pantelis Antoniou wrote:
>> Dynamically inserting spi device nodes requires the use of a single
Hi Greg,
> On Oct 29, 2014, at 04:54 , Greg Kroah-Hartman
> wrote:
>
> On Tue, Oct 28, 2014 at 10:30:32PM +0200, Pantelis Antoniou wrote:
>> ConfigFS lacked binary attributes up until now. This patch
>> introduces support for binary attributes in a somewhat similar
&
Hi Greg,
On Oct 29, 2014, at 04:54 , Greg Kroah-Hartman gre...@linuxfoundation.org
wrote:
On Tue, Oct 28, 2014 at 10:30:32PM +0200, Pantelis Antoniou wrote:
ConfigFS lacked binary attributes up until now. This patch
introduces support for binary attributes in a somewhat similar
manner
Hi Alexander,
On Oct 29, 2014, at 09:44 , Alexander Sverdlin alexander.sverd...@nsn.com
wrote:
Hello Pantelis,
I've pointed to this already, but anyway:
On 28/10/14 21:36, ext Pantelis Antoniou wrote:
Dynamically inserting spi device nodes requires the use of a single
device
with parameter on of_register_spi_device().
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/spi/spi.c | 255 +-
1 file changed, 157 insertions(+), 98 deletions(-)
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index
Hi Benoit,
On Oct 21, 2014, at 23:09 , Benoit Parrot bpar...@ti.com wrote:
Based on Boris Brezillion work this is a reworked patch
of his initial GPIO hogging mechanism.
This patch provides a way to initally configure specific GPIO
when the gpio controller is probe.
The actual DT
Hi
On Oct 29, 2014, at 12:14 , Mark Brown broo...@kernel.org wrote:
On Wed, Oct 29, 2014 at 10:40:37AM +0200, Pantelis Antoniou wrote:
Dynamically inserting spi device nodes requires the use of a single
device registration method. Rework and export it.
Methods to lookup a device/master
Hi Benoit,
On Oct 29, 2014, at 18:34 , Benoit Parrot bpar...@ti.com wrote:
Pantelis,
Thanks for the feedback.
Pantelis Antoniou pantelis.anton...@gmail.com wrote on Wed [2014-Oct-29
10:53:44 +0200]:
Hi Benoit,
On Oct 21, 2014, at 23:09 , Benoit Parrot bpar...@ti.com wrote
This patch adds overlay tests to the OF selftest.
It tests overlay device addition/removal and whether
the apply revert sequence is correct.
Changes since V1:
* Added local fixups entries.
Signed-off-by: Pantelis Antoniou
---
Documentation/devicetree/bindings/selftest.txt | 14 +
drivers
Add OF notifier handler needed for creating/destroying platform devices
according to dynamic runtime changes in the DT live tree.
Signed-off-by: Pantelis Antoniou
---
drivers/base/platform.c | 18 +--
drivers/of/platform.c | 78
Dynamically inserting spi device nodes requires the use of a single
device registration method. Rework and export it.
Methods to lookup a device/master using a device node are added
as well, of_find_spi_master_by_node() & of_find_spi_device_by_node().
Signed-off-by: Pantelis Anto
Add OF notifier handler needed for creating/destroying i2c devices
according to dynamic runtime changes in the DT live tree.
Signed-off-by: Pantelis Antoniou
---
drivers/i2c/i2c-core.c | 79 +-
1 file changed, 78 insertions(+), 1 deletion(-)
diff
Add OF notifier handler needed for creating/destroying spi devices
according to dynamic runtime changes in the DT live tree.
Signed-off-by: Pantelis Antoniou
---
drivers/spi/spi.c | 78 ++-
1 file changed, 77 insertions(+), 1 deletion(-)
diff
Dynamically inserting i2c client device nodes requires the use
of a single device registration method. Rework and export it.
Signed-off-by: Pantelis Antoniou
---
drivers/i2c/i2c-core.c | 99 +++---
include/linux/i2c.h| 10 +
2 files changed
ectory.
# rmdir /config/device-tree/overlays/foo
Changes since v1:
* of_resolve() -> of_resolve_phandles().
Signed-off-by: Pantelis Antoniou
---
drivers/of/Kconfig| 7 ++
drivers/of/Makefile | 1 +
drivers/of/configfs.c | 340 ++
3 file
ndle ones.
- Change order of node attachment, so that the special property update
works.
Signed-off-by: Pantelis Antoniou
---
Documentation/devicetree/overlay-notes.txt | 137 ++
drivers/of/Kconfig | 7 +
drivers/of/Makefile| 1 +
dri
ecific board (beaglebone).
* Introduced a platform agnostic interface using /proc/device-tree-overlay
* Various bug fixes related to i2c device handling have been squashed in.
Pantelis Antoniou (9):
OF: Introduce Device Tree resolve support.
OF: Introduce DT overlay support.
OF: selftest: Add ove
Make sure we call notifier only when the node is attached.
When a detatched tree is being constructed we do not want the
notifiers to fire at all.
Signed-off-by: Pantelis Antoniou
---
drivers/of/base.c| 9 ++---
drivers/of/dynamic.c | 5 +
2 files changed, 7 insertions(+), 7
Introduce of_reconfig_get_state_change() which allows an of notifier
to query about device state changes.
Signed-off-by: Pantelis Antoniou
---
drivers/of/dynamic.c | 96
include/linux/of.h | 1 +
2 files changed, 97 insertions(+)
diff
The notifier now includes the old_prop argument when updating
properties, propagate this API to changeset internals while
also retaining the old behaviour of retrieving the old_property
when NULL is passed.
Signed-off-by: Pantelis Antoniou
---
drivers/of/dynamic.c | 18
Update the selftests to using the new (and more readable) local
fixups format.
Signed-off-by: Pantelis Antoniou
---
drivers/of/testcase-data/testcases.dts | 61 +-
1 file changed, 37 insertions(+), 24 deletions(-)
diff --git a/drivers/of/testcase-data
The following patch-series implements a number of fixes to the
dynamic DT handling of the kernel, and provides infrastructure that
the upcoming Device Tree Overlay patchset will use.
Pantelis Antoniou (5):
of: resolver: Switch to new local fixups format.
of: testcases: Update with new local
The original resolver format is way too cryptic, switch
to using a tree based format that gets rid of repetitions,
is more compact and readable.
Signed-off-by: Pantelis Antoniou
---
drivers/of/resolver.c | 191 +++---
1 file changed, 165 insertions
instead of kmalloc.
* Renamed bin_attribute members.
* Implemented maximum limit of attribute.
* Cosmetic, whitespace & checkpatch fixes.
Signed-off-by: Pantelis Antoniou
---
Documentation/filesystems/configfs/configfs.txt | 71 +-
fs/configfs/configfs_internal.h | 16 +-
instead of kmalloc.
* Renamed bin_attribute members.
* Implemented maximum limit of attribute.
* Cosmetic, whitespace checkpatch fixes.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
Documentation/filesystems/configfs/configfs.txt | 71 +-
fs/configfs/configfs_internal.h
The original resolver format is way too cryptic, switch
to using a tree based format that gets rid of repetitions,
is more compact and readable.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/of/resolver.c | 191 +++---
1
The following patch-series implements a number of fixes to the
dynamic DT handling of the kernel, and provides infrastructure that
the upcoming Device Tree Overlay patchset will use.
Pantelis Antoniou (5):
of: resolver: Switch to new local fixups format.
of: testcases: Update with new local
Update the selftests to using the new (and more readable) local
fixups format.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/of/testcase-data/testcases.dts | 61 +-
1 file changed, 37 insertions(+), 24 deletions(-)
diff --git
The notifier now includes the old_prop argument when updating
properties, propagate this API to changeset internals while
also retaining the old behaviour of retrieving the old_property
when NULL is passed.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/of/dynamic.c
Introduce of_reconfig_get_state_change() which allows an of notifier
to query about device state changes.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/of/dynamic.c | 96
include/linux/of.h | 1 +
2 files
Make sure we call notifier only when the node is attached.
When a detatched tree is being constructed we do not want the
notifiers to fire at all.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/of/base.c| 9 ++---
drivers/of/dynamic.c | 5 +
2 files
agnostic interface using /proc/device-tree-overlay
* Various bug fixes related to i2c device handling have been squashed in.
Pantelis Antoniou (9):
OF: Introduce Device Tree resolve support.
OF: Introduce DT overlay support.
OF: selftest: Add overlay self-test support.
OF: DT-Overlay configfs
.
- Change order of node attachment, so that the special property update
works.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
Documentation/devicetree/overlay-notes.txt | 137 ++
drivers/of/Kconfig | 7 +
drivers/of/Makefile
.
# rmdir /config/device-tree/overlays/foo
Changes since v1:
* of_resolve() - of_resolve_phandles().
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/of/Kconfig| 7 ++
drivers/of/Makefile | 1 +
drivers/of/configfs.c | 340
Add OF notifier handler needed for creating/destroying spi devices
according to dynamic runtime changes in the DT live tree.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/spi/spi.c | 78 ++-
1 file changed, 77
Dynamically inserting i2c client device nodes requires the use
of a single device registration method. Rework and export it.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/i2c/i2c-core.c | 99 +++---
include/linux/i2c.h
Add OF notifier handler needed for creating/destroying i2c devices
according to dynamic runtime changes in the DT live tree.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/i2c/i2c-core.c | 79 +-
1 file changed, 78
Dynamically inserting spi device nodes requires the use of a single
device registration method. Rework and export it.
Methods to lookup a device/master using a device node are added
as well, of_find_spi_master_by_node() of_find_spi_device_by_node().
Signed-off-by: Pantelis Antoniou
Add OF notifier handler needed for creating/destroying platform devices
according to dynamic runtime changes in the DT live tree.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
drivers/base/platform.c | 18 +--
drivers/of/platform.c | 78
This patch adds overlay tests to the OF selftest.
It tests overlay device addition/removal and whether
the apply revert sequence is correct.
Changes since V1:
* Added local fixups entries.
Signed-off-by: Pantelis Antoniou pantelis.anton...@konsulko.com
---
Documentation/devicetree/bindings
Hi Steffen,
> On Oct 27, 2014, at 20:00 , Steffen Trumtrar
> wrote:
>
> On Mon, Oct 27, 2014 at 05:45:03PM +0200, Pantelis Antoniou wrote:
>> Hi Stefan,
>>
>>> On Oct 27, 2014, at 17:32 , Steffen Trumtrar
>>> wrote:
>>>
>>> On Mo
Hi Mark,
> On Oct 27, 2014, at 19:17 , Mark Brown wrote:
>
> On Mon, Oct 27, 2014 at 05:45:03PM +0200, Pantelis Antoniou wrote:
>
> Please fix your mail client to word wrap at less than 80 columns.
>
>> Well, it’s not my speciality, but my understanding is that FPGA
Hi Steffen,
> On Oct 27, 2014, at 17:23 , Steffen Trumtrar
> wrote:
>
> Hi!
>
> On Mon, Oct 27, 2014 at 01:54:20PM +0200, Pantelis Antoniou wrote:
>> Hi Stefen,
>>
>>> On Oct 25, 2014, at 17:42 , Steffen Trumtrar
>>> wrote:
>>>
>
Hi Stefan,
> On Oct 27, 2014, at 17:32 , Steffen Trumtrar
> wrote:
>
> On Mon, Oct 27, 2014 at 05:05:29PM +0200, Pantelis Antoniou wrote:
>> Hi Mark,
>>
>>> On Oct 27, 2014, at 17:01 , Mark Brown wrote:
>>>
>>> On Mon, Oct 27, 2014 at 01:4
701 - 800 of 1468 matches
Mail list logo