Re: a question on iowrite32()

2007-06-07 Thread Domen Puncer
On 06/06/07 19:30 +, Ming Liu wrote: Dear all, I am writing a device driver for my customized PLB hardware module on my PPC405 Xilinx ML403 architecture. In the driver code, I use a iowrite32() function to initiate a DMA transfer. However, I found that if I program as

RE: MPC8272 LPT support

2007-06-07 Thread Kruit, Chris van der [FINT]
Hi Dave, Thanks for the reply. It's really usefull. I probally come back later with some more questions :) Chris. -Original Message- From: David Hawkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 6:06 PM To: Kruit, Chris van der [FINT] Cc: linuxppc-embedded@ozlabs.org

write u-boot.bin on mpc8349e-mITX-gp with bdi2000

2007-06-07 Thread Soohyung Cho
Hello. Now I'm trying to write u-boot.bin on mpc8349e-mITX-gp with bdi2000. But I don't have correct bdi2000 configuration file for mpc8349e-mITX-gp. How can I write u-boot.bin on that board? Unfortunately I erased u-boot area on that board so there no u-boot anymore on that board. Is there

Re: a question on iowrite32()

2007-06-07 Thread Ming Liu
Dear Arnd, Since of_iomap() is rather new and hardly used by any drivers, we could still redefine it so that you would use iowrite32{,be}() instead of out_{be,le}32, but currently that doesn't work. So if I am correct, your suggestion is to use iowrite32be() in my device driver, right? However,

Re: [PATCH] Simple driver for Xilinx SPI controler.

2007-06-07 Thread Andrei Konovalov
IMHO the Kconfig stuff is off topic on spi-devel-general list, so I've removed them from the distribution list. OK? Grant Likely wrote: On 6/6/07, Stephen Neuendorffer [EMAIL PROTECTED] wrote: Why still have XILINX_EDK? I thought you meant replace XILINX_EDK with XILINX_DRIVERS. Yes,

Re: [spi-devel-general] [PATCH] Simple driver for Xilinx SPI controler.

2007-06-07 Thread Andrei Konovalov
Hi David, Thanks for reviewing this stuff! David Brownell wrote: On Wednesday 06 June 2007, Andrei Konovalov wrote: Would be nice to get this driver into mainline. Reviews and comments are welcome. I'll ignore the Kconfig flamage ... ;) --- /dev/null +++ b/drivers/spi/xilinx_spi.c

Re: [spi-devel-general] [PATCH] Simple driver for Xilinx SPI controler.

2007-06-07 Thread David Brownell
On Thursday 07 June 2007, Andrei Konovalov wrote: +/* Simple macros to get the code more readable */ +#define xspi_in16(addr) in_be16((u16 __iomem *)(addr)) +#define xspi_in32(addr) in_be32((u32 __iomem *)(addr)) +#define xspi_out16(addr, value) out_be16((u16 __iomem

how are the interrupts mapped on the taiga board?

2007-06-07 Thread Leisner, Martin
I'm looking at mpc7448hpc2.dts -- and the tsi108 specs... I see how TTYS0 is IRQ12 and the ethernet is IRQ16...that agrees with the file... and the tundra TSi108 spec. But in after we boot in /proc/interrupts: 16: 1796 Tsi108_PIC Edge serial 18: 24148 Tsi108_PIC Level

Re: how are the interrupts mapped on the taiga board?

2007-06-07 Thread Sergei Shtylyov
Leisner, Martin wrote: I'm looking at mpc7448hpc2.dts -- and the tsi108 specs... I see how TTYS0 is IRQ12 and the ethernet is IRQ16...that agrees with the file... and the tundra TSi108 spec. But in after we boot in /proc/interrupts: 16: 1796 Tsi108_PIC Edge serial 18: