Hi Simon, On Sat, May 14, 2016 at 8:34 PM, Simon Glass <s...@chromium.org> wrote: > Hi, > > On 13 May 2016 at 10:58, Lad, Prabhakar <prabhakar.cse...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot