[Letux-kernel] [PATCH 00/20] A bunch of JZ4730 fixups for letux-kernel

Paul Boddie paul at boddie.org.uk
Sat Dec 5 23:31:13 CET 2020


On Saturday, 5 December 2020 23:09:30 CET H. Nikolaus Schaller wrote:
> 
> So we are simply missing the dmas and dma-names definitions which are
> mandatory...
> 
> I have simply copied it and renamed "dmac" -> "dma". The result is
> that the "Failed to get dma_tx channel" is still there but comes
> later:
> 
> [    0.199807] OF: /mmc at 10021000: could not find phandle
> [    0.187996] jz4740-mmc 10021000.mmc: Failed to get dma_tx channel (-19)
> [    0.189406] jz4740-mmc 10021000.mmc: Ingenic SD/MMC card driver
> registered
> [    0.196558] jz4740-mmc 10021000.mmc: Using PIO, 4-bit mode
> 
> Likely the value 27&26 must be different(jz4725b uses 25&24).

According to the jz4730.h file I have, 26 is the MMC output request type 
(transmit FIFO empty) and 27 is the input request type (receive FIFO full), 
just as it is in the JZ4740.

As far as I know, the JZ4725B also uses 26 and 27. I think 25 and 24 are 
related to the audio controller (AIC).

> And I have no idea which phandle is not found...

Neither have I!

Paul




More information about the Letux-kernel mailing list