Re: spi-imx: add support for single burst mode (8,16,32)

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

 



On Tue, May 31, 2016 at 07:43:37AM -0300, Fabio Estevam wrote:
> [Adding Sascha and Anton in Cc]
> 
> On Tue, May 31, 2016 at 6:40 AM, Chris Ruehl <chris.ruehl@xxxxxxxxxxxx> wrote:
> > Hi,
> >
> > as imx6 using multiple burst to send data to spi slaves and drop the
> > chipselect between the words by default my sensor NXP MPL115A1 wasn't
> > working.

I generally recommend to use GPIO Chip selects. The SPI controller has
its own ideas when to assert the chipselects which is hard to match (if
possible at all) with what Linux SPI expects. See the cs-gpios device
tree property.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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