diff mbox series

arm64: defconfig: Enable Qualcomm GPI DMA Driver

Message ID 20220222042409.1185564-1-vkoul@kernel.org (mailing list archive)
State Superseded
Headers show
Series arm64: defconfig: Enable Qualcomm GPI DMA Driver | expand

Commit Message

Vinod Koul Feb. 22, 2022, 4:24 a.m. UTC
Qualcomm GPI DMA Driver is used for DMA transfers for Serial engines
like Geni I2C and SPI.

Enable this dma driver

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Bjorn Andersson Feb. 24, 2022, 3:28 a.m. UTC | #1
On Mon 21 Feb 22:24 CST 2022, Vinod Koul wrote:

> Qualcomm GPI DMA Driver is used for DMA transfers for Serial engines
> like Geni I2C and SPI.
> 
> Enable this dma driver
> 

Can you please include a motivation in the commit message why this has
to be builtin?

Thanks,
Bjorn

> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 30516dc0b70e..d73913f082d7 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -948,6 +948,7 @@ CONFIG_PL330_DMA=y
>  CONFIG_TEGRA20_APB_DMA=y
>  CONFIG_TEGRA210_ADMA=m
>  CONFIG_QCOM_BAM_DMA=y
> +CONFIG_QCOM_GPI_DMA=y
>  CONFIG_QCOM_HIDMA_MGMT=y
>  CONFIG_QCOM_HIDMA=y
>  CONFIG_RCAR_DMAC=y
> -- 
> 2.34.1
>
Vinod Koul Feb. 24, 2022, 4:27 a.m. UTC | #2
On 23-02-22, 21:28, Bjorn Andersson wrote:
> On Mon 21 Feb 22:24 CST 2022, Vinod Koul wrote:
> 
> > Qualcomm GPI DMA Driver is used for DMA transfers for Serial engines
> > like Geni I2C and SPI.
> > 
> > Enable this dma driver
> > 
> 
> Can you please include a motivation in the commit message why this has
> to be builtin?

Sure, traditionally DMAengine drivers are always initialized early on (typically most
of the drivers are arch init level) so that it is available to users
early on as well..

Current config has many dmaengine drivers as inbuilt...

Will add more details and send

> 
> Thanks,
> Bjorn
> 
> > Signed-off-by: Vinod Koul <vkoul@kernel.org>
> > ---
> >  arch/arm64/configs/defconfig | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> > index 30516dc0b70e..d73913f082d7 100644
> > --- a/arch/arm64/configs/defconfig
> > +++ b/arch/arm64/configs/defconfig
> > @@ -948,6 +948,7 @@ CONFIG_PL330_DMA=y
> >  CONFIG_TEGRA20_APB_DMA=y
> >  CONFIG_TEGRA210_ADMA=m
> >  CONFIG_QCOM_BAM_DMA=y
> > +CONFIG_QCOM_GPI_DMA=y
> >  CONFIG_QCOM_HIDMA_MGMT=y
> >  CONFIG_QCOM_HIDMA=y
> >  CONFIG_RCAR_DMAC=y
> > -- 
> > 2.34.1
> >
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 30516dc0b70e..d73913f082d7 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -948,6 +948,7 @@  CONFIG_PL330_DMA=y
 CONFIG_TEGRA20_APB_DMA=y
 CONFIG_TEGRA210_ADMA=m
 CONFIG_QCOM_BAM_DMA=y
+CONFIG_QCOM_GPI_DMA=y
 CONFIG_QCOM_HIDMA_MGMT=y
 CONFIG_QCOM_HIDMA=y
 CONFIG_RCAR_DMAC=y