2013-06-02 |
Merge branch 'for-next/of-i2c'
Sascha Hauer
committed
on 2 Jun 2013
|
Merge branch 'for-next/of'
Sascha Hauer
committed
on 2 Jun 2013
|
Merge branch 'for-next/mips'
...
Conflicts:
include/of.h
Sascha Hauer
committed
on 2 Jun 2013
|
Merge branch 'for-next/mci'
...
Conflicts:
include/driver.h
Sascha Hauer
committed
on 2 Jun 2013
|
2013-05-31 |
of: Add of_modalias_node function
...
Directly from the Kernel.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 31 May 2013
|
bootm: print Kernel commandline in verbose mode
...
Without devicetree support we print the Kernel commandline in
verbose mode. Do the same with devicetree boot aswell.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 31 May 2013
|
2013-05-30 |
of: Add of_alias_get function
...
This is used to retrieve the name of the alias for a given
devicenode.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 30 May 2013
|
2013-05-23 |
of: provide NULL of_get_root_node for \!CONFIG_OFTREE
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 23 May 2013
|
2013-05-20 |
of: Add of_match_node function
...
To match a of_device_id arrays against a device_node. Same functionality
as in the kernel.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 20 May 2013
|
2013-05-13 |
of: separate out "generic" memory bank adding
...
This patch separates out the "generic" memory
segment registration function (of_add_memory_bank())
from of_add_memory().
The MIPS architecture has different view on memory
resources than the ARM and PPC architectures
so the "generic" of_add_memory_bank() is
unusable for the MIPS architecture.
We can add MIPS-specific of_add_memory_bank()
into arch/mips code.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Antony Pavlov
authored
on 12 May 2013
Sascha Hauer
committed
on 13 May 2013
|
2013-04-22 |
of: partitions: pass struct cdev as argument
...
pass a struct cdev instead of the cdev name to of_parse_partitions.
This is available to the caller anyway and makes it easier to use
additional stuff from the cdev (like knowing whether it's a mtd
device).
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 22 Apr 2013
|
of: Allow multiple resources in 'reg' property
...
Some devices need multiple resources in the reg property. This patch
adds support for it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 22 Apr 2013
|
of: Add of_property_read_string_index()
...
Directly imported from the Kernel
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 22 Apr 2013
|
2013-03-06 |
of: make locally used functions static
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: remove unused libfdt
...
Now that we are completely independent of libfdt remove the unused
code.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: Add reservemap handling
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: fixup unflattened devicetree
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: Add missing prototype for size/address counting functions
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: Add of property write functions for u32
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: Pass barebox internal format devicetree to of_get_fixed_tree
...
With this every devicetree is first converted to the barebox internal
format before it's converted back to dtb again.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: make OFDEVICE a user selectable option
...
OFDEVICE decides whether or not we compile in support for probing
devices from the devicetree. Let the user decide this explicitly.
This makes the oftree, of_node and of_property commands independent
of devicetree device support since being able to manipulate
devicetrees has nothing to do with probing devices from the devicetree.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: make flatten independent of libfdt
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: make unflatten independent of libfdt
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: Add initrd helper
...
Add a helper to set the initrd properties in the unflattened tree.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: Add of_write_number helper
...
The counterpart to of_read_number: Write a 32bit or 64bit
number to a devicetree.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: Add root node argument to of_find_node_by_path
...
This makes of_find_node_by_path usable with multiple trees.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: let of_unflatten_dtb return the unflattened tree
...
In order to be able to handle multiple devicetrees, do not assume
the tree to be unflattened is the barebox internal one. Instead,
just return a pointer to it and assign the barebox internal root_node
external to the unflatten function.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: Add missing prototype for of_device_is_compatible
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: Add of_set_property and of_create_node
...
Add functions to create a new device node and to create/set
a new property based on the nodepath.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|
of: remove allnodes list
...
The allnodes list makes it hard to handle multiple devicetrees. Having
a list to iterate over all nodes of a tree is still good to have though.
This patch uses the list_head of the root node as the head of the list.
This way the root node is no longer part of the list, but when iterating
over a tree the root node is not interesting anyway.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 6 Mar 2013
|