Re: Using gpio in MPC8309

2012-07-13 Thread Gary Thomas
On 2012-07-12 18:08, Gal Afel wrote: Hello, I just got a TWR-MPC8309 from Freescale running Embedded Linux OS. The kernel version is Linux 2.6.11+pq3 patches and the kernel preconfig file is linux_2.6.11_mpc8548_cds_def.config. That's a really OLD kernel, plus it doesn't seem to match your har

Re: Using GPIO

2008-06-06 Thread Guillaume Dargaud
I think there are some more details in my notes: https://lpsc-secure.in2p3.fr/trac/akido/wiki/CrossCompile#GettingGPIOtoworkinuserspace I am also trying to use Xilinx GPIO driver on my board but I encounter some problems. I thought they will be resolved with this information but it doesn't. -

Re: Using GPIO

2008-06-06 Thread Ludovic Desroches
Hi, I am also trying to use Xilinx GPIO driver on my board but I encounter some problems. I thought they will be resolved with this information but it doesn't. I use GPIO driver as built-in but during kernel boot but I don't see log about it contrary to Xemac driver for instance. First I wanted t

Re: Using GPIO

2008-05-19 Thread Guillaume Dargaud
arch/ppc/syslib/virtex_devices.c: // 0 is LEDS_4BIT, 1 is LEDS_POSITIONS, 2 is PUSH_BUTTONS_POSITION #define XPAR_GPIO(num) { \ .name = "xilinx_gpio", \ .id = num, \ .num_resources = 2, \ That was a 2. If anybody wants to make a patch out of those few lines of code, I couldn't figure

Re: Using GPIO

2008-05-19 Thread Josh Boyer
On Mon, 19 May 2008 13:56:12 +0200 "Guillaume Dargaud" <[EMAIL PROTECTED]> wrote: > Thanks for the answer, > > > Dts files are not used with arch/ppc. > My question was more general, since arch/ppc will soon (?) disapear... "Device Tree Souce" files. See lots of examples in arch/powerpc/boot/dt

Re: Using GPIO

2008-05-19 Thread Guillaume Dargaud
Thanks for the answer, Dts files are not used with arch/ppc. My question was more general, since arch/ppc will soon (?) disapear... In arch/ppc, the drivers that are in the system depend on the arch/ppc/platforms/4xx/xparameters/xparameters_ml405.h to setup the addresses of the devices and th

RE: Using GPIO

2008-05-16 Thread John Linn
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guillaume Dargaud Sent: Friday, May 16, 2008 2:16 AM To: linuxppc-dev@ozlabs.org Subject: Re: Using GPIO > If you're using arch/powerpc, my understanding is that > CONFIG_XILINX_GPIO needs to be enabled as well as having the

Re: Using GPIO

2008-05-16 Thread Guillaume Dargaud
If you're using arch/powerpc, my understanding is that CONFIG_XILINX_GPIO needs to be enabled as well as having the right info in the dts file. I'm using arch/ppc, so excuse my ignorance but what are dts files ? I see arch/powerpc/boot/dts/ml405.dts in the kernel tree which would need some chan

RE: Using GPIO

2008-05-15 Thread Stephen Neuendorffer
me Dargaud; linuxppc-dev@ozlabs.org > Subject: RE: Using GPIO > > > Hi Guillaume, > > If you're using arch/powerpc, my understanding is that > CONFIG_XILINX_GPIO needs to be enabled as well as having the right info > in the dts file. > > Right now I'll ha

RE: Using GPIO

2008-05-15 Thread John Bonesio
Hi Guillaume, If you're using arch/powerpc, my understanding is that CONFIG_XILINX_GPIO needs to be enabled as well as having the right info in the dts file. Right now I'll have to defer to others to tell you what's needed in the dts file. If you're using arch/ppc, I believe you just need CONFI