Re: [PATCH] spi: Support high CS when using descriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 10, 2019 at 1:46 PM Janek Kotas <jank@xxxxxxxxxxx> wrote:
> > On 10 Jan 2019, at 13:15, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> >
> > Janek, it'd be great if you could test this patch and
> > confirm that it makes the DW driver tick again.
> >
>
> Hi Linus,
>
> The setup function works now and the Cadence driver is initialized:
> at25 spi0.0: 1 KByte at25 eeprom, pagesize 16
>
> However, the chip select signal is inverted.
> The moment the SPI HW is initialized it goes low.
> It is driven high during SPI transmissions.

Ouch! Which device tree file is this?

My intention was that of_gpio_flags_quirks() in
drivers/gpio/gpiolib-of.c would activate and you would
get a print like this in dmesg:

of_gpio_flags_quirks: enforce active low on chipselect handle

I take it that this is not working, so I need to try to reproduce.

But I'm on to it!

Yours,
Linus Walleij



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux