[PATCH 0/7] add of_fdt_unflatten_tree

2010-11-18 Thread Stephen Neuendorffer
and 4-7 are the interesting bits. Patch 2 and 3 provide the ability to use this code on x86, and are provided mostly for reference. The non-early boot code has been compile-tested and executed on X86. Stephen Neuendorffer (7): fdt: Add Kconfig for EARLY_FLATTREE arch/x86: Add support for

[PATCH 1/7] fdt: Add Kconfig for EARLY_FLATTREE

2010-11-18 Thread Stephen Neuendorffer
compile it. This also means that some of the requirements in the early code (such as a cmd_line variable) that most architectures (e.g. X86) don't provide can be ignored. Signed-off-by: Stephen Neuendorffer Grant, We had discussed doing something like this a lng time ago. This (

[PATCH 2/7] arch/x86: Add support for device tree code.

2010-11-18 Thread Stephen Neuendorffer
A few support device-tree related support functions that x86 didn't have before. Signed-off-by: Stephen Neuendorffer Looks like just some irq related junk left! --- arch/x86/include/asm/irq.h |2 ++ arch/x86/kernel/irq.c | 11 +++ 2 files changed, 13 insertions(

[PATCH 7/7] fdt.c: Refactor unflatten_device_tree and add fdt_unflatten_tree

2010-11-18 Thread Stephen Neuendorffer
implement a driver-visible fdt_unflatten_tree function, which can be used to unflatten a blob after boot time. Signed-off-by: Stephen Neuendorffer -- V2: remove extra __va() call make dt_alloc functions return void *. This doesn't fix the general strangeness in this code

[PATCH 4/7] fdt.c: Add non-boottime device tree functions

2010-11-18 Thread Stephen Neuendorffer
In preparation for providing run-time handling of device trees, factor out some of the basic functions so that they take an arbitrary blob, rather than relying on the single boot-time tree. Signed-off-by: Stephen Neuendorffer -- V2: functions have of_fdt_* names removed find_flat_dt_string

[PATCH 5/7] fdt.c: Refactor unflatten_dt_node

2010-11-18 Thread Stephen Neuendorffer
unflatten_dt_node is a helper function that does most of the work to convert a device tree blob into tree of device nodes. This code now uses a passed-in blob instead of using the single boot-time blob, allowing it to be called in more contexts. Signed-off-by: Stephen Neuendorffer --- V2

[PATCH 3/7] arch/x86: select OF and OF_FLATTREE

2010-11-18 Thread Stephen Neuendorffer
Testing patch to verify that the device tree code can be compiled on X86. --- arch/x86/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index cea0cd9..0f2ed5b 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -59,6 +59,8 @@

[PATCH 6/7] fdt.c: Reorder unflatten_dt_node

2010-11-18 Thread Stephen Neuendorffer
Move unflatten_dt_node to be grouped with non-__init functions. Signed-off-by: Stephen Neuendorffer --- drivers/of/fdt.c | 218 +++--- 1 files changed, 109 insertions(+), 109 deletions(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index

RE: Mega rename of device tree routines from of_*() to dt_*()

2010-11-24 Thread Stephen Neuendorffer
> -Original Message- > From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org > [mailto:linuxppc-dev- > bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of Michael > Ellerman > Sent: Wednesday, November 24, 2010 6:04 AM > To: LKML > Cc: linux-mips; microblaze

RE: Mega rename of device tree routines from of_*() to dt_*()

2010-11-24 Thread Stephen Neuendorffer
> -Original Message- > From: David Daney [mailto:dda...@caviumnetworks.com] > Sent: Wednesday, November 24, 2010 9:18 AM > To: Stephen Neuendorffer > Cc: mich...@ellerman.id.au; LKML; linux-mips; > microblaze-ucli...@itee.uq.edu.au; devicetree- > disc...@lists.ozl

Re: [PATCH 3/5] fpga: add basic CARMA board support

2010-11-28 Thread Stephen Neuendorffer
On Sun, Nov 28, 2010 at 4:38 PM, Benjamin Herrenschmidt < b...@kernel.crashing.org> wrote: > On Wed, 2010-09-08 at 09:41 -0700, Ira W. Snyder wrote: > > This adds basic support for the system controller FPGA on the OVRO CARMA > > board. This patch only adds infrastructure that will be used by late

Re: [PATCH] of/flattree: Add of_flat_dt_match() helper function

2010-12-31 Thread Stephen Neuendorffer
gned-off-by: Grant Likely > reviewed-by: Stephen Neuendorffer minor nits below. > --- > arch/powerpc/platforms/40x/ppc40x_simple.c| 13 +++--- > arch/powerpc/platforms/512x/mpc5121_generic.c | 13 +- > arch/powerpc/platforms/52xx/lite5200.c| 16 +

RE: [PATCH 3/3 RFC] dt: add documentation of ARM dt boot interface

2011-01-31 Thread Stephen Neuendorffer
> -Original Message- > From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org [mailto:linuxppc-dev- > bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of Grant Likely > Sent: Sunday, January 30, 2011 11:46 PM > To: devicetree-disc...@lists.ozlabs.org; linuxppc-

RE: [RFC PATCH 06/15] dt: xilinx_hwicap: merge platform and of_platformdriver bindings

2011-02-25 Thread Stephen Neuendorffer
Minor nit below Acked-by: Stephen Neuendorffer Steve > -Original Message- > From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org [mailto:linuxppc-dev- > bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of Grant Likely > Sent: Tuesday, Februar

RE: [PATCH] [V3] net: add Xilinx emac lite device driver

2009-08-20 Thread Stephen Neuendorffer
John, I just got a chance to browse this... Do you want to put in the stripped device names? .compatible = "xlnx,xps-ethernetlite-2", etc... Steve This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be propri

RE: [PATCH] [V3] net: add Xilinx emac lite device driver

2009-08-20 Thread Stephen Neuendorffer
Sorry... you're right... brain fart on my part.. :) Steve > -Original Message- > From: glik...@secretlab.ca [mailto:glik...@secretlab.ca] On Behalf Of Grant > Likely > Sent: Thursday, August 20, 2009 10:45 AM > To: Stephen Neuendorffer > Cc: John Linn; net...@vg

RE: [RFC PATCH 00/12] Merge common OpenFirmware device tree code

2009-10-07 Thread Stephen Neuendorffer
el free. And also feel free to add my: > > Acked-by: David S. Miller > > to your patches. > Thanks for doing this, Grant It's definitely needed. Acked-by: Stephen Neuendorffer Steve This email and any attachments are intended for the sole use of the named recipient(s) a

RE: [spi-devel-general] [PATCH v4] xilinx_spi: Splitted into generic, of and platform driver, added support for DS570

2009-11-09 Thread Stephen Neuendorffer
> -Original Message- > From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org > [mailto:linuxppc-dev- > bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of Grant Likely > Sent: Monday, November 09, 2009 1:22 PM > To: Richard Röjfors > Cc: spi-devel-gene...@lis

RE: [PATCH/RFC] Booting Xilinx ML510 board using SystemACE

2009-11-16 Thread Stephen Neuendorffer
Alon, There are at least two other ways that you might be able to reset a board: 1) Internally through the ICAP device. 2) Through a GPIO connected externally to the reset logic. Part of this is board specific, part of is it design specific. Probably it would be best to have a mechanism in the d

RE: Bug in drivers/serial/of_serial.c?

2009-11-19 Thread Stephen Neuendorffer
> -Original Message- > From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org [mailto:linuxppc-dev- > bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of Alon Ziv > Sent: Thursday, November 19, 2009 4:47 AM > To: Arnd Bergmann; linuxppc-dev@lists.ozlabs.org > S

RE: Bug in drivers/serial/of_serial.c?

2009-11-19 Thread Stephen Neuendorffer
NAK. If the problem is in the device trees that are being generated, we should fix the issue there. We've been trying to avoid putting the fully specified IP versions in the kernel like this, since the IP changes so often. Steve > -Original Message- > From: linuxppc-dev-bounces+stephen=

RE: Bug in drivers/serial/of_serial.c?

2009-11-19 Thread Stephen Neuendorffer
> -Original Message- > From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org [mailto:linuxppc-dev- > bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of Arnd Bergmann > Sent: Thursday, November 19, 2009 9:33 AM > To: Stephen Neuendorffer > C

RE: [PATCH/RFC] Booting Xilinx ML510 board using SystemACE

2009-11-19 Thread Stephen Neuendorffer
> -Original Message- > From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org [mailto:linuxppc-dev- > bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of Alon Ziv > Sent: Thursday, November 19, 2009 4:57 AM > To: Stephen Neuendorffer; linuxppc

RE: [PATCH] [V2] Xilinx : Framebuffer Driver: Add PLB support(non-DCR)

2009-04-13 Thread Stephen Neuendorffer
I think the mainline driver might (still) assume the presence of a PLB->DCR bridge? So there are really 4 cases: Core has DCR access, accessed directly using DCR. Core has DCR access, accessed indirectly using DCR. Core has DCR access, accessed through plb->dcr bridge. Core has PLB access. S

RE: [PATCH] [V3] Xilinx : Framebuffer Driver: Add PLB support and cleanup DCR

2009-04-15 Thread Stephen Neuendorffer
> > -       rc = of_address_to_resource(op->node, 0, &res); > > -       if (rc) { > > -               dev_err(&op->dev, "invalid address\n"); > > -               return rc; > > +       /* > > +        * To check whether the core is connected directly to DCR or PLB > > +        * interface and initi

RE: [PATCH] [V3] Xilinx : Framebuffer Driver: Add PLB support and cleanup DCR

2009-04-15 Thread Stephen Neuendorffer
> -Original Message- > From: Grant Likely [mailto:grant.lik...@secretlab.ca] > Sent: Wednesday, April 15, 2009 9:03 AM > To: Stephen Neuendorffer > Cc: John Linn; jwbo...@linux.vnet.ibm.com; > linux-fbdev-de...@lists.sourceforge.net; linuxppc- > d...@ozlabs.org; ako

Re: [microblaze-uclinux] [PATCH 11/11] microblaze: Kconfig: Enable drivers for Microblaze

2009-04-18 Thread Stephen Neuendorffer
On Fri, Apr 17, 2009 at 10:49 PM, Grant Likely wrote: > On Fri, Apr 17, 2009 at 11:06 AM, Stephen Neuendorffer > wrote: > > > > Can we have XILINX_DRIVERS, please? That way this can also be enabled > > on any architecture that has FPGA peripherals. > > I'

RE: [microblaze-uclinux] [PATCH 11/11] microblaze: Kconfig: Enable drivers for Microblaze

2009-04-20 Thread Stephen Neuendorffer
...@itee.uq.edu.au Cc: grant.lik...@secretlab.ca; Stephen Neuendorffer; linuxppc-dev; linux-ker...@vger.kernel.org; John Linn Subject: Re: [microblaze-uclinux] [PATCH 11/11] microblaze: Kconfig: Enable drivers for Microblaze On Sun, Apr 19, 2009 at 12:41 PM, Stephen Neuendorffer wrote: > > > On

RE: [PATCH] [V2] Add non-Virtex5 support for LL TEMAC driver

2010-03-15 Thread Stephen Neuendorffer
> -Original Message- > From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org [mailto:linuxppc-dev- > bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of John Linn > Sent: Friday, March 12, 2010 5:06 PM > To: net...@vger.kernel.org; linuxppc-...@ozlabs.org; gra

RE: [PATCH] powerpc/5200: Update defconfigs

2010-06-03 Thread Stephen Neuendorffer
It seems to me like what's confused in the defconfigs is two concepts: 1) The requirements of a platform (what options must be set and must not be set) 2) The guarantee that a particular config was known to work at some point in time. The first could allow you to drop 99% of the options (I think t

RE: [PATCHv3] [RFC] Xilinx Virtex 4 FX Soft FPU support

2010-06-16 Thread Stephen Neuendorffer
> -Original Message- > From: linuxppc-dev-bounces+stephen=neuendorffer.n...@lists.ozlabs.org > [mailto:linuxppc-dev- > bounces+stephen=neuendorffer.n...@lists.ozlabs.org] On Behalf Of Grant Likely > Sent: Wednesday, June 16, 2010 1:02 PM > To: Sergey Temerkhanov > Cc: linuxppc-dev@lists.oz

RE: Using devices trees on X86

2010-06-29 Thread Stephen Neuendorffer
> -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: Monday, June 28, 2010 7:39 PM > To: Stephen Neuendorffer > Cc: grant.lik...@secretlab.ca; devicetree-disc...@lists.ozlabs.org; David Miller; > sparcli...@vger.kernel.org; Michal Sime

RE: device trees.

2009-05-11 Thread Stephen Neuendorffer
> You *could* generate the device tree dynamically, but I think that is > a path of diminishing returns considering that generating a .dts at > the same time as bitstream creation time is cheap and it is small. At > one time Steven Neuendorffer was playing with a scheme to preload a > section of

RE: device trees.

2009-05-11 Thread Stephen Neuendorffer
> >>The best alternative to creating the device tree dynamically would > >> be to > >>append the devicetree to the bitimage in a way the boot loader could > >> always find it. > >> > > > > That sounds like a good solution to me. > > > I am glad you like it. If Xilinx would like to offe

RE: device trees.

2009-05-11 Thread Stephen Neuendorffer
> -Original Message- > From: David H. Lynch Jr. [mailto:dh...@dlasys.net] > Sent: Monday, May 11, 2009 7:35 PM > To: Stephen Neuendorffer; linuxppc-dev@ozlabs.org > Subject: Re: device trees. > > Stephen Neuendorffer wrote: > > > >> Many of our sys

RE: device trees.

2009-05-12 Thread Stephen Neuendorffer
Another possibility is to pad the DTB with a DESYNC command and the correct pad frame, just in case it cannot be prevented. Steve > -Original Message- > From: Grant Likely [mailto:grant.lik...@secretlab.ca] > Sent: Monday, May 11, 2009 10:30 PM > To: Stephen Neuendorffer &

RE: device trees.

2009-05-13 Thread Stephen Neuendorffer
>> Um.. one thing I'm missing in this discussion of attaching the dtb to >> the bitstream: I don't see how the bitstream becomes accessible to >> the kernel at runtime. Unless you were exposing the dtb as part of >> the fpga programming, but I thought you explicitly weren't doing that >> because

RE: Musings on PCI busses

2009-05-19 Thread Stephen Neuendorffer
> 1) Probe the host controller in an of_platform driver. This has the > advantage of simplicity. The probe routine will get automatically > called when the PCI host controller device tree node is registered > with the of_platform bus. The bus parenthood also gets reflected in > the device model

RE: [PATCH v4 3/3] powerpc/virtex: Add Xilinx ML510 reference designsupport

2009-05-21 Thread Stephen Neuendorffer
> -Original Message- > From: linuxppc-dev-bounces+stephen.neuendorffer=xilinx@ozlabs.org [mailto:linuxppc-dev- > bounces+stephen.neuendorffer=xilinx@ozlabs.org] On Behalf Of Grant Likely > Sent: Thursday, May 21, 2009 9:25 AM > To: linuxppc-dev@ozlabs.org; Roderick Colenbrander >

RE: [RFC] Add of_find_matching_node() helper function

2008-01-07 Thread Stephen Neuendorffer
I wanted such function too, but stopped short of writing it because of_match_node was in the wrong place. Steve > -Original Message- > From: [EMAIL PROTECTED] [mailto:linuxppc-dev- > [EMAIL PROTECTED] On Behalf Of Grant Likely > Sent: Monday, January 07, 2008 10:16 AM > To: [EMAIL PROTECT

[PATCH 3/7] [POWERPC] Xilinx: Update compatible to use values generated by BSP generator.

2008-01-08 Thread Stephen Neuendorffer
Mainly, this involves two changes: 1) xilinx->xlnx (recognized standard is to use the stock ticker) 2) In order to have the device tree focus on describing what the hardware is as exactly as possible, the compatible strings contain the full IP name and IP version. Signed-off-by: Step

[PATCH 5/7] [POWERPC] Xilinx: Update booting-without-of.

2008-01-08 Thread Stephen Neuendorffer
f the language relating to how mhs nodes should be represent in the device tree. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 56 +++--- 1 files changed, 33 insertions(+), 23 deletions(-) diff --git a/D

[PATCH 0/7] [POWERPC] Xilinx: Device Tree updates for xilinx.

2008-01-08 Thread Stephen Neuendorffer
These patches synchronize all the in-kernel drivers to use the compatible names generated by the UBoot BSP generator. (at git://git.xilinx.com/gen-mhs-devtree.git) This set of patches should all be ready for 2.6.25: I've removed the ones that weren't and cleaned up the remainder. In particul

[PATCH 7/7] [POWERPC] Xilinx: Uartlite: Section type fixups

2008-01-08 Thread Stephen Neuendorffer
All the __devexit functions are now appropriately tagged. This fixes some ppc link warnings. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- drivers/serial/uartlite.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/uartlite.c b/d

[PATCH 2/7] [POWERPC] Xilinx: update compatible list for interrupt controller

2008-01-08 Thread Stephen Neuendorffer
These values now match what is generated by the uboot BSP generator. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/xilinx_intc.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysdev/xilinx_intc.c b/arch/p

[PATCH 6/7] [POWERPC] Xilinx: updated device tree compatibility to match uboot bsp generator.

2008-01-08 Thread Stephen Neuendorffer
Missed this one in the boot loader before. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- arch/powerpc/boot/serial.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/serial.c b/arch/powerpc/boot/serial.c index cafeece..b6c68ef 100644

[PATCH 1/7] [POWERPC] Xilinx: Uartlite: Make console output actually work.

2008-01-08 Thread Stephen Neuendorffer
From: Grant Likely <[EMAIL PROTECTED]> Signed-off-by: Grant Likely <[EMAIL PROTECTED]> Fixed to apply against 2.6.24-rc5, and remove DEBUG information. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- drivers/serial/uartlite.c | 121 +-

[PATCH 4/7] [POWERPC] Xilinx: Add correct compatible list for device tree bus bindings.

2008-01-08 Thread Stephen Neuendorffer
Includes both flavors of plb, opb, dcr, and a pseudo 'compound' bus for representing compound peripherals containing more than one logical device. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- arch/powerpc/platforms/40x/virtex.c | 12 +++- 1 files change

[RFC] Xilinx: lltemac: use uboot bsp generated device tree style.

2008-01-08 Thread Stephen Neuendorffer
This driver is not in mainline, however since it is by far the most complex driver we have in terms of interacting with the device tree, I wouldn't mind some feedback. The complexity comes from the fact that the driver is capable of being connected through two different control interfaces. Pre

RE: [PATCH] Use and not variants.

2008-01-08 Thread Stephen Neuendorffer
> -Original Message- > From: [EMAIL PROTECTED] [mailto:linuxppc-dev- > [EMAIL PROTECTED] On Behalf Of Stephen Rothwell > Sent: Tuesday, January 08, 2008 3:29 PM > To: Jon Loeliger > Cc: linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] Use and not variants. > > > But, of course, the variou

RE: [RFC] [POWERPC] bootwrapper: build multiple cuImages

2008-01-30 Thread Stephen Neuendorffer
I like the spirit... It does seem like the compiled in device tree is specified in the wrong place. Comments inline. > -Original Message- > From: [EMAIL PROTECTED] [mailto:linuxppc-dev- > [EMAIL PROTECTED] On Behalf Of Grant Likely > Sent: Wednesday, January 30, 2008 4:34 PM > To: [EMAIL

RE: [PATCH] [XILINX][HWICAP] Xilinx Internal Configuration Access Port device driver.

2008-01-31 Thread Stephen Neuendorffer
Peter, Sorry, this has taken so long... I've undertaken some significant refactorings, and included support for the new EDK9.2 xps_hwicap. Responses below. > Please don't put the HWICAP option in the middle of the HVC options. oops! fixed. > > > +config XILINX_HWICAP > > + tristate "Xilin

RE: [PATCH] [POWERPC] Xilinx: hwicap driver

2008-01-31 Thread Stephen Neuendorffer
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Likely > Sent: Thursday, January 31, 2008 11:59 AM > To: Stephen Neuendorffer > Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] > Subject: Re: [PATCH] [POWERPC] Xilinx: hwicap d

RE: [PATCH] [POWERPC] Xilinx: hwicap driver

2008-01-31 Thread Stephen Neuendorffer
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Likely > Sent: Thursday, January 31, 2008 3:13 PM > To: Stephen Neuendorffer > Cc: linuxppc-dev@ozlabs.org; [EMAIL PROTECTED] > Subject: Re: [PATCH] [POWERPC] Xilinx: hwicap driv

RE: [PATCH] [POWERPC] Xilinx: hwicap driver

2008-02-01 Thread Stephen Neuendorffer
Thanks, I realized that on the way home.. That's what I get for trying to finish something quickly before leaving.. :) Steve > -Original Message- > From: Nathan Lynch [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 31, 2008 9:56 PM > To: Stephen Neuendorffer &

RE: [RFC/PATCH v2] [POWERPC] bootwrapper: build multiple cuImages

2008-02-01 Thread Stephen Neuendorffer
What if it was something like: image-$(CONFIG_MPC832x_MDS) += cuImage.mpc832x_mds image-$(CONFIG_MPC832x_RDB) += cuImage.mpc832x_rdb image-$(CONFIG_MPC834x_ITX) += cuImage.mpc8349emitx \ cuImage.mpc8349emitxgp platform-

[PATCH 2/2] [POWERPC] Xilinx: hwicap: update booting-without-of.txt

2008-02-05 Thread Stephen Neuendorffer
The ICAP device in Xilinx FPGAs differs slightly between different FPGAs. The driver needs an additional attribute in the device tree to distinguish this. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 14 ++ 1

[PATCH] Xilinx: hwicap: cleanup

2008-02-11 Thread Stephen Neuendorffer
Fix some missing __user tags and incorrect section tags. Convert semaphores to mutexes. Make probed_devices re-entrancy and error condition safe. Fix some backwards memcpys. Some other minor cleanups. Use kerneldoc format. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- Grant,

[PATCH] [RFC] Xilinx: Add generic configuration option to enable all xilinx drivers.

2008-02-12 Thread Stephen Neuendorffer
In the future, this will be used to provide similar configuration for PowerPC and Microblaze. It may also be convenient for those using Xilinx cores as peripherals for external processors, rather than explicitly having a dependance on the processor architecture. Signed-off-by: Stephen

RE: [PATCH] [POWERPC] Enable correct operation of serial ports withnonzero regshift.

2008-02-14 Thread Stephen Neuendorffer
ial.c > + regshift = get_property(np, "reg-shift", NULL); ditto... Otherwise, Acked-by: Stephen Neuendorffer <[EMAIL PROTECTED]> Also, can you post a patch to the Xilinx portion of booting-without-of.txt that has the device tree entries necessary to get the uart to work? (

RE: [PATCH] [POWERPC] Enable correct operation of serial ports withnonzero regshift.

2008-02-14 Thread Stephen Neuendorffer
gcc knows better. :) > -Original Message- > From: Stephen Rothwell [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 14, 2008 3:27 PM > To: Stephen Neuendorffer > Cc: Pavel Kiryukhin; linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] [POWERPC] Enable correct operati

RE: [PATCH] booting-without-of: add Xilinx uart 16550.

2008-02-15 Thread Stephen Neuendorffer
> + - reg-shift : registers offset shift (standard uart_port field). > + Property is optional if regshift is zero. I was hoping to get an idea of what is required here, or when I might use it? It looks like the ARCH=ppc code instantiates this with a reg-shift of 2... Is this the e

RE: [PATCH] booting-without-of: add Xilinx uart 16550.

2008-02-15 Thread Stephen Neuendorffer
> -Original Message- > From: Pavel Kiryukhin [mailto:[EMAIL PROTECTED] > Sent: Friday, February 15, 2008 9:41 AM > To: Stephen Neuendorffer > Cc: linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] booting-without-of: add Xilinx uart 16550. > > Stephen Neuendorffer w

RE: [PATCH] booting-without-of: add Xilinx uart 16550.

2008-02-15 Thread Stephen Neuendorffer
> > Instead of attempting to come up with a generic description > > of this, I recommend just naming it after the actual device instance; > > something like compatible="xlnx,opb-uart16550"; > > Well, that means that we'll need a to add a code which "glues" the chip to > 8250.c driver... well,

RE: [PATCH] Xilinx: hwicap: cleanup

2008-02-24 Thread Stephen Neuendorffer
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Likely > Sent: Saturday, February 23, 2008 10:17 PM > To: Stephen Neuendorffer > Cc: linuxppc-dev@ozlabs.org; git-dev; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PAT

[PATCH] [POWERPC] [v2] Xilinx: hwicap: cleanup

2008-02-24 Thread Stephen Neuendorffer
ure Fixed a comment that didn't match the function name fixed argument with 'register' keyword. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- Grant, Since it appears that the driver will stay in as-is, here are the updates against mainline, based on Jiri'

RE: Merge dtc

2007-10-17 Thread Stephen Neuendorffer
> -Original Message- > From: > [EMAIL PROTECTED] > g > [mailto:[EMAIL PROTECTED] zlabs.org] On Behalf Of Grant Likely > Sent: Wednesday, October 17, 2007 6:15 AM > To: Grant Likely; Paul Mackerras; Josh Boyer; linuxppc-dev@ozlabs.org > Subject: Re: Merge dtc > > On 10/16/07, David Gibs

RE: [PATCH v3] Device tree bindings for Xilinx devices

2007-10-18 Thread Stephen Neuendorffer
> -Original Message- > From: Grant Likely [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 18, 2007 10:23 AM > To: linuxppc-dev@ozlabs.org; Stephen Neuendorffer; Wolfgang > Reissnegger; Leonid; [EMAIL PROTECTED]; Josh > Boyer; Arnd Bergmann > Subject: [

RE: [PATCH v3] Device tree bindings for Xilinx devices

2007-10-18 Thread Stephen Neuendorffer
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Grant Likely > Sent: Thursday, October 18, 2007 11:13 AM > To: Stephen Neuendorffer > Cc: linuxppc-dev@ozlabs.org; Wolfgang Reissnegger; Leonid; > [EMAIL PROTECTED]; Josh

RE: [PATCH v3] Device tree bindings for Xilinx devices

2007-10-19 Thread Stephen Neuendorffer
Here's a full .dts generated using an updated version of gen_mhs_devtree.py, following the proposal. It happens to be a microblaze system, but you get the idea. Grant: Is this pretty what you intend? Steve / { #address-cells = <1>; #size-cells = <1>; compatible = "ibm,pl

RE: [microblaze-uclinux] Re: [microblaze-uclinux] RE: [PATCH v3] Device tree bindings for Xilinx devices

2007-10-22 Thread Stephen Neuendorffer
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Michal Simek > Sent: Friday, October 19, 2007 7:28 PM > To: [EMAIL PROTECTED] > Cc: Stephen Neuendorffer; Grant Likely; Leonid; Arnd > Bergmann; linuxppc-dev@ozlabs.o

RE: [microblaze-uclinux] Re: [microblaze-uclinux] RE: [PATCH v3] Device tree bindings for Xilinx devices

2007-10-23 Thread Stephen Neuendorffer
> -Original Message- > From: > [EMAIL PROTECTED] > g > [mailto:[EMAIL PROTECTED] zlabs.org] On Behalf Of Michal Simek > Sent: Monday, October 22, 2007 9:08 PM > To: [EMAIL PROTECTED] > Cc: Leonid; Wolfgang Reissnegger; Arnd Bergmann; > linuxppc-dev@ozlabs.org > Subject: RE: [microblaz

RE: [microblaze-uclinux] RE: [PATCH v3] Device tree bindings for Xilinx devices

2007-10-23 Thread Stephen Neuendorffer
interrupts = < 0 0 >; reg = < 41c0 1 >; xlnx,count-width = <20>; xlnx,edk-name = "opb_timer_1"; xlnx,one-timer-only = <1>;

RE: [PATCH 1/4] Merge dtc and libfdt upstream source

2007-11-12 Thread Stephen Neuendorffer
> -Original Message- > From: > [EMAIL PROTECTED] > g > [mailto:[EMAIL PROTECTED] zlabs.org] On Behalf Of Scott Wood > Sent: Monday, November 12, 2007 9:13 AM > To: David Gibson > Cc: linuxppc-dev@ozlabs.org; Paul Mackerras > Subject: Re: [PATCH 1/4] Merge dtc and libfdt upstream source

Xilinx EDK BSP generation of device trees for microblaze and PowerPC

2007-11-20 Thread Stephen Neuendorffer
I've updated some code from Michel Simek to generate Flat Device Trees from Xilinx EDK projects. This code is now hosted at: git://git.xilinx.com/gen-mhs-devtree.git This has one major advantage over the gen-mhs-devtree.py approach: default IP core parameters that are not specified in th

RE: Xilinx Linux git server available

2007-11-23 Thread Stephen Neuendorffer
It was the edk-derived driver for the uartlite.. The functionality is now provided by the open source driver. Steve -Original Message- From: [EMAIL PROTECTED] on behalf of Peter Korsgaard Sent: Thu 11/22/2007 7:45 AM To: Grant Likely Cc: linuxppc-dev@ozlabs.org; Wolfgang Reissnegger Su

RE: Xilinx EDK BSP generation of device trees for microblaze and PowerPC

2007-11-24 Thread Stephen Neuendorffer
x27;m concerned about maintaining a bunch of semantic information about the ll_temac driver outside of the driver itself. 3) All of this is very different in structure from the way that the xparameters are organized. The ll_temac BSP code copies the xparameters out of the MPMC and they are sim

RE: Xilinx EDK BSP generation of device trees for microblaze and PowerPC

2007-11-26 Thread Stephen Neuendorffer
I've pushed the current state up to git://git.xilinx.com/gen-mhs-devtree.git for your perusing. Comments below. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Grant Likely > Sent: Sunday, November 25, 2007 2:47 PM > To:

[PATCH] [POWERPC] Improved documentation of device tree 'ranges'.

2007-12-03 Thread Stephen Neuendorffer
I was misled by the prior language. I've attempted to clarify how 'ranges' are used, in particular, how to get a 1:1 mapping. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 11 +++ 1 files change

[PATCH] [POWERPC] [v2] Improved documentation of device tree 'ranges'.

2007-12-03 Thread Stephen Neuendorffer
I was misled by the prior language. I've attempted to clarify how 'ranges' are used, in particular, how to get an identity mapping. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 13 + 1 files change

RE: [PATCH] [POWERPC] [v2] Improved documentation of device tree'ranges'.

2007-12-03 Thread Stephen Neuendorffer
I'm actually a little embarrassed that I didn't pick that nit myself.. :) -Original Message- From: David Gibson [mailto:[EMAIL PROTECTED] Sent: Mon 12/3/2007 6:40 PM To: Stephen Neuendorffer Cc: [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org Subject: Re: [PATCH] [POWERPC] [v2

[PATCH] [POWERPC] Xilinx: clear data caches.

2007-12-04 Thread Stephen Neuendorffer
o needs to get pulled to powerpc. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- arch/powerpc/boot/raw-platform.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/raw-platform.c b/arch/powerpc/boot/raw-platform.c i

[PATCH] [XILINX][HWICAP] Xilinx Internal Configuration Access Port device driver.

2007-12-04 Thread Stephen Neuendorffer
ndled in user space anyway. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- Grant, No comments last time... It would be nice if this merged with 2.6.25, I think. Steve drivers/char/Kconfig |5 + drivers/char/Makefile |1 + d

RE: Xilinx EDK BSP generation of device trees for microblaze and PowerPC

2007-12-07 Thread Stephen Neuendorffer
> > > -Original Message- > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > > Behalf Of Grant Likely > > > Sent: Sunday, November 25, 2007 2:47 PM > > > To: Stephen Neuendorffer; Segher Boessenkool; David Gibson; > > > Jo

Device Tree updates for xilinx.

2007-12-13 Thread Stephen Neuendorffer
These patches synchronize all the in-kernel drivers to use the compatible names generated by the UBoot BSP generator. (at git://git.xilinx.com/gen-mhs-devtree.git) The patches to make this work are coming shortly: patches 1-2 are provided for context only... They're not ready for mainline. They

[PATCH 1/7] bootwrapper: Add a firmware-independent "raw" target.

2007-12-13 Thread Stephen Neuendorffer
From: Grant Likely <[EMAIL PROTECTED]> This target produces a flat binary rather than an ELF file, fixes the entry point at the beginning of the image, and takes a complete device tree with no fixups needed. The device tree must have labels on /#address-cells, the timebase frequency, and the memo

[PATCH 2/7] [POWERPC] Xilinx: clear data caches.

2007-12-13 Thread Stephen Neuendorffer
o needs to get pulled to powerpc. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- arch/powerpc/boot/raw-platform.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/raw-platform.c b/arch/powerpc/boot/raw-platform.c i

[PATCH 6/7] [POWERPC] Xilinx: Add correct compatible list for device tree bus bindings.

2007-12-13 Thread Stephen Neuendorffer
Includes both flavors of plb, opb, dcr, and a pseudo 'compound' bus for representing compound peripherals containing more than one logical device. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- arch/powerpc/platforms/40x/virtex.c | 12 +++- 1 files change

[PATCH 3/7] [POWERPC] Xilinx: Uartlite: Make console output actually work.

2007-12-13 Thread Stephen Neuendorffer
From: Grant Likely <[EMAIL PROTECTED]> Signed-off-by: Grant Likely <[EMAIL PROTECTED]> Fixed to apply against 2.6.24-rc5, and remove DEBUG information. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- drivers/serial/uartlite.c | 121 +-

[PATCH 4/7] [POWERPC] Xilinx: update compatible list for interrupt controller

2007-12-13 Thread Stephen Neuendorffer
These values now match what is generated by the uboot BSP generator. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/xilinx_intc.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysdev/xilinx_intc.c b/arch/p

[PATCH 5/7] [POWERPC] Xilinx: Update compatible to use values generated by BSP generator.

2007-12-13 Thread Stephen Neuendorffer
Mainly, this involves two changes: 1) xilinx->xlnx (recognized standard is to use the stock ticker) 2) In order to have the device tree focus on describing what the hardware is as exactly as possible, the compatible strings contain the full IP name and IP version. Signed-off-by: Step

[PATCH 7/7] [POWERPC] Xilinx: Update booting-without-of.

2007-12-13 Thread Stephen Neuendorffer
This now better describes what the UBoot device tree generator actually does. In particular: 1) Nodes have a label derived from the device name, and a node name derived from the device type. 2) Usage of compound nodes (representing more than one device in the same IP) which actually works. Thi

RE: [PATCH 2/7] [POWERPC] Xilinx: clear data caches.

2007-12-13 Thread Stephen Neuendorffer
y, December 13, 2007 4:10 PM > To: Stephen Neuendorffer > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org > Subject: Re: [PATCH 2/7] [POWERPC] Xilinx: clear data caches. > > > On Fri, 2007-12-14 at 11:07 +1100, Benjamin Herrenschmidt wro

RE: [PATCH 1/7] bootwrapper: Add a firmware-independent "raw" target.

2007-12-14 Thread Stephen Neuendorffer
> -Original Message- > From: Milton Miller [mailto:[EMAIL PROTECTED] > Sent: Friday, December 14, 2007 12:06 AM > To: Stephen Neuendorffer > Cc: ppcdev; Grant Likely > Subject: Re: [PATCH 1/7] bootwrapper: Add a > firmware-independent "raw" target. >

RE: [PATCH 7/7] [POWERPC] Xilinx: Update booting-without-of.

2007-12-16 Thread Stephen Neuendorffer
27;t be handled by a common 'pseudo-bus'. Steve -Original Message- From: [EMAIL PROTECTED] on behalf of Grant Likely Sent: Sun 12/16/2007 8:30 PM To: Stephen Neuendorffer; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org Subject: Re: [PATCH 7/7]

RE: Device Tree updates for xilinx.

2007-12-16 Thread Stephen Neuendorffer
r ibm,ppc405 or ibm.ppc-405 would seem to be more in character than PowerPC,405. Steve -Original Message- From: David Gibson [mailto:[EMAIL PROTECTED] Sent: Sat 12/15/2007 11:04 PM To: Stephen Neuendorffer Cc: Grant Likely; Michal Simek; John Williams; linuxppc-dev@ozlabs.org; git Subj

RE: Device Tree updates for xilinx.

2007-12-16 Thread Stephen Neuendorffer
Thanks, I've updated the generator to reflect this. Steve -Original Message- From: David Gibson [mailto:[EMAIL PROTECTED] Sent: Sun 12/16/2007 9:21 PM To: Stephen Neuendorffer Cc: linuxppc-dev@ozlabs.org; Michal Simek; git Subject: Re: Device Tree updates for xilinx. On Sun, D

RE: [PATCH 7/7] [POWERPC] Xilinx: Update booting-without-of.

2007-12-17 Thread Stephen Neuendorffer
s morning, so productivity may be low. :) Steve From: [EMAIL PROTECTED] on behalf of Grant Likely Sent: Mon 12/17/2007 7:19 AM To: Stephen Neuendorffer Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org; David Gibson Subject: Re: [PATC

RE: [PATCH 7/7] [POWERPC] Xilinx: Update booting-without-of.

2007-12-17 Thread Stephen Neuendorffer
17, 2007 7:20 AM > To: Stephen Neuendorffer > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; linuxppc- > [EMAIL PROTECTED]; David Gibson > Subject: Re: [PATCH 7/7] [POWERPC] Xilinx: Update booting-without-of. > > > - (name)@(base-address) { > > + (name): (ip-core-

[PATCH 7/7] [POWERPC] [v2] Xilinx: Update booting-without-of.

2007-12-17 Thread Stephen Neuendorffer
f the language relating to how mhs nodes should be represent in the device tree. Signed-off-by: Stephen Neuendorffer <[EMAIL PROTECTED]> --- Documentation/powerpc/booting-without-of.txt | 56 +++--- 1 files changed, 33 insertions(+), 23 deletions(-) diff --git a/D

  1   2   >