On Thu, Jan 14, 2021 at 02:42:26PM +0100, Christophe Leroy wrote:
> Le 14/01/2021 à 14:22, Mark Brown a écrit :
> > For GPIO chipselects you should really fix the driver to just hand the
> > GPIO off to the core rather than trying to implement this itself, that
> > will avoid driver specific
Le 14/01/2021 à 14:22, Mark Brown a écrit :
For GPIO chipselects you should really fix the driver to just hand the
GPIO off to the core rather than trying to implement this itself, that
will avoid driver specific differences like this.
IIUC, it is not trivial as it requires implementing
; So changing the board config is compensated by the above, and at the end
> > > it still doesn't work.
> > This is a driver bug, the driver set_cs() operation should not be
> > modifying the value it is told to set.
> A driver bug ? Or maybe a change forgotten in comm
ten in commit 766c6b63aa04 ("spi: fix client driver
breakages when using GPIO descriptors") ?
I'm almost sure it was not a bug, it is in line which what is said in the comment removed by the
above mentionned commit.
I'll send a fix.
Christophe
On Thu, Jan 14, 2021 at 12:27:42PM +0100, Christophe Leroy wrote:
> Today I have in the DTS the CS GPIOs declared as ACTIVE_LOW.
> If I declare them as ACTIVE_HIGH instead, then I also have to set
> spi-cs-high property, otherwise of_gpio_flags_quirks() is not happy and
> forces the GPIO ACTIVE
Le 13/01/2021 à 13:33, Mark Brown a écrit :
On Wed, Jan 13, 2021 at 09:49:12AM +0100, Christophe Leroy wrote:
With commit 766c6b63aa04 ("spi: fix client driver breakages when using GPIO
descriptors") reverted, it is back to work:
...
What shall I do ?
I would guess th
On Wed, Jan 13, 2021 at 09:49:12AM +0100, Christophe Leroy wrote:
> With commit 766c6b63aa04 ("spi: fix client driver breakages when using GPIO
> descriptors") reverted, it is back to work:
...
> What shall I do ?
I would guess that there's an error with the chip select pol
: SPI adapter
temp1: +0.0 C
lm74-spi-0-1
Adapter: SPI adapter
temp1: +0.0 C
With commit 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors") reverted,
it is back to work:
root@vgoip:~# sensors
lm
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
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.
I'm new to processors running Linux and I'm having a hard time trying to
understand how can I program the
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
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.
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
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/dts/. Those
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
-
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 right
info
Hello all,
I'm trying to use the Xilinx GPIO from a user program.
Since I haven't managed to compile their example (simon.c is given without a
makefile), I wanted to try using /dev/gpio...
So I added
/dev/gpio0 c 666 0 0 10 185 - - -
to device_table.txt when I generated my root
17 matches
Mail list logo