[PATCH] of: Custom printk format specifier for device node

2015-01-21 Thread Pantelis Antoniou
, 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

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-21 Thread Pantelis Antoniou
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

Re: [PATCH] of: Custom printk format specifier for device node

2015-01-20 Thread Pantelis Antoniou
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

Re: [PATCH] of: Custom printk format specifier for device node

2015-01-20 Thread Pantelis Antoniou
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

Re: [PATCH] of: Custom printk format specifier for device node

2015-01-20 Thread Pantelis Antoniou
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

[PATCH] of: Custom printk format specifier for device node

2015-01-20 Thread Pantelis Antoniou
%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/

[PATCH] of: Custom printk format specifier for device node

2015-01-20 Thread Pantelis Antoniou
, 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

Re: [PATCH] of: Custom printk format specifier for device node

2015-01-20 Thread Pantelis Antoniou
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

Re: [PATCH] of: Custom printk format specifier for device node

2015-01-20 Thread Pantelis Antoniou
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

Re: [PATCH] of: Custom printk format specifier for device node

2015-01-20 Thread Pantelis Antoniou
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

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Pantelis Antoniou
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

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Pantelis Antoniou
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

Re: linux-next: build failure after merge of the i2c tree

2015-01-15 Thread 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:

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-15 Thread Pantelis Antoniou
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

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-15 Thread Pantelis Antoniou
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

Re: linux-next: build failure after merge of the i2c tree

2015-01-15 Thread Pantelis Antoniou
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:

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread Pantelis Antoniou
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 >>

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread Pantelis Antoniou
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

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-13 Thread Pantelis Antoniou
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

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-13 Thread Pantelis Antoniou
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

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-12 Thread Pantelis Antoniou
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

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-12 Thread Pantelis Antoniou
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

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-10 Thread Pantelis Antoniou
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:

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-10 Thread Pantelis Antoniou
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:

Re: [PATCH v7 2/4] fpga manager: add sysfs interface document

2015-01-02 Thread Pantelis Antoniou
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 >>

Re: [PATCH v7 2/4] fpga manager: add sysfs interface document

2015-01-02 Thread Pantelis Antoniou
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

Re: [PATCH v2 2/3] fpga manager: framework core

2014-12-08 Thread Pantelis Antoniou
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

Re: [PATCH v2 2/3] fpga manager: framework core

2014-12-08 Thread Pantelis Antoniou
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

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-12-04 Thread Pantelis Antoniou
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

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-12-04 Thread Pantelis Antoniou
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

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-12-04 Thread Pantelis Antoniou
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

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-12-04 Thread Pantelis Antoniou
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,

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-12-04 Thread Pantelis Antoniou
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

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-12-04 Thread Pantelis Antoniou
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

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-12-04 Thread Pantelis Antoniou
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

Re: [Patch v2 1/2] gpio: add GPIO hogging mechanism

2014-12-04 Thread Pantelis Antoniou
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

Re: [PATCH v8 3/8] OF: DT-Overlay configfs interface (v2)

2014-11-25 Thread Pantelis Antoniou
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

Re: [PATCH v8 3/8] OF: DT-Overlay configfs interface (v2)

2014-11-25 Thread Pantelis Antoniou
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

Re: [PATCH] of: spi: Export single device registration method and accessors (v2)

2014-11-21 Thread Pantelis Antoniou
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: >> >&

Re: [PATCH v8 6/8] OF: i2c: Add OF notifier handler

2014-11-21 Thread Pantelis Antoniou
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 >>

Re: [PATCH v8 6/8] OF: i2c: Add OF notifier handler

2014-11-21 Thread 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

Re: [PATCH] of: spi: Export single device registration method and accessors (v2)

2014-11-21 Thread Pantelis Antoniou
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

Re: [PATCH v8 1/8] OF: Introduce DT overlay support. (v2)

2014-11-17 Thread Pantelis Antoniou
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

Re: [PATCH v8 1/8] OF: Introduce DT overlay support. (v2)

2014-11-17 Thread Pantelis Antoniou
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

Re: [PATCH v8 4/8] OF: platform: Add OF notifier handler

2014-11-14 Thread Pantelis Antoniou
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

Re: [PATCH v8 4/8] OF: platform: Add OF notifier handler

2014-11-14 Thread Pantelis Antoniou
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

Re: [PATCH 4/5] of: Add old prop argument on OF_RECONFIG_UPDATE_PROPERTY

2014-11-06 Thread Pantelis Antoniou
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

Re: [PATCH 3/5] of: Only call notifiers when node is attached

2014-11-06 Thread Pantelis Antoniou
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

Re: [PATCH 3/5] of: Only call notifiers when node is attached

2014-11-06 Thread Pantelis Antoniou
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

Re: [PATCH 4/5] of: Add old prop argument on OF_RECONFIG_UPDATE_PROPERTY

2014-11-06 Thread Pantelis Antoniou
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

Re: [PATCH 4/5] of: Add old prop argument on OF_RECONFIG_UPDATE_PROPERTY

2014-11-05 Thread Pantelis Antoniou
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 >>

Re: [PATCH 4/5] of: Add old prop argument on OF_RECONFIG_UPDATE_PROPERTY

2014-11-05 Thread Pantelis Antoniou
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

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Pantelis Antoniou
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

Re: [PATCH] of: spi: Export single device registration method and accessors (v2)

2014-10-29 Thread Pantelis Antoniou
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

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Pantelis Antoniou
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

[PATCH] of: spi: Export single device registration method and accessors (v2)

2014-10-29 Thread Pantelis Antoniou
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

Re: [PATCH v8 7/8] of: spi: Export single device registration method and accessors

2014-10-29 Thread Pantelis Antoniou
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

Re: [PATCH] configfs: Implement binary attributes (v3)

2014-10-29 Thread Pantelis Antoniou
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 &

Re: [PATCH] configfs: Implement binary attributes (v3)

2014-10-29 Thread Pantelis Antoniou
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

Re: [PATCH v8 7/8] of: spi: Export single device registration method and accessors

2014-10-29 Thread Pantelis Antoniou
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

[PATCH] of: spi: Export single device registration method and accessors (v2)

2014-10-29 Thread Pantelis Antoniou
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

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Pantelis Antoniou
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

Re: [PATCH] of: spi: Export single device registration method and accessors (v2)

2014-10-29 Thread Pantelis Antoniou
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

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-10-29 Thread Pantelis Antoniou
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

[PATCH v8 2/8] OF: selftest: Add overlay self-test support. (v2)

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 4/8] OF: platform: Add OF notifier handler

2014-10-28 Thread 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 --- drivers/base/platform.c | 18 +-- drivers/of/platform.c | 78

[PATCH v8 7/8] of: spi: Export single device registration method and accessors

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 6/8] OF: i2c: Add OF notifier handler

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 8/8] OF: spi: Add OF notifier handler

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 5/8] of: i2c: Export single device registration method

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 3/8] OF: DT-Overlay configfs interface (v2)

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 1/8] OF: Introduce DT overlay support. (v2)

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 0/8] Device Tree Overlays - 8th time's the charm

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 3/5] of: Only call notifiers when node is attached

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 5/5] of: of_reconfig_get_state_change() of notifier helper.

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 4/5] of: Add old prop argument on OF_RECONFIG_UPDATE_PROPERTY

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 2/5] of: testcases: Update with new local fixups format

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 0/5] of: Resolver and dynamic updates

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 1/5] of: resolver: Switch to new local fixups format.

2014-10-28 Thread Pantelis Antoniou
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

[PATCH] configfs: Implement binary attributes (v3)

2014-10-28 Thread Pantelis Antoniou
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 +-

[PATCH] configfs: Implement binary attributes (v3)

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 1/5] of: resolver: Switch to new local fixups format.

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 0/5] of: Resolver and dynamic updates

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 2/5] of: testcases: Update with new local fixups format

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 4/5] of: Add old prop argument on OF_RECONFIG_UPDATE_PROPERTY

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 5/5] of: of_reconfig_get_state_change() of notifier helper.

2014-10-28 Thread Pantelis Antoniou
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

[PATCH 3/5] of: Only call notifiers when node is attached

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 0/8] Device Tree Overlays - 8th time's the charm

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 1/8] OF: Introduce DT overlay support. (v2)

2014-10-28 Thread Pantelis Antoniou
. - 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

[PATCH v8 3/8] OF: DT-Overlay configfs interface (v2)

2014-10-28 Thread Pantelis Antoniou
. # 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

[PATCH v8 8/8] OF: spi: Add OF notifier handler

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 5/8] of: i2c: Export single device registration method

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 6/8] OF: i2c: Add OF notifier handler

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 7/8] of: spi: Export single device registration method and accessors

2014-10-28 Thread Pantelis Antoniou
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

[PATCH v8 4/8] OF: platform: Add OF notifier handler

2014-10-28 Thread 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

[PATCH v8 2/8] OF: selftest: Add overlay self-test support. (v2)

2014-10-28 Thread Pantelis Antoniou
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

Re: [PATCH v2 2/3] ARM: dts: socfpga: fpga bridges bindings docs

2014-10-27 Thread Pantelis Antoniou
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

Re: [PATCH v2 2/3] ARM: dts: socfpga: fpga bridges bindings docs

2014-10-27 Thread Pantelis Antoniou
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

Re: [PATCH v2 2/3] ARM: dts: socfpga: fpga bridges bindings docs

2014-10-27 Thread Pantelis Antoniou
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: >>> >

Re: [PATCH v2 2/3] ARM: dts: socfpga: fpga bridges bindings docs

2014-10-27 Thread Pantelis Antoniou
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

<    3   4   5   6   7   8   9   10   11   12   >