[U-Boot] Adding SPI slave devices To DM
Simon Glass
sjg at chromium.org
Sat May 14 23:22:53 CEST 2016
Hi,
On 14 May 2016 at 14:26, Lad, Prabhakar <prabhakar.csengg at gmail.com> wrote:
> 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 ?
Sounds useful to me.
Regards,
Simon
More information about the U-Boot
mailing list