Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp213368ybm; Thu, 28 May 2020 21:02:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+Z8pDXshq7yy0KDlXb31FtX20Qof/GAhqR7qQa267FDBg77xVZEvxkiQpgf3khIsAQWDh X-Received: by 2002:a17:906:490f:: with SMTP id b15mr5794709ejq.180.1590724948319; Thu, 28 May 2020 21:02:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590724948; cv=none; d=google.com; s=arc-20160816; b=E63JwY/fLo7Z7hrdY3EdKbh5aya5e/jaskxifYWtZOMbQMB+y5z/3D8Oyu7T0zBh9p L5VLXFF3YWz7wIICSbuWUVOxrwumHGJIbCDb5lFRV0Nz5Ch/Z3d9Jwm5PqSqOMGLU0SE 8F2TzB+QrF/o4AqZk1PbW2YfpapBuLTITHSKknZgLK3mMiL3SgpRT6xUIt1H5Xl7kuP/ lPZwzBFutph4KsxOKimC04Dl0+Hh67YOZqHxQSnUtfQFv3sIOds/N2+WMGxxDjFgDWuI 56fPNgUxDvkSDUxHrRqh2FuAEeMtltl09n/x3wlB9nKswM248CvuFBKTy1vtJWkdmn1b wnag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=89HVdREgRutR8tpS21LfKpT8L3Xc7az8Nk9iL8YDpsA=; b=e3XJ5hB4xQeMK/MzYbbbEbJMhV0XZU5SEj/0UZfBeagxS384M/rxPJjodjNUb58Yd0 ls8U1fst3inzQnQp2e1F0j3y+W0jBgSeyehhTG6xEwcx2SbbnKpt60psxe9ZPSHuIWze NY2oYycZAeQ1xfKi8CRmuy79tSszQB54F5QOchV6PY5yj9+YXz95aQP5sz5RW4d9tt+t KCrh+8a8Iz1NyxpXA1aFbB6TL5GqUMLxvbKNTVJoXrBYaVF8QrNLJkcYnMdu2hL8lUS7 qI7yD87MymVTkOABnXcF5/nz/lt+zPQVipgrg3nwaMv9UF++TmdhvvXZ/5aTk774DDDm DwQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r21si4761448edi.133.2020.05.28.21.02.05; Thu, 28 May 2020 21:02:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725828AbgE2EAE (ORCPT + 99 others); Fri, 29 May 2020 00:00:04 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:45478 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389447AbgE2D7l (ORCPT ); Thu, 28 May 2020 23:59:41 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 49785803079C; Fri, 29 May 2020 03:59:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CYsBNvkYaqym; Fri, 29 May 2020 06:59:38 +0300 (MSK) From: Serge Semin To: Mark Brown CC: Serge Semin , Serge Semin , Georgy Vlasov , Ramil Zaripov , Andy Shevchenko , Alexey Malahov , Thomas Bogendoerfer , Arnd Bergmann , Feng Tang , Rob Herring , , , , Subject: [PATCH v5 11/16] spi: dw: Remove DW DMA code dependency from DW_DMAC_PCI Date: Fri, 29 May 2020 06:59:09 +0300 Message-ID: <20200529035915.20790-12-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20200529035915.20790-1-Sergey.Semin@baikalelectronics.ru> References: <20200529035915.20790-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since there is a generic method available to initialize the DW SPI DMA interface on any DT and ACPI-based platforms, which in general can be designed with not only DW DMAC but with any DMA engine on board, we can freely remove the CONFIG_DW_DMAC_PCI config from dependency list of CONFIG_SPI_DW_DMA. Especially seeing that we don't use anything DW DMAC specific in the new driver. Co-developed-by: Georgy Vlasov Signed-off-by: Georgy Vlasov Co-developed-by: Ramil Zaripov Signed-off-by: Ramil Zaripov Signed-off-by: Serge Semin Reviewed-by: Andy Shevchenko Cc: Alexey Malahov Cc: Thomas Bogendoerfer Cc: Arnd Bergmann Cc: Feng Tang Cc: Rob Herring Cc: linux-mips@vger.kernel.org Cc: devicetree@vger.kernel.org --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 03b061975f70..6a84f3dad35c 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -228,7 +228,7 @@ config SPI_DESIGNWARE config SPI_DW_DMA bool "DMA support for DW SPI controller" - depends on SPI_DESIGNWARE && DW_DMAC_PCI + depends on SPI_DESIGNWARE config SPI_DW_PCI tristate "PCI interface driver for DW SPI core" -- 2.26.2