All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] SPI Slave mode Device Tree
@ 2017-12-18 10:25 Amartya Shreyank
  2017-12-18 18:20 ` Fabio Estevam
  0 siblings, 1 reply; 2+ messages in thread
From: Amartya Shreyank @ 2017-12-18 10:25 UTC (permalink / raw)
  To: u-boot

Hi,

While going over device tree binding documentation I came across this:

/doc/device-tree-bindins/spi/spi-bus.txt: "This binding does not describe SPI controllers in slave mode."

Does this mean I cannot use device tree in case I want to configure the controller as SPI slave?
If yes, please suggest how can I configure it as a SPI slave.
I'm using a imx6solo based custom board.

Best regards,

Shreyank Amartya
RBEI/ESD2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] SPI Slave mode Device Tree
  2017-12-18 10:25 [U-Boot] SPI Slave mode Device Tree Amartya Shreyank
@ 2017-12-18 18:20 ` Fabio Estevam
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2017-12-18 18:20 UTC (permalink / raw)
  To: u-boot

Hi Amartya,

On Mon, Dec 18, 2017 at 8:25 AM, Amartya Shreyank (RBEI/ESD2)
<Shreyank.Amartya2@in.bosch.com> wrote:
> Hi,
>
> While going over device tree binding documentation I came across this:
>
> /doc/device-tree-bindins/spi/spi-bus.txt: "This binding does not describe SPI controllers in slave mode."
>
> Does this mean I cannot use device tree in case I want to configure the controller as SPI slave?
> If yes, please suggest how can I configure it as a SPI slave.
> I'm using a imx6solo based custom board.

Yes, we do not have SPI slave support in U-Boot.

drivers/spi/spi-imx.c from mainline kernel is capable of supporting
SPI slave though.

BTW, any chance of fixing the issue you pointed out last week about
the usage of an inconrrect function inside SPI imx U-Boot driver?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-18 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-18 10:25 [U-Boot] SPI Slave mode Device Tree Amartya Shreyank
2017-12-18 18:20 ` Fabio Estevam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.