[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1507002826-16393-1-git-send-email-frowand.list@gmail.com>
Date: Mon, 2 Oct 2017 20:53:34 -0700
From: frowand.list@...il.com
To: Rob Herring <robh+dt@...nel.org>,
Pantelis Antoniou <pantelis.antoniou@...sulko.com>,
David Airlie <airlied@...ux.ie>, Jyri Sarha <jsarha@...com>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Mark Rutland <mark.rutland@....com>,
Tomi Valkeinen <tomi.valkeinen@...com>,
dri-devel@...ts.freedesktop.org
Subject: [PATCH 00/12] of: overlay: clean up device tree overlay code
From: Frank Rowand <frank.rowand@...y.com>
I have found the device tree overlay code to be difficult to read and
maintain. This patch series attempts to improve that situation.
The cleanup includes some changes visible to users of overlays. The
only in kernel user of overlays is fixed up for those changes. The
in kernel user is:
drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
Following the cleanup patches are a set of patches to fix various
issues.
The first five patches are intended to not make any functional
changes, and are segrated to ease review.
Frank Rowand (12):
of: overlay.c: Remove comments that state the obvious, to reduce
clutter
of: overlay.c: Convert comparisons to zero or NULL to logical
expressions
of: overlay: rename identifiers to more reflect what they do
of: overlay: rename identifiers in dup_and_fixup_symbol_prop()
of: overlay: minor restructuring
of: overlay: detect cases where device tree may become corrupt
of: overlay: expand check of whether overlay changeset can be removed
of: overlay: loosen overly strict phandle clash check
of: overlay: avoid race condition between applying multiple overlays
of: overlay: simplify applying symbols from an overlay
of: overlay: remove a dependency on device node full_name
of: overlay: remove unneeded check for NULL kbasename()
Documentation/devicetree/overlay-notes.txt | 12 +-
drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | 15 +-
drivers/of/base.c | 2 +-
drivers/of/dynamic.c | 137 +++-
drivers/of/of_private.h | 10 +-
drivers/of/overlay.c | 1024 ++++++++++++++++----------
drivers/of/unittest.c | 80 +-
include/linux/of.h | 33 +-
8 files changed, 871 insertions(+), 442 deletions(-)
--
Frank Rowand <frank.rowand@...y.com>
Powered by blists - more mailing lists