I use on an imx8qxp based board the sources from:
https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-thud -m imx-4.19.35-1.0.0.xml
Now the customer wants to use the lpspi module @ 5a030000 (Signals SPI3_X).
Unfortunately there is no support yet in above sources. Anyone used this spi3 module yet on imx8qxp?
I tried to add parts in DTS, but driver fails in enabling clock:
[ 2.372624] fsl_lpspi 5a030000.lpspi: failed to enable clock
[ 2.378433] fsl_lpspi: probe of 5a030000.lpspi failed with error -22
clock dump:
cat /sys/kernel/debug/clk/clk_summary | grep spi
spi3_div 0 0 0 0 0 0 50000
spi3_clk 0 0 0 0 0 0 50000
spi2_div 1 1 0 24000000 0 0 50000
spi2_clk 1 1 0 24000000 0 0 50000
spi1_div 0 0 0 0 0 0 50000
spi1_clk 0 0 0 0 0 0 50000
spi0_div 1 1 0 24000000 0 0 50000
spi0_clk 1 1 0 24000000 0 0 50000
fspi_1_div 0 0 0 0 0 0 50000
fspi_1_clk 0 0 0 0 0 0 50000
fspi_0_div 0 0 0 28571428 0 0 50000
fspi_0_clk 0 0 0 28571428 0 0 50000
fspi1_ipg_s_clk 0 0 0 200000000 0 0 50000
fspi1_ipg_clk 0 0 0 200000000 0 0 50000
fspi0_ipg_s_clk 0 0 0 200000000 0 0 50000
fspi0_ipg_clk 0 0 0 200000000 0 0 50000
fspi1_hclk_clk 0 0 0 100000000 0 0 50000
fspi0_hclk_clk 0 0 0 100000000 0 0 50000
spi3_ipg_clk 0 0 0 120000000 0 0 50000
spi2_ipg_clk 1 1 0 120000000 0 0 50000
spi1_ipg_clk 0 0 0 120000000 0 0 50000
spi0_ipg_clk 1 1 0 120000000 0 0 50000
So the question is, is there any reason why this part is not enabled in official sources?
Needs this some additonal work in firmware?
Thanks!