Messages in this thread |  | | From | Doug Anderson <> | | Date | Wed, 17 May 2023 07:18:17 -0700 | | Subject | Re: [PATCH v2 1/2] soc: qcom: geni-se: Add interfaces geni_se_tx_init_dma() and geni_se_rx_init_dma() |
| |
Hi,
On Wed, May 17, 2023 at 5:18 AM Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com> wrote: > > The geni_se_xx_dma_prep() interfaces necessarily do DMA mapping before > initiating DMA transfers. This is not suitable for spi where framework > is expected to handle map/unmap. > > Expose new interfaces geni_se_xx_init_dma() which do only DMA transfer. > > Signed-off-by: Vijaya Krishna Nivarthi <quic_vnivarth@quicinc.com> > --- > v1 -> v2: > - interfaces to take dma address as argument instead of its pointer > --- > drivers/soc/qcom/qcom-geni-se.c | 67 +++++++++++++++++++++++++++++----------- > include/linux/soc/qcom/geni-se.h | 4 +++ > 2 files changed, 53 insertions(+), 18 deletions(-)
Mark and Bjorn will have to coordinate how they want to land this, since normally patch #1 would go through the Qualcomm tree and patch #2 through the SPI tree. In any case:
Reviewed-by: Douglas Anderson <dianders@chromium.org>
|  |