Skip to content

Commit

Permalink
labs/kernel-beagleplay-serial-dma: add Elixir link
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Opdenacker <[email protected]>
  • Loading branch information
Michael Opdenacker committed May 15, 2024
1 parent d1d1863 commit 39b0992
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ \section{Prepare the DMA controller}
dmas = <[controller reference] [dma-cells parameters]>
\end{verbatim}

Go to your kernel source tree and open the \code{Documentation/devicetree/bindings/dma/ti/k3-pktdma.yaml} file, which contains the bindings for the AM62x PKTDMA controller. Find the description of the \code{#dma-cells} property. You will see that two cells are required: the first one is the thread ID for the UART controller and the second one is the ASEL value for the channel.
Go to your kernel source tree and open the \kfile{Documentation/devicetree/bindings/dma/ti/k3-pktdma.yaml} file, which contains the bindings for the AM62x PKTDMA controller. Find the description of the \code{#dma-cells} property. You will see that two cells are required: the first one is the thread ID for the UART controller and the second one is the ASEL value for the channel.

In our case, the ASEL value is 0, so we only need the thread ID. This can be found in the TRM and on other TI documents online, but as it is quite difficult to find, we will give the values to you:

Expand Down

0 comments on commit 39b0992

Please sign in to comment.