linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/8] Introducing (yet again) Device Tree Overlays
@ 2014-04-04 12:43 Pantelis Antoniou
  2014-04-04 12:43 ` [PATCH v4 1/8] OF: Introduce Device Tree resolve support Pantelis Antoniou
                   ` (7 more replies)
  0 siblings, 8 replies; 50+ messages in thread
From: Pantelis Antoniou @ 2014-04-04 12:43 UTC (permalink / raw)
  To: Grant Likely
  Cc: Rob Herring, Stephen Warren, Matt Porter, Koen Kooi,
	Alison Chaiken, Dinh Nguyen, Jan Lubbe, Alexander Sverdlin,
	Michael Stickel, Guenter Roeck, Dirk Behme, Alan Tull,
	Sascha Hauer, Michael Bohan, Ionut Nicu, Michal Simek,
	Matt Ranostay, devicetree, linux-kernel, Pete Popov, Dan Malek,
	Georgi Vlaev, Pantelis Antoniou, Pantelis Antoniou

From: Pantelis Antoniou <panto@antoniou-consulting.com>

The following patchset introduces Device Tree overlays, a method
of dynamically altering the kernel's live Device Tree, along with
a generic interface to use it in a board agnostic manner.

It is dependent on Grant Likely's DT kobjectification patches located
in his tree as queued for -next.

It relies on the following previously submitted patches/patchsets:

* OF: Add [__]of_find_node_by_full_name
* OF: Utility helper functions for dynamic nodes

To compile overlays you need the DTC compiler patch

* "dtc: Dynamic symbols & fixup support (v2)"

Changes since V3:
* Added overlay self-tests.
* Fix bug in of_init_overlay_info (wrong sizeof)
* Platform bus handler handles parent_pdev == NULL
* of_resolve fixes according to comments by robh
  + changed if (foo == NULL) to if (!foo)
  + changed if (foo != NULL) to if (foo)
  + drivers/of/Kconfig added dep on OF && !SPARC
  + convert to using be32_to_cpup
  + u32 -> __be32 when modifying property values
  + cosmetic fixes

Changes since V2:
* Use of a configfs board agnostic overlay method
* Use of per bus handlers instead of hardcoded behaviour
* Optional target-path overlay target, which allows one to use standard
DTBs without resolution options.

Changes since V1:

* Removal of any bits related to a specific 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 (8):
  OF: Introduce Device Tree resolve support.
  OF: Introduce DT overlay support.
  OF: DT-Overlay configfs interface
  OF: platform: Add overlay bus handler
  of: i2c: Export single device registration method
  OF: i2c: Add overlay bus handler
  OF: spi: Add overlay bus handler
  OF: selftest: Add overlay self-test support.

 .../devicetree/dynamic-resolution-notes.txt        |  25 +
 Documentation/devicetree/overlay-notes.txt         | 187 +++++
 drivers/base/platform.c                            |  98 ++-
 drivers/i2c/i2c-core.c                             | 186 +++--
 drivers/of/Kconfig                                 |  24 +
 drivers/of/Makefile                                |   3 +
 drivers/of/configfs.c                              | 272 +++++++
 drivers/of/overlay.c                               | 895 +++++++++++++++++++++
 drivers/of/resolver.c                              | 368 +++++++++
 drivers/of/selftest.c                              | 368 +++++++++
 drivers/of/testcase-data/testcases.dtsi            |   1 +
 drivers/of/testcase-data/tests-overlay.dtsi        | 125 +++
 drivers/spi/spi.c                                  | 345 +++++---
 include/linux/i2c.h                                |  10 +
 include/linux/of.h                                 | 170 ++++
 15 files changed, 2925 insertions(+), 152 deletions(-)
 create mode 100644 Documentation/devicetree/dynamic-resolution-notes.txt
 create mode 100644 Documentation/devicetree/overlay-notes.txt
 create mode 100644 drivers/of/configfs.c
 create mode 100644 drivers/of/overlay.c
 create mode 100644 drivers/of/resolver.c
 create mode 100644 drivers/of/testcase-data/tests-overlay.dtsi

-- 
1.7.12


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

end of thread, other threads:[~2014-05-27 20:11 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04 12:43 [PATCH v4 0/8] Introducing (yet again) Device Tree Overlays Pantelis Antoniou
2014-04-04 12:43 ` [PATCH v4 1/8] OF: Introduce Device Tree resolve support Pantelis Antoniou
2014-04-04 12:43 ` [PATCH v4 2/8] OF: Introduce DT overlay support Pantelis Antoniou
2014-05-14 10:08   ` Grant Likely
2014-05-14 12:11     ` Michael Stickel
2014-05-14 15:49       ` Grant Likely
2014-05-14 16:13         ` Guenter Roeck
2014-05-15  7:14       ` Pantelis Antoniou
2014-05-14 13:03     ` Geert Uytterhoeven
2014-05-14 13:18       ` Guenter Roeck
2014-05-15  7:15         ` Pantelis Antoniou
2014-05-14 15:34       ` Grant Likely
2014-05-15  7:12     ` Pantelis Antoniou
2014-05-15  7:20       ` Geert Uytterhoeven
2014-05-16 10:58         ` Grant Likely
2014-05-16 11:52           ` Geert Uytterhoeven
2014-05-20  5:50             ` Grant Likely
2014-05-20  7:38               ` Geert Uytterhoeven
2014-05-26 10:48                 ` Grant Likely
2014-05-26 10:57                   ` Geert Uytterhoeven
2014-05-26 11:08                     ` Pantelis Antoniou
2014-05-26 11:23                     ` Grant Likely
2014-05-26 11:55                       ` Pantelis Antoniou
2014-05-26 15:09                         ` Sebastian Reichel
2014-05-26 15:14                           ` Guenter Roeck
2014-05-26 23:00                             ` Sebastian Reichel
2014-05-26 15:14                           ` Pantelis Antoniou
2014-05-26 21:33                         ` Grant Likely
2014-05-26 21:44                           ` Geert Uytterhoeven
2014-05-26 23:47                             ` Guenter Roeck
2014-05-27 12:11                             ` Grant Likely
2014-05-26 22:36                           ` Sebastian Reichel
2014-05-26 23:42                             ` Guenter Roeck
2014-05-27  0:32                               ` Sebastian Reichel
2014-05-27  0:54                                 ` Guenter Roeck
2014-05-27 12:12                               ` Grant Likely
2014-05-27 12:24                                 ` Pantelis Antoniou
2014-05-27 15:21                                   ` Guenter Roeck
2014-05-27 15:38                                     ` Pantelis Antoniou
2014-05-27 17:52                                     ` Geert Uytterhoeven
2014-05-27 18:22                                       ` Guenter Roeck
2014-05-27 20:11                                   ` Grant Likely
2014-05-20 12:27               ` Pantelis Antoniou
2014-05-15 14:18       ` Grant Likely
2014-04-04 12:43 ` [PATCH v4 3/8] OF: DT-Overlay configfs interface Pantelis Antoniou
2014-04-04 12:43 ` [PATCH v4 4/8] OF: platform: Add overlay bus handler Pantelis Antoniou
2014-04-04 12:43 ` [PATCH v4 5/8] of: i2c: Export single device registration method Pantelis Antoniou
2014-04-04 12:43 ` [PATCH v4 6/8] OF: i2c: Add overlay bus handler Pantelis Antoniou
2014-04-04 12:44 ` [PATCH v4 7/8] OF: spi: " Pantelis Antoniou
2014-04-04 12:44 ` [PATCH v4 8/8] OF: selftest: Add overlay self-test support 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).