Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Greg KH
On Thu, Apr 23, 2015 at 03:59:02PM +0300, Pantelis Antoniou wrote: > It’s the same reason that the device tree core is using it. > >>> > >>> It is doing that for "raw" device tree files, not individual attributes, > >>> right? > >>> > >> > >> Each property of a device tree is a binary

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Pantelis Antoniou
Hi Greg, > On Apr 23, 2015, at 15:54 , Greg KH wrote: > > On Thu, Apr 23, 2015 at 03:39:21PM +0300, Pantelis Antoniou wrote: >> Hi Greg, >> >>> On Apr 23, 2015, at 15:33 , Greg KH wrote: >>> >>> On Thu, Apr 23, 2015 at 03:00:03PM +0300, Pantelis Antoniou wrote: Hi Rob, > On

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Greg KH
On Thu, Apr 23, 2015 at 03:39:21PM +0300, Pantelis Antoniou wrote: > Hi Greg, > > > On Apr 23, 2015, at 15:33 , Greg KH wrote: > > > > On Thu, Apr 23, 2015 at 03:00:03PM +0300, Pantelis Antoniou wrote: > >> Hi Rob, > >> > >>> On Apr 15, 2015, at 04:27 , Rob Herring wrote: > >>> > >>> On Tue,

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Pantelis Antoniou
Hi Greg, > On Apr 23, 2015, at 15:33 , Greg KH wrote: > > On Thu, Apr 23, 2015 at 03:00:03PM +0300, Pantelis Antoniou wrote: >> Hi Rob, >> >>> On Apr 15, 2015, at 04:27 , Rob Herring wrote: >>> >>> On Tue, Apr 7, 2015 at 2:23 PM, Pantelis Antoniou >>> wrote: Implement a number of sysfs

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Greg KH
On Thu, Apr 23, 2015 at 03:00:03PM +0300, Pantelis Antoniou wrote: > Hi Rob, > > > On Apr 15, 2015, at 04:27 , Rob Herring wrote: > > > > On Tue, Apr 7, 2015 at 2:23 PM, Pantelis Antoniou > > wrote: > >> Implement a number of sysfs attributes for overlays. > >> > >> * A throw once master

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Pantelis Antoniou
Hi Rob, > On Apr 15, 2015, at 04:27 , Rob Herring wrote: > > On Tue, Apr 7, 2015 at 2:23 PM, Pantelis Antoniou > wrote: >> Implement a number of sysfs attributes for overlays. >> >> * A throw once master enable switch to protect against any >> further overlay applications if the administrator

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Greg KH
On Thu, Apr 23, 2015 at 03:39:21PM +0300, Pantelis Antoniou wrote: Hi Greg, On Apr 23, 2015, at 15:33 , Greg KH g...@kroah.com wrote: On Thu, Apr 23, 2015 at 03:00:03PM +0300, Pantelis Antoniou wrote: Hi Rob, On Apr 15, 2015, at 04:27 , Rob Herring robherri...@gmail.com wrote:

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Pantelis Antoniou
Hi Greg, On Apr 23, 2015, at 15:54 , Greg KH g...@kroah.com wrote: On Thu, Apr 23, 2015 at 03:39:21PM +0300, Pantelis Antoniou wrote: Hi Greg, On Apr 23, 2015, at 15:33 , Greg KH g...@kroah.com wrote: On Thu, Apr 23, 2015 at 03:00:03PM +0300, Pantelis Antoniou wrote: Hi Rob, On Apr

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Greg KH
On Thu, Apr 23, 2015 at 03:59:02PM +0300, Pantelis Antoniou wrote: It’s the same reason that the device tree core is using it. It is doing that for raw device tree files, not individual attributes, right? Each property of a device tree is a binary attribute. Because they

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Greg KH
On Thu, Apr 23, 2015 at 03:00:03PM +0300, Pantelis Antoniou wrote: Hi Rob, On Apr 15, 2015, at 04:27 , Rob Herring robherri...@gmail.com wrote: On Tue, Apr 7, 2015 at 2:23 PM, Pantelis Antoniou pantelis.anton...@konsulko.com wrote: Implement a number of sysfs attributes for overlays.

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Pantelis Antoniou
Hi Greg, On Apr 23, 2015, at 15:33 , Greg KH g...@kroah.com wrote: On Thu, Apr 23, 2015 at 03:00:03PM +0300, Pantelis Antoniou wrote: Hi Rob, On Apr 15, 2015, at 04:27 , Rob Herring robherri...@gmail.com wrote: On Tue, Apr 7, 2015 at 2:23 PM, Pantelis Antoniou

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-23 Thread Pantelis Antoniou
Hi Rob, On Apr 15, 2015, at 04:27 , Rob Herring robherri...@gmail.com wrote: On Tue, Apr 7, 2015 at 2:23 PM, Pantelis Antoniou pantelis.anton...@konsulko.com wrote: Implement a number of sysfs attributes for overlays. * A throw once master enable switch to protect against any further

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-14 Thread Rob Herring
On Tue, Apr 7, 2015 at 2:23 PM, Pantelis Antoniou wrote: > Implement a number of sysfs attributes for overlays. > > * A throw once master enable switch to protect against any > further overlay applications if the administrator desires so. This one should be a separate patch. > * A per overlay

Re: [PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-14 Thread Rob Herring
On Tue, Apr 7, 2015 at 2:23 PM, Pantelis Antoniou pantelis.anton...@konsulko.com wrote: Implement a number of sysfs attributes for overlays. * A throw once master enable switch to protect against any further overlay applications if the administrator desires so. This one should be a separate

[PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-07 Thread Pantelis Antoniou
Implement a number of sysfs attributes for overlays. * A throw once master enable switch to protect against any further overlay applications if the administrator desires so. * A per overlay targets sysfs attribute listing the targets of the installed overlay. * A per overlay can_remove sysfs

[PATCH v2 3/4] of: overlay: Add sysfs attributes

2015-04-07 Thread Pantelis Antoniou
Implement a number of sysfs attributes for overlays. * A throw once master enable switch to protect against any further overlay applications if the administrator desires so. * A per overlay targets sysfs attribute listing the targets of the installed overlay. * A per overlay can_remove sysfs