Kobjectify device tree structures
Subsystems (4)
v5 cover Kobjectify device tree structures
Hi all,
I've resurrected this series and am posting it for review. I think I've got the last problem that I know about solved. That was the problem that Nathan pointed out that modified properties don't get reflected in the sysfs representation. As I mentioned the last time I posted this series, I will probably put a kernel release between patches 1&2 and patch 3 so that if there is any problems then the old /proc method is still available.
I'm posting this for review, but I've only compile tested on ARM and PowerPC, and boot tested on ARM. I'll be going though a full set of builds when I'm no longer on an airplane. :-)
The existing device-tree userspace ABI remains the same with this series applied.
Nathan, I would particularly appreciate if you can test this on PowerPC machines with OF_DYNAMIC.
g.
PATCH v5 1/3 of: Make device nodes kobjects so they show up in sysfs
From: Grant Likely <grant.likely-s3s/[email protected]>
Device tree nodes are already treated as objects, and we already want to expose them to userspace which is done using the /proc filesystem today. Right now the kernel has to do a lot of work to keep the /proc view in sync with the in-kernel representation. If device_nodes are switched to be kobjects then the device tree code can be a whole lot simpler. It also turns out that switching to using /sysfs from /proc results in smaller code and data size, and the userspace ABI won't change if /proc/device-tree symlinks to /sys/firmware/devicetree/base.
v5: Rename firmware/ofw to firmware/devicetree
Fix updating property values in sysfs
v4: Fixed build error on Powerpc
Fixed handling of dynamic nodes on powerpc
v3: Fixed handling of duplicate attribute and child node names
v2: switch to using sysfs bin_attributes which solve the problem of
reporting incorrect property size.
--- Documentation/ABI/testing/sysfs-firmware-ofw | 28 +++++ arch/arm/boot/dts/testcases/tests-phandle.dtsi | 3 + arch/powerpc/platforms/pseries/dlpar.c | 1 - arch/powerpc/platforms/pseries/reconfig.c | 2 - arch/powerpc/sysdev/msi_bitmap.c | 2 +- drivers/of/base.c | 157 +++++++++++++++++++++++-- drivers/of/fdt.c | 3 +- drivers/of/pdt.c | 4 +- include/linux/of.h | 9 +- 9 files changed, 193 insertions(+), 16 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-firmware-ofw
Documentation/ABI/testing/sysfs-firmware-ofw new file +28 -0
@@ -0,0 +1,28 @@ +What: /sys/firmware/devicetree/* +Date: November 2013 +Contact: Grant Likely <[email protected]> +Description: + When using OpenFirmware or a Flattened Device Tree to enumerate + hardware, the device tree structure will be exposed in this + directory. + + It is possible for multiple device-tree directories to exist. + Some device drivers use a separate detached device tree which + have no attachment to the system tree and will appear in a + different subdirectory under /sys/firmware/devicetree. + + Userspace must not use the /sys/firmware/devicetree/base + path directly, but instead should follow /proc/device-tree + symlink. It is possible that the absolute path will change + in the future, but the symlink is the stable ABI. + + The /proc/device-tree symlink replaces the devicetree /proc + filesystem support, and has largely the same semantics and + should be compatible with existing userspace. + + The contents of /sys/firmware/devicetree/ is a + hierarchy of directories, one per device tree node. The + directory name is the resolved path component name (node + name plus address). Properties are represented as files + in the directory. The contents of each file is the exact + binary data from the device tree.
arch/arm/boot/dts/testcases/tests-phandle.dtsi +3 -0
@@ -1,6 +1,9 @@ / { testcase-data { + security-password = "password"; + duplicate-name = "duplicate"; + duplicate-name { }; phandle-tests { provider0: provider0 { #phandle-cells = <0>;
arch/powerpc/platforms/pseries/dlpar.c +0 -1
@@ -11,7 +11,6 @@*/ #include <linux/kernel.h> -#include <linux/kref.h> #include <linux/notifier.h> #include <linux/spinlock.h> #include <linux/cpu.h>
arch/powerpc/platforms/pseries/reconfig.c +0 -2
@@ -12,7 +12,6 @@*/ #include <linux/kernel.h> -#include <linux/kref.h> #include <linux/notifier.h> #include <linux/proc_fs.h> #include <linux/slab.h>
@@ -70,7 +69,6 @@ static int pSeries_reconfig_add_node(const char *path, struct property *proplist np->properties = proplist;of_node_set_flag (np,OF_DYNAMIC ); -kref_init (&np->kref); np->parent =derive_parent (path);if (IS_ERR (np->parent)) {
arch/powerpc/sysdev/msi_bitmap.c +1 -1
@@ -202,7 +202,7 @@ void __init test_of_node(void)/* There should really be a struct device_node allocator */ memset (&of_node,0 ,sizeof (of_node)); -kref_init (&of_node.kref); +kref_init (&of_node.kobj.kref); of_node.full_name = node_name;check (0 ==msi_bitmap_alloc (&bmp, size, &of_node));
drivers/of/base.c +150 -7
233 lines not on this page · raw message
drivers/of/fdt.c +2 -1
@@ -232,7 +232,6 @@ static void * unflatten_dt_node(struct boot_param_header *blob, dad->next->sibling = np; dad->next = np; } -kref_init (&np->kref); }/* process properties */ while (1 ) {
@@ -327,6 +326,8 @@ static void * unflatten_dt_node(struct boot_param_header *blob, np->name ="<NULL>" ;if (!np->type) np->type ="<NULL>" ; + +of_node_add (np); }while (tag ==OF_DT_BEGIN_NODE || tag ==OF_DT_NOP ) {if (tag ==OF_DT_NOP )
drivers/of/pdt.c +2 -2
@@ -179,8 +179,6 @@ static struct device_node * __init of_pdt_create_node(phandle node,of_pdt_incr_unique_id (dp); dp->parent = parent; -kref_init (&dp->kref); - dp->name =of_pdt_get_one_property (node,"name" ); dp->type =of_pdt_get_one_property (node,"device_type" ); dp->phandle = node;
@@ -215,6 +213,7 @@ static struct device_node * __init of_pdt_build_tree(struct device_node *parent, *nextp = &dp->allnext; dp->full_name =of_pdt_build_full_name (dp); +of_node_add (dp); dp->child =of_pdt_build_tree (dp, of_pdt_prom_ops->getchild (node), nextp);
@@ -245,6 +244,7 @@ void __init of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops) of_allnodes->path_component_name ="" ;#endif of_allnodes->full_name ="/" ; +of_node_add (of_allnodes); nextp = &of_allnodes->allnext; of_allnodes->child = of_pdt_build_tree(of_allnodes,
include/linux/of.h +7 -2
@@ -18,7 +18,7 @@#include <linux/types.h> #include <linux/bitops.h> #include <linux/errno.h> -#include <linux/kref.h> +#include <linux/kobject.h> #include <linux/mod_devicetable.h> #include <linux/spinlock.h> #include <linux/topology.h>
@@ -37,6 +37,7 @@ struct property {struct property *next;unsigned long _flags;unsigned int unique_id; +struct bin_attribute attr; };#if defined(CONFIG_SPARC )
@@ -57,7 +58,7 @@ struct device_node {struct device_node *next;/* next device of same type */ struct device_node *allnext;/* next in list of all nodes */ struct proc_dir_entry *pde;/* this node's proc directory */ -struct kref kref; +struct kobject kobj;unsigned long _flags;void *data;#if defined(CONFIG_SPARC )
@@ -74,6 +75,8 @@ struct of_phandle_args {uint32_t args[MAX_PHANDLE_ARGS ]; }; +extern int of_node_add (struct device_node *node); +#ifdef CONFIG_OF_DYNAMIC extern struct device_node *of_node_get (struct device_node *node);extern void of_node_put (struct device_node *node);
@@ -187,6 +190,8 @@ static inline const char *of_node_full_name(const struct device_node *np)return np ? np->full_name :"<no-node>" ; } +#define for_each_of_allnodes (dn) \ + for (dn = of_allnodes; dn; dn = dn->allnext)extern struct device_node *of_find_node_by_name (struct device_node *from,const char *name);#define for_each_node_by_name (dn, name) \
Signature · 6 lines
1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v5 2/3 of/selftest: Add self tests for manipulation of properties
In reply to Grant LikelyAdds a few simple test cases to ensure that addition, update and removal of device tree node properties works correctly.
--- drivers/of/selftest.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+)
drivers/of/selftest.c +62 -0
@@ -30,6 +30,67 @@ static struct selftest_results { } \ } +static void __init of_selftest_dynamic (void ) +{ +struct device_node *np; +struct property *prop; + + np =of_find_node_by_path ("/testcase-data" ); +if (!np) { +pr_err ("missing testcase data\n" ); +return ; + } + +/* Array of 4 properties for the purpose of testing */ + prop =kzalloc (sizeof (*prop) *4 ,GFP_KERNEL ); +if (!prop) { +selftest (0 ,"kzalloc() failed\n" ); +return ; + } + +/* Add a new property - should pass*/ + prop->name ="new-property" ; + prop->value ="new-property-data" ; + prop->length =strlen (prop->value); +selftest (of_add_property (np, prop) ==0 ,"Adding a new property failed\n" ); + +/* Try to add an existing property - should fail */ + prop++; + prop->name ="new-property" ; + prop->value ="new-property-data-should-fail" ; + prop->length =strlen (prop->value); +selftest (of_add_property (np, prop) !=0 , +"Adding an existing property should have failed\n" ); + +/* Try to modify an existing property - should pass */ + prop->value ="modify-property-data-should-pass" ; + prop->length =strlen (prop->value); +selftest (of_update_property (np, prop) ==0 , +"Updating an existing property should have passed\n" ); + +/* Try to modify non-existent property - should pass*/ + prop++; + prop->name ="modify-property" ; + prop->value ="modify-missing-property-data-should-pass" ; + prop->length =strlen (prop->value); +selftest (of_update_property (np, prop) ==0 , +"Updating a missing property should have passed\n" ); + +/* Remove property - should pass */ +selftest (of_remove_property (np, prop) ==0 , +"Removing a property should have passed\n" ); + +/* Adding very large property - should pass */ + prop++; + prop->name ="large-property-PAGE_SIZEx8" ; + prop->length =PAGE_SIZE *8 ; + prop->value =kzalloc (prop->length,GFP_KERNEL ); +selftest (prop->value !=NULL ,"Unable to allocate large buffer\n" ); +if (prop->value) +selftest (of_add_property (np, prop) ==0 , +"Adding a large property should have passed\n" ); +} +static void __init of_selftest_parse_phandle_with_args (void ) {struct device_node *np;
@@ -312,6 +373,7 @@ static int __init of_selftest(void)of_node_put (np);pr_info ("start of selftest - you will see error messages\n" ); +of_selftest_dynamic ();of_selftest_parse_phandle_with_args ();of_selftest_property_match_string ();of_selftest_parse_interrupts ();
Signature · 6 lines
1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v5 3/3 of: remove /proc/device-tree
In reply to Grant LikelyFrom: Grant Likely <grant.likely-s3s/[email protected]>
The same data is now available in sysfs, so we can remove the code that exports it in /proc and replace it with a symlink to the sysfs version.
Tested on versatile qemu model and mpc5200 eval board. More testing would be appreciated.
v5: Fixed up conflicts with mainline changes
--- drivers/of/Kconfig | 8 -- drivers/of/base.c | 52 +---------- fs/proc/Makefile | 1 - fs/proc/internal.h | 7 -- fs/proc/proc_devtree.c | 240 ------------------------------------------------- fs/proc/root.c | 3 - include/linux/of.h | 11 --- 7 files changed, 1 insertion(+), 321 deletions(-) delete mode 100644 fs/proc/proc_devtree.c
drivers/of/Kconfig +0 -8
@@ -7,14 +7,6 @@ config OF menu "Device Tree and Open Firmware support" depends on OF -config PROC_DEVICETREE - bool "Support for device tree in /proc" - depends on PROC_FS && !SPARC - help - This option adds a device-tree directory under /proc which contains - an image of the device tree that the kernel copies from Open - Firmware or other boot firmware. If unsure, say Y here. - config OF_SELFTEST bool "Device Tree Runtime self tests" depends on OF_IRQ
drivers/of/base.c +1 -51
99 lines not on this page · raw message
fs/proc/Makefile +0 -1
@@ -27,6 +27,5 @@ proc-$(CONFIG_PROC_SYSCTL) += proc_sysctl.o proc-$(CONFIG_NET) += proc_net.o proc-$(CONFIG_PROC_KCORE) += kcore.o proc-$(CONFIG_PROC_VMCORE) += vmcore.o -proc-$(CONFIG_PROC_DEVICETREE) += proc_devtree.o proc-$(CONFIG_PRINTK) += kmsg.o proc-$(CONFIG_PROC_PAGE_MONITOR) += page.o
fs/proc/internal.h +0 -7
@@ -211,13 +211,6 @@ extern int proc_fill_super(struct super_block *);extern void proc_entry_rundown (struct proc_dir_entry *);/* -* proc_devtree.c -*/ -#ifdef CONFIG_PROC_DEVICETREE -extern void proc_device_tree_init (void ); -#endif - -/* * proc_namespaces.c */ extern const struct inode_operations proc_ns_dir_inode_operations;
fs/proc/proc_devtree.c deleted +0 -240
240 lines not on this page · raw message
fs/proc/root.c +0 -3
@@ -183,9 +183,6 @@ void __init proc_root_init(void)proc_mkdir ("openprom" ,NULL );#endif proc_tty_init (); -#ifdef CONFIG_PROC_DEVICETREE -proc_device_tree_init (); -#endif proc_mkdir ("bus" ,NULL );proc_sys_init (); }
include/linux/of.h +0 -11
@@ -57,7 +57,6 @@ struct device_node {struct device_node *sibling;struct device_node *next;/* next device of same type */ struct device_node *allnext;/* next in list of all nodes */ -struct proc_dir_entry *pde;/* this node's proc directory */ struct kobject kobj;unsigned long _flags;void *data;
@@ -638,14 +637,4 @@ static inline int of_property_read_u32(const struct device_node *np,s ; \ s = of_prop_next_string(prop, s)) -#if defined(CONFIG_PROC_FS ) && defined(CONFIG_PROC_DEVICETREE ) -extern void proc_device_tree_add_node (struct device_node *,struct proc_dir_entry *); -extern void proc_device_tree_add_prop (struct proc_dir_entry *pde,struct property *prop); -extern void proc_device_tree_remove_prop (struct proc_dir_entry *pde, -struct property *prop); -extern void proc_device_tree_update_prop (struct proc_dir_entry *pde, -struct property *newprop, -struct property *oldprop); -#endif -#endif /* _LINUX_OF_H */
Signature · 6 lines
1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 2/3] of/selftest: Add self tests for manipulation of properties
In reply to Grant LikelyHi Grant,
Quoted 96 lines · Grant Likely
Adds a few simple test cases to ensure that addition, update and removal of device tree node properties works correctly.
Signed-off-by Grant Likely <[email protected]>Cc Rob Herring <rob.herring-bsGFqQB8/[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Cc David S. Miller <davem-fT/PcQaiUtIeIZ0/[email protected]>Cc Nathan Fontenot <[email protected]>Cc Pantelis Antoniou <panto-wVdstyuyKrO8r51toPun2/[email protected]>---
drivers/of/selftest.c| 62 +++++++++++++++++++++++++++++++++++++++++++++++++++1 file changed, 62 insertions(+)drivers/of/selftest.c +62
-0@@ -30,6 +30,67 @@ static struct selftest_results { } \ } +static void __init of_selftest_dynamic (void ) +{ +struct device_node *np; +struct property *prop; + + np =of_find_node_by_path ("/testcase-data" ); +if (!np) { +pr_err ("missing testcase data\n" ); +return ; + } + +/* Array of 4 properties for the purpose of testing */ + prop =kzalloc (sizeof (*prop) *4 ,GFP_KERNEL ); +if (!prop) { +selftest (0 ,"kzalloc() failed\n" ); +return ; + } + +/* Add a new property - should pass*/ + prop->name ="new-property" ; + prop->value ="new-property-data" ; + prop->length =strlen (prop->value); +selftest (of_add_property (np, prop) ==0 ,"Adding a new property failed\n" ); + +/* Try to add an existing property - should fail */ + prop++; + prop->name ="new-property" ; + prop->value ="new-property-data-should-fail" ; + prop->length =strlen (prop->value); +selftest (of_add_property (np, prop) !=0 , +"Adding an existing property should have failed\n" ); + +/* Try to modify an existing property - should pass */ + prop->value ="modify-property-data-should-pass" ; + prop->length =strlen (prop->value); +selftest (of_update_property (np, prop) ==0 , +"Updating an existing property should have passed\n" ); + +/* Try to modify non-existent property - should pass*/ + prop++; + prop->name ="modify-property" ; + prop->value ="modify-missing-property-data-should-pass" ; + prop->length =strlen (prop->value); +selftest (of_update_property (np, prop) ==0 , +"Updating a missing property should have passed\n" ); + +/* Remove property - should pass */ +selftest (of_remove_property (np, prop) ==0 , +"Removing a property should have passed\n" ); + +/* Adding very large property - should pass */ + prop++; + prop->name ="large-property-PAGE_SIZEx8" ; + prop->length =PAGE_SIZE *8 ; + prop->value =kzalloc (prop->length,GFP_KERNEL ); +selftest (prop->value !=NULL ,"Unable to allocate large buffer\n" ); +if (prop->value) +selftest (of_add_property (np, prop) ==0 , +"Adding a large property should have passed\n" ); +} +static void __init of_selftest_parse_phandle_with_args (void ) {struct device_node *np;@@ -312,6 +373,7 @@ static int __init of_selftest(void)of_node_put (np);pr_info ("start of selftest - you will see error messages\n" ); +of_selftest_dynamic ();of_selftest_parse_phandle_with_args ();of_selftest_property_match_string ();of_selftest_parse_interrupts ();Signature · 1 line
1.8.3.2
I like this. I'll add my overlay test cases somewhere around here.
I might need to introduce some new helper functions in order to generate the overlay completely programmatically.
Regards
-- Pantelis
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 2/3] of/selftest: Add self tests for manipulation of properties
In reply to Grant LikelyQuoted 9 lines · Grant Likely
Adds a few simple test cases to ensure that addition, update and removal of device tree node properties works correctly.
Signed-off-by Grant Likely <[email protected]>Cc Rob Herring <rob.herring-bsGFqQB8/[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Cc David S. Miller <davem-fT/PcQaiUtIeIZ0/[email protected]>Cc Nathan Fontenot <[email protected]>Cc Pantelis Antoniou <panto-wVdstyuyKrO8r51toPun2/[email protected]>
Quoted 3 lines
--- drivers/of/selftest.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+)
Does this need to depend on or select OF_DYNAMIC?
Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 2/3] of/selftest: Add self tests for manipulation of properties
Quoted 14 lines · Rob Herring
Quoted 9 lines · Grant Likely
Adds a few simple test cases to ensure that addition, update and removal of device tree node properties works correctly.
Signed-off-by Grant Likely <[email protected]>Cc Rob Herring <rob.herring-bsGFqQB8/[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Cc David S. Miller <davem-fT/PcQaiUtIeIZ0/[email protected]>Cc Nathan Fontenot <[email protected]>Cc Pantelis Antoniou <panto-wVdstyuyKrO8r51toPun2/[email protected]>Quoted 3 lines
--- drivers/of/selftest.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+)
Quoted 1 line
Does this need to depend on or select
OF_DYNAMIC?
It shouldn't. The property manipulation does not depend on OF_DYNAMIC. Only the node manipulation does. When I do more testing next week I'll verify.
g.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH v5 2/3] of/selftest: Add self tests for manipulation of properties
In reply to Pantelis AntoniouQuoted 103 lines · Pantelis Antoniou
Hi Grant,
Quoted 96 lines · Grant Likely
Adds a few simple test cases to ensure that addition, update and removal of device tree node properties works correctly.
Signed-off-by Grant Likely <[email protected]>Cc Rob Herring <rob.herring-bsGFqQB8/[email protected]>Cc Benjamin Herrenschmidt <[email protected]>Cc David S. Miller <davem-fT/PcQaiUtIeIZ0/[email protected]>Cc Nathan Fontenot <[email protected]>Cc Pantelis Antoniou <panto-wVdstyuyKrO8r51toPun2/[email protected]>---
drivers/of/selftest.c| 62 +++++++++++++++++++++++++++++++++++++++++++++++++++1 file changed, 62 insertions(+)drivers/of/selftest.c +62
-0@@ -30,6 +30,67 @@ static struct selftest_results { } \ } +static void __init of_selftest_dynamic (void ) +{ +struct device_node *np; +struct property *prop; + + np =of_find_node_by_path ("/testcase-data" ); +if (!np) { +pr_err ("missing testcase data\n" ); +return ; + } + +/* Array of 4 properties for the purpose of testing */ + prop =kzalloc (sizeof (*prop) *4 ,GFP_KERNEL ); +if (!prop) { +selftest (0 ,"kzalloc() failed\n" ); +return ; + } + +/* Add a new property - should pass*/ + prop->name ="new-property" ; + prop->value ="new-property-data" ; + prop->length =strlen (prop->value); +selftest (of_add_property (np, prop) ==0 ,"Adding a new property failed\n" ); + +/* Try to add an existing property - should fail */ + prop++; + prop->name ="new-property" ; + prop->value ="new-property-data-should-fail" ; + prop->length =strlen (prop->value); +selftest (of_add_property (np, prop) !=0 , +"Adding an existing property should have failed\n" ); + +/* Try to modify an existing property - should pass */ + prop->value ="modify-property-data-should-pass" ; + prop->length =strlen (prop->value); +selftest (of_update_property (np, prop) ==0 , +"Updating an existing property should have passed\n" ); + +/* Try to modify non-existent property - should pass*/ + prop++; + prop->name ="modify-property" ; + prop->value ="modify-missing-property-data-should-pass" ; + prop->length =strlen (prop->value); +selftest (of_update_property (np, prop) ==0 , +"Updating a missing property should have passed\n" ); + +/* Remove property - should pass */ +selftest (of_remove_property (np, prop) ==0 , +"Removing a property should have passed\n" ); + +/* Adding very large property - should pass */ + prop++; + prop->name ="large-property-PAGE_SIZEx8" ; + prop->length =PAGE_SIZE *8 ; + prop->value =kzalloc (prop->length,GFP_KERNEL ); +selftest (prop->value !=NULL ,"Unable to allocate large buffer\n" ); +if (prop->value) +selftest (of_add_property (np, prop) ==0 , +"Adding a large property should have passed\n" ); +} +static void __init of_selftest_parse_phandle_with_args (void ) {struct device_node *np;@@ -312,6 +373,7 @@ static int __init of_selftest(void)of_node_put (np);pr_info ("start of selftest - you will see error messages\n" ); +of_selftest_dynamic ();of_selftest_parse_phandle_with_args ();of_selftest_property_match_string ();of_selftest_parse_interrupts ();Signature · 1 line
1.8.3.2I like this. I'll add my overlay test cases somewhere around here.
Quoted 2 lines
I might need to introduce some new helper functions in order to generate the overlay completely programmatically.
That would be good. I also really want to get the overlay code working so I can use it for loading the testcase data on any running system. :-)
g.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html