[U-Boot] Adding SPI slave devices To DM

Lad, Prabhakar prabhakar.csengg at gmail.com
Sat May 14 22:26:23 CEST 2016


Hi Simon,

On Sat, May 14, 2016 at 8:34 PM, Simon Glass <sjg at chromium.org> wrote:
> Hi,
>
> On 13 May 2016 at 10:58, Lad, Prabhakar <prabhakar.csengg at gmail.com> wrote:
>>
>> Hello All,
>>
>> It's quite a long time, since I touched u-boot code, I was working on
>> adding a slave SPI device to DM, can anyone point me to a sample
>> driver.
>
> I think you mean a device that uses SPI, so you could try cro_ec_spi.c
> or tpm_tis_st33zp24_spi.c.
>

Thanks for the pointers.

My intention was, to use sspi command, just to power up the LCD, but since
there is no slave driver for it in the u-boot source, the device didnt populate
as I am using devicetree.

So would it be good to have spidev driver in u-boot as well ?

Cheers,
--Prabhakar Lad


More information about the U-Boot mailing list