Re: [PATCH] spi: bcm2835: Convert to use CS GPIO descriptors

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

 



> On 23.04.2019, at 10:43, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> 
> 
>> Then loading the module:
>> [   30.403459] spi spi0.0: FIXME: setting up native-CS0 as GPIO
>> 
>> But when loading a spi-device driver it does not detect the device.
>> 
>> One note: the logic analyzer shows that the CS line is inverted
>> (high on SPI Clock running)
> 
> What did you apply the patch on?
> 
> Using v5.1-rc1 will not work, you need a later
> RC because of other mistakes of mine :/
> I would try just using mainline (Torvalds HEAD).
> 

I just tried 5.1.0-rc6.

But it still shows the same behavior with inverted CS.

After reboot before loading the driver GPIO is High and in mode Alt0.
After module load the GPIO is now output but switches level to LOW.

Martin




[Index of Archives]     [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