Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1251974

[PATCH v6 0/4] of: overlay: kobject & sysfs'ation

From Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Newsgroups linux.kernel
Subject [PATCH v6 0/4] of: overlay: kobject & sysfs'ation
Date 2015-10-20 21:20 +0200
Message-ID <qlKBX-4yw-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 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 (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 |  40 +++++
 drivers/of/base.c                                  |   7 +
 drivers/of/of_private.h                            |   9 +
 drivers/of/overlay.c                               | 194 ++++++++++++++++++++-
 4 files changed, 244 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-firmware-devicetree-overlays

-- 
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v6 0/4] of: overlay: kobject & sysfs'ation Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2015-10-20 21:20 +0200
  [PATCH v6 2/4] of: overlay: global sysfs enable attribute Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2015-10-20 21:20 +0200
    Re: [PATCH v6 2/4] of: overlay: global sysfs enable attribute Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-10-20 23:10 +0200
      Re: [PATCH v6 2/4] of: overlay: global sysfs enable attribute Rob Herring <robherring2@gmail.com> - 2015-10-21 00:00 +0200
        Re: [PATCH v6 2/4] of: overlay: global sysfs enable attribute Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2015-10-21 10:50 +0200
  [PATCH v6 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2015-10-20 21:20 +0200
    Re: [PATCH v6 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays Rob Herring <robherring2@gmail.com> - 2015-10-20 23:00 +0200
      Re: [PATCH v6 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2015-10-20 23:10 +0200
        Re: [PATCH v6 4/4] Documentation: ABI: /sys/firmware/devicetree/overlays Rob Herring <robherring2@gmail.com> - 2015-10-21 00:10 +0200
  [PATCH v6 1/4] of: overlay: kobjectify overlay objects Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2015-10-20 21:20 +0200
    Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-10-20 23:10 +0200
      Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2015-10-21 15:30 +0200
        Re: [PATCH v6 1/4] of: overlay: kobjectify overlay objects Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-10-21 17:30 +0200
  Re: [PATCH v6 0/4] of: overlay: kobject & sysfs'ation Rob Herring <robherring2@gmail.com> - 2015-10-20 23:10 +0200
    Re: [PATCH v6 0/4] of: overlay: kobject & sysfs'ation Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2015-10-20 23:20 +0200
      Re: [PATCH v6 0/4] of: overlay: kobject & sysfs'ation Rob Herring <robherring2@gmail.com> - 2015-10-21 00:00 +0200

csiph-web