Hi,
I am working with imx8qxp , i am using yocto(sumo) setup with u-boot version imx_v2018.03_4.14.78_1.0.0_ga.
I want to enable security chip which is using normal SPI interface.
I am able to bring up this IC from kernel using LPSPI.
When i looked at the u-boot source i was not able find any lpspi driver and below are available drivers in my source tree.
So how do i use normal spi bus driver on imx8qxp in u-boot-2018 ?
Any help would be greatly appreciable.
Thanks & Regards,
Rutvij
Hi,
Any chance to review the availability of SPI bus driver in u-boot source ?
Thanks
got the reply from expert team:
"There is no LSPI driver for 8X/8 in u-boot."
one can refer to the kernel device tree file:
fsl-imx8qxp-lpddr4-arm2-lpspi.dts\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel
Hi ,
Thank for the reply,
But i think you should read the question again , as it says "I am able to bring up this IC from kernel using LPSPI." and the concern is related to u-boot and not the kernel.
LPSPI driver and its DTS configuration seems not available in the u-boot source(?).
So how do i enable imx8qxp LPSPI or normal SPI in u-boot source ?
Thanks.
Hi,
Thanks fr the reply.
As the link suggested, there should be compatible driver available in the same repo, but when looked at it unfortunately i was unable to find the compatible driver here as well as in my repo after switching to the same branch.
spi\drivers - uboot-imx - i.MX U-Boot . (same link provided as above, but directory is driver)
I could add compatible string in spidev.c but it also does not seem available
I could find lpspi driver node in dts file but can not find any compatible "fsl,imx7ulp-spi" driver in source.
Also the dts file you suggested is for imx8qm devices but i m using imx8qxp, will this work for both ?
Is there anything i am missing here ?
Can you please verify at your end ?
Thanks