From patchwork Thu Apr 21 12:17:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12821549 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56759C433F5 for ; Thu, 21 Apr 2022 12:17:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353531AbiDUMUf (ORCPT ); Thu, 21 Apr 2022 08:20:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231570AbiDUMUe (ORCPT ); Thu, 21 Apr 2022 08:20:34 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3B872D1DC; Thu, 21 Apr 2022 05:17:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C0D77B8244E; Thu, 21 Apr 2022 12:17:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C39F9C385A5; Thu, 21 Apr 2022 12:17:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650543462; bh=bWhHXUS3ks/K10eMNGHlsMHzHCbNNvETLjCIS2G+PL0=; h=From:To:Cc:Subject:Date:From; b=N26UwyuHAXz4IxSwINoBj83cio8nD7RpJaoNvKKfi1nNza020ZQmk+Zp26yw+gI2O p1I7RvSFH9qNtmznMRICwMTn8h1Vf+3wNL+7+F4qYXCsCcWYjwG4IbyXXDfigoNGCG IPjOqzt/Tm5vz7xq+FOQtZUW0nlSrk2PXRkDnu4mXiHd/iTUrnNb8fCZoCiJmfv8ng fH40njFZTUVvKLLYvfDY8fzLc02qd9XZUaw5m8MV/fTP0s36C0gxqGA8RooqXCzFNA m5ATghtDwbrOI6nAJcIDh4Kor6pG2qwh1nacvVAxwHeddh/5GPELQ33jXy2gQXSoh+ xnKiITDsbp6Yw== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , dmaengine@vger.kernel.org, Vijaya Krishna Nivarthi Subject: [PATCH] dmaengine: qcom: gpi: Add support for sc7280 Date: Thu, 21 Apr 2022 17:47:33 +0530 Message-Id: <20220421121733.1829350-1-vkoul@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org Add compatible and driver_data for GPI DMA engines found in Qualcomm SC7280. The driver_data contains ee_offset of 0x10000. Signed-off-by: Vinod Koul --- drivers/dma/qcom/gpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c index bdf2013ca7ca..09916a0eb755 100644 --- a/drivers/dma/qcom/gpi.c +++ b/drivers/dma/qcom/gpi.c @@ -2312,6 +2312,7 @@ static int gpi_probe(struct platform_device *pdev) } static const struct of_device_id gpi_of_match[] = { + { .compatible = "qcom,sc7280-gpi-dma", .data = (void *)0x10000 }, { .compatible = "qcom,sdm845-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm8150-gpi-dma", .data = (void *)0x0 }, { .compatible = "qcom,sm8250-gpi-dma", .data = (void *)0x0 },