Other Parts Discussed in Thread: SYSCONFIG
Hello,
Is it possible to set registers in some spi device connected to DM8148 ?
It seems that omap3_spi.c routines are used with ti81xx, but on trying to write bus number #3, I get the folloowing error:
SPI error: unsupported bus 3. Supported busses 0 - 3
I see in code the following:
switch (bus) {
case 0:
ds->regs = (struct mcspi *)OMAP3_MCSPI1_BASE;
break;
#ifndef CONFIG_TI81XX
case 1:
ds->regs = (struct mcspi *)OMAP3_MCSPI2_BASE;
break;
case 2:
ds->regs = (struct mcspi *)OMAP3_MCSPI3_BASE;
break;
case 3:
ds->regs = (struct mcspi *)OMAP3_MCSPI4_BASE;
break;
#endif
Does it mean that only spi bus 0 is supported ? Why ? Can we add support for spi #3 ? We need it for lcd display from u-boot. It is highly important...
Best Regards,
Ran