In response to new device tree code in the kernel, OLPC will start
using it for probing of certain devices. However, some firmware fixes
are needed to put the devicetree into a usable state.
Retain compatibility with old firmware by fixing up the device tree
at boot-time if it does not contain
Make OLPC fully depend on device tree, and use it to identify the OLPC
platform details. Some nodes are exposed as platform devices where we
plan to use device tree for device probing.
Signed-off-by: Daniel Drake d...@laptop.org
---
arch/x86/Kconfig |2 +-
The x86 folks should probably be cc'd as well..
Overall, this looks good, just a few minor issues below.
On Fri, 4 Mar 2011 17:12:14 + (GMT)
Daniel Drake d...@laptop.org wrote:
Make OLPC fully depend on device tree, and use it to identify the OLPC
platform details. Some nodes are exposed
Acked-by: Andres Salomon dilin...@queued.net
On Fri, 4 Mar 2011
17:12:40 + (GMT) Daniel Drake d...@laptop.org wrote:
This is cleaner, and allows suspend/resume (wakeup) handlers to be
added in an upcoming patch.
Signed-off-by: Daniel Drake d...@laptop.org
---
New in v2:
Changed many device tree bindings. They should be closer to the
standard naming scheme now.
Editing of the template device tree is done in the flattened form
using libfdt.
Standard platform driver functions used in preference to the
of_platform variety.
v1:
Background: The Octeon
Currently all paths passed to of_find_node_by_path() must begin with a
'/', indicating a full path to the desired node.
Augment the look-up code so that if a path does *not* begin with '/',
the path is used as the name of an /aliases property. The value of
this alias is then used as the full
Signed-off-by: David Daney dda...@caviumnetworks.com
---
include/linux/libfdt.h |3 +++
lib/Kconfig |6 ++
lib/Makefile|2 ++
lib/libfdt/Makefile |7 +++
lib/libfdt/libfdt_env.h | 21 +
Signed-off-by: David Daney dda...@caviumnetworks.com
---
arch/mips/cavium-octeon/.gitignore |2 +
arch/mips/cavium-octeon/Makefile| 13 ++
arch/mips/cavium-octeon/octeon_3xxx.dts | 330 +++
arch/mips/cavium-octeon/octeon_68xx.dts | 116 +++
This is needed for Octeon to use the Device Tree.
Signed-off-by: David Daney dda...@caviumnetworks.com
---
arch/mips/cavium-octeon/octeon-irq.c | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/arch/mips/cavium-octeon/octeon-irq.c
Signed-off-by: David Daney dda...@caviumnetworks.com
Cc: Jean Delvare (PC drivers, core) kh...@linux-fr.org
Cc: Ben Dooks (embedded platforms) ben-li...@fluff.org
Cc: linux-...@vger.kernel.org
---
arch/mips/cavium-octeon/octeon-platform.c | 84 -
Get the MDIO bus controller addresses from the device tree.
Signed-off-by: David Daney dda...@caviumnetworks.com
Cc: David S. Miller da...@davemloft.net
Cc: net...@vger.kernel.org
---
arch/mips/cavium-octeon/octeon-platform.c | 30 -
drivers/net/phy/mdio-octeon.c | 92
The device tree will supply the register bank base addresses, make
register addressing relative to those. PHY connection is now
described by the device tree.
Signed-off-by: David Daney dda...@caviumnetworks.com
Cc: David S. Miller da...@davemloft.net
Cc: net...@vger.kernel.org
---
From: David Daney dda...@caviumnetworks.com
Date: Fri, 4 Mar 2011 11:42:22 -0800
Get the MDIO bus controller addresses from the device tree.
Signed-off-by: David Daney dda...@caviumnetworks.com
Acked-by: David S. Miller da...@davemloft.net
___
From: David Daney dda...@caviumnetworks.com
Date: Fri, 4 Mar 2011 11:42:23 -0800
The device tree will supply the register bank base addresses, make
register addressing relative to those. PHY connection is now
described by the device tree.
Signed-off-by: David Daney
From: David Daney dda...@caviumnetworks.com
Date: Fri, 4 Mar 2011 11:42:24 -0800
Get MAC address and PHY connection from the device tree.
Signed-off-by: David Daney dda...@caviumnetworks.com
Acked-by: David S. Miller da...@davemloft.net
___
On Fri, Mar 04, 2011 at 11:42:15AM -0800, David Daney wrote:
Currently all paths passed to of_find_node_by_path() must begin with a
'/', indicating a full path to the desired node.
Augment the look-up code so that if a path does *not* begin with '/',
the path is used as the name of an
[cc'ing David Gibson]
On Fri, Mar 04, 2011 at 11:42:14AM -0800, David Daney wrote:
Signed-off-by: David Daney dda...@caviumnetworks.com
---
include/linux/libfdt.h |3 +++
lib/Kconfig |6 ++
lib/Makefile|2 ++
lib/libfdt/Makefile |
[actually cc'ing David Gibson this time]
On Fri, Mar 4, 2011 at 5:57 PM, Grant Likely grant.lik...@secretlab.ca wrote:
[cc'ing David Gibson]
On Fri, Mar 04, 2011 at 11:42:14AM -0800, David Daney wrote:
Signed-off-by: David Daney dda...@caviumnetworks.com
---
include/linux/libfdt.h |
On Fri, Mar 04, 2011 at 11:42:18AM -0800, David Daney wrote:
This is needed for Octeon to use the Device Tree.
Signed-off-by: David Daney dda...@caviumnetworks.com
---
arch/mips/cavium-octeon/octeon-irq.c | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
On Fri, Mar 04, 2011 at 11:42:16AM -0800, David Daney wrote:
Signed-off-by: David Daney dda...@caviumnetworks.com
---
arch/mips/cavium-octeon/.gitignore |2 +
arch/mips/cavium-octeon/Makefile| 13 ++
arch/mips/cavium-octeon/octeon_3xxx.dts | 330
On Fri, Mar 04, 2011 at 05:12:14PM +, Daniel Drake wrote:
Make OLPC fully depend on device tree, and use it to identify the OLPC
platform details. Some nodes are exposed as platform devices where we
plan to use device tree for device probing.
Signed-off-by: Daniel Drake d...@laptop.org
On Fri, Mar 04, 2011 at 05:12:34PM +, Daniel Drake wrote:
In response to new device tree code in the kernel, OLPC will start
using it for probing of certain devices. However, some firmware fixes
are needed to put the devicetree into a usable state.
Retain compatibility with old firmware
On Tue, Feb 22, 2011 at 02:36:47PM -0800, David VomLehn wrote:
Numeric values in properties can be unaligned, so introduce get_unaligned()
in of_read_number() to make this work correctly on all processors.
Signed-off-by: David VomLehn dvoml...@cisco.com
Hi David,
I've thought a lot about
23 matches
Mail list logo