devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/4] of: overlay: kobject & sysfs'ation
@ 2015-09-16 16:09 Pantelis Antoniou
  2015-09-16 16:09 ` [PATCH v5 1/4] of: overlay: kobjectify overlay objects Pantelis Antoniou
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Pantelis Antoniou @ 2015-09-16 16:09 UTC (permalink / raw)
  To: Rob Herring
  Cc: Frank Rowand, Matt Porter, Koen Kooi, Guenter Roeck,
	Greg Kroah-Hartman, devicetree, linux-kernel, linux-api,
	Pantelis Antoniou, Pantelis Antoniou

The first patch puts the overlays as objects in the sysfs in
/sys/firmware/devicetree/overlays.

The next adds a master overlay enable switch (that once is set to
disabled can't be re-enabled), while the one after that
introduces a number of default per overlay attributes.

The patchset is against linus's tree as of today.

The last patch updates the ABI docs for the sysfs entries.

Changes since v4:
* Rebased against latest mainline.

Changes since v3:
* Used strtobool instead of kstrtoul
* ABI Documentation includes a pointer to the discussion that
requested the sysfs property.

Changes since v2:
* Removed the unittest patch.
* Split the sysfs attribute patch to a global and a per-overlay
  patch.
* Dropped binary attributes using textual kobj_attributes instead.

Changes since v1:
* Maintainer requested changes.
* Documented the sysfs entries
* Per overlay sysfs attributes.

Pantelis Antoniou (4):
  of: overlay: kobjectify overlay objects
  of: overlay: global sysfs enable attribute
  of: overlay: add per overlay sysfs attributes
  Documentation: ABI: /sys/firmware/devicetree/overlays

 .../ABI/testing/sysfs-firmware-devicetree-overlays |  35 +++++
 drivers/of/base.c                                  |   7 +
 drivers/of/of_private.h                            |   9 ++
 drivers/of/overlay.c                               | 146 ++++++++++++++++++++-
 4 files changed, 195 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-firmware-devicetree-overlays

-- 
1.7.12

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-20 13:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-16 16:09 [PATCH v5 0/4] of: overlay: kobject & sysfs'ation Pantelis Antoniou
2015-09-16 16:09 ` [PATCH v5 1/4] of: overlay: kobjectify overlay objects Pantelis Antoniou
     [not found]   ` <1442419751-4846-2-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-04 19:22     ` Greg Kroah-Hartman
     [not found]       ` <20151004192210.GD9649-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-10-20 13:47         ` Pantelis Antoniou
     [not found] ` <1442419751-4846-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-09-16 16:09   ` [PATCH v5 2/4] of: overlay: global sysfs enable attribute Pantelis Antoniou
2015-09-16 16:09 ` [PATCH v5 3/4] of: overlay: add per overlay sysfs attributes Pantelis Antoniou
     [not found]   ` <1442419751-4846-4-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-09-16 16:45     ` Rob Herring
     [not found]       ` <CAL_Jsq+N43c-A175QC0L9jpEP9ZptugDLChMEJgs76=1NEP3Mw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-16 19:08         ` Pantelis Antoniou
2015-10-04 19:23     ` Greg Kroah-Hartman
2015-09-16 16:09 ` [PATCH v5 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays Pantelis Antoniou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).