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

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

The #2 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 patch following is the ABI docs for the sysfs entries of #2,
while the next one updates the doc entry for the kernel parameter
of_overlay_disable.

Patch #5 add per overlay sysfs attributes, and the next one is
documentation about it.

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

Changes since v6:
* Updated changelogs as per maintainer suggestion.
* Fixed documentation entries and split them up
* Added command line parameter docs.

Changes since v5:
* Does a single kobject_put that suffices
* A per-fragment sysfs directory and a single value target.
* Update in the ABI documention.

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 (6):
  of: overlay: kobjectify overlay objects
  of: overlay: global sysfs enable attribute
  Documentation: ABI: overlays - global attributes
  Documentation: document of_overlay_disable parameter
  of: overlay: add per overlay sysfs attributes
  Documentation: ABI: overlays - per overlay docs

 .../ABI/testing/sysfs-firmware-devicetree-overlays |  52 ++++++
 Documentation/kernel-parameters.txt                |   3 +
 drivers/of/base.c                                  |   7 +
 drivers/of/of_private.h                            |   9 +
 drivers/of/overlay.c                               | 201 ++++++++++++++++++++-
 5 files changed, 266 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-firmware-devicetree-overlays

-- 
1.7.12

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

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

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-22 19:50 [PATCH v7 0/6] of: overlay: kobject & sysfs'ation Pantelis Antoniou
2015-10-22 19:50 ` [PATCH v7 1/6] of: overlay: kobjectify overlay objects Pantelis Antoniou
     [not found]   ` <1445543427-26275-2-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-22 20:17     ` Greg Kroah-Hartman
2015-10-22 19:50 ` [PATCH v7 2/6] of: overlay: global sysfs enable attribute Pantelis Antoniou
     [not found]   ` <1445543427-26275-3-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-22 20:19     ` Greg Kroah-Hartman
     [not found]       ` <20151022201911.GB27977-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-10-22 20:25         ` Pantelis Antoniou
     [not found] ` <1445543427-26275-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-22 19:50   ` [PATCH v7 3/6] Documentation: ABI: overlays - global attributes Pantelis Antoniou
     [not found]     ` <1445543427-26275-4-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-22 20:19       ` Greg Kroah-Hartman
2015-10-22 19:50   ` [PATCH v7 6/6] Documentation: ABI: overlays - per overlay docs Pantelis Antoniou
     [not found]     ` <1445543427-26275-7-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-22 20:22       ` Greg Kroah-Hartman
2015-10-22 19:50 ` [PATCH v7 4/6] Documentation: document of_overlay_disable parameter Pantelis Antoniou
2015-10-22 20:19   ` Greg Kroah-Hartman
2015-10-22 19:50 ` [PATCH v7 5/6] of: overlay: add per overlay sysfs attributes Pantelis Antoniou
     [not found]   ` <1445543427-26275-6-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>
2015-10-22 20:21     ` Greg Kroah-Hartman

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).