All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] fpga spi on uboot driver
@ 2019-09-16 15:49 jérémy alcim
  0 siblings, 0 replies; 2+ messages in thread
From: jérémy alcim @ 2019-09-16 15:49 UTC (permalink / raw)
  To: u-boot

hi,

I search how to make a multiplexing for my unstandar spi on my fpga.
why ? because my spi register are 1 slot more.
this slot is a sublayer for non standard connection data bus selector.
I have 1 card connected at 4 card by my spi implementation.
i want to use my spi chip on the fpga with the standard <sspi> command.
Then for that i make a spi driver.
on this driver i need to make 4 udevice (for only 1 spi chip on
device-tree).
why ? because i want set my registre slot for select the good data bus,
then for select the good card connected on him.
I have make a simple command who work, but its not approved by ma boss...
He want use the standard interface with the unstandard spi hardware.

I search find 2 week... but not find how to do.
Are you an idea for make 4 spi on uboot with only 1 on device-tree ?
Actually i write 4 time the same device on dts...
Then i run 4 time the driver... its not good...

Thanks for reading with my bad english ^^.

Alcim

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

* [U-Boot] fpga spi on uboot driver
@ 2019-09-18 10:43 jérémy alcim
  0 siblings, 0 replies; 2+ messages in thread
From: jérémy alcim @ 2019-09-18 10:43 UTC (permalink / raw)
  To: u-boot

hi,

I search how to make a multiplexing for my unstandar spi on my fpga.
why ? because my spi register are 1 slot more.
this slot is a sublayer for non standard connection data bus selector.
I have 1 card connected at 4 card by my spi implementation.
i want to use my spi chip on the fpga with the standard <sspi> command.
Then for that i make a spi driver.
on this driver i need to make 4 udevice (for only 1 spi chip on
device-tree).
why ? because i want set my registre slot for select the good data bus,
then for select the good card connected on him.
I have make a simple command who work, but its not approved by ma boss...
He want use the standard interface with the unstandard spi hardware.

I search find 2 week... but not find how to do.
Are you an idea for make 4 spi on uboot with only 1 on device-tree ?
Actually i write 4 time the same device on dts...
Then i run 4 time the driver... its not good...

Thanks for reading with my bad english ^^.

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

end of thread, other threads:[~2019-09-18 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-16 15:49 [U-Boot] fpga spi on uboot driver jérémy alcim
2019-09-18 10:43 jérémy alcim

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.