Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3193068imu; Sun, 13 Jan 2019 21:15:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN7T3KESV14rujcRpYHNxYj6N4eN3QQqze/GzHQDmQ/AF87GfzGd527MN51luMC/MM0Yt5PB X-Received: by 2002:a63:4f20:: with SMTP id d32mr21538131pgb.47.1547442943809; Sun, 13 Jan 2019 21:15:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547442943; cv=none; d=google.com; s=arc-20160816; b=uEMyWv5RP8ytPBdirkoJJcJPCPnbzlgbz9ZhuOyss80/Ylm3RKZQZnA5JLSFSOB/iT A2nhPX02JqB7tRUlYTZ6EwRu5BZLf5MmsRQDQO3oduE46NmbM+3FPalZb3T+SX5wA/9H 8Z3OBlBNAdrNCzhom6//rr2PL3V3BuJ1sq95VA6xDytqXzdCHy+IxtUkZGbEI/EVVLhJ 4V411Z7+H2p0BNLO+hAAlq9vL66a6XFzZeCDHiVBWLfc3e7FKUEHJzn2U1XnPQEUIpix 9uWCOOjm/V+6J8qoVFB6Fd47tpRXqiJPr2LtbIg2tm6XZMwCHGElD0oXw60hQ5NfbCO9 w8cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=ICqkAPtVKIyvus8hOGAKeoEAc820BjvnEDcFjuOfTA8=; b=gdpAXQ1+kxQVOL4nWIo7phdYmlYVYAqdjwsbCzuXxcDaEGNNLskTHnBRsnE+SWaTJl q+JKcqAgYwNAcMwi13/cGPIN/jqPOvhr0LgNb3mUIbv0vcRAZ6iFaKWKDTzK9k22xw7z mLLb0DxcgPFn/PIAZM54l0lyWyDuFWuHeT7FVceKpHvtOkbyEEpr59HuOQ6V+yhdQXmz PHxMFHKbyy3V3AOxpdrByXomfg4Wklyh7kaE1hu/lTLXvFe2gyAMM2pWE9sa7prgIu5I lUeGxhuNG+2yuBKWsKmkZIqT8LxLkyXDVCjA23tQW5mHh6mxj81+Dr2S/UapUrsGxFPR iN3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k125si648752pfc.21.2019.01.13.21.15.28; Sun, 13 Jan 2019 21:15:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726587AbfANFM3 (ORCPT + 99 others); Mon, 14 Jan 2019 00:12:29 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:12134 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725910AbfANFM3 (ORCPT ); Mon, 14 Jan 2019 00:12:29 -0500 X-UUID: 4182c9c28c074d87a5aa85f153b2db86-20190114 X-UUID: 4182c9c28c074d87a5aa85f153b2db86-20190114 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 993000548; Mon, 14 Jan 2019 13:12:24 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 14 Jan 2019 13:12:23 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 14 Jan 2019 13:12:23 +0800 From: Ryder Lee To: Marek Vasut , Brian Norris , Boris Brezillon CC: Rob Herring , Weijie Gao , , , , , , Ryder Lee Subject: [PATCH v1 3/3] mtd: spi-nor: mtk-quadspi: rename config to a common one Date: Mon, 14 Jan 2019 13:12:20 +0800 Message-ID: <45dc2817e7f4baf5113de247b1a2cb30bf252d93.1547442452.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <67e650ca4fcaaddbbc98bf4e1cbe04647c990dc3.1547442452.git.ryder.lee@mediatek.com> References: <67e650ca4fcaaddbbc98bf4e1cbe04647c990dc3.1547442452.git.ryder.lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The quadspi is a generic communication interface which could be shared with other MediaTek SoCs. Hence rename it to a common one. Signed-off-by: Ryder Lee --- Changes since v1: rebase to v5.0-rc1. --- drivers/mtd/spi-nor/Kconfig | 16 ++++++++-------- drivers/mtd/spi-nor/Makefile | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index b433e5f..99d9d53 100644 --- a/drivers/mtd/spi-nor/Kconfig +++ b/drivers/mtd/spi-nor/Kconfig @@ -7,14 +7,6 @@ menuconfig MTD_SPI_NOR if MTD_SPI_NOR -config MTD_MT81xx_NOR - tristate "Mediatek MT81xx SPI NOR flash controller" - depends on HAS_IOMEM - help - This enables access to SPI NOR flash, using MT81xx SPI NOR flash - controller. This controller does not support generic SPI BUS, it only - supports SPI NOR Flash. - config MTD_SPI_NOR_USE_4K_SECTORS bool "Use small 4096 B erase sectors" default y @@ -68,6 +60,14 @@ config SPI_NXP_SPIFI Flash. Enable this option if you have a device with a SPIFI controller and want to access the Flash as a mtd device. +config SPI_MTK_QUADSPI + tristate "MediaTek Quad SPI controller" + depends on HAS_IOMEM + help + This enables support for the Quad SPI controller in master mode. + This controller does not support generic SPI. It only supports + SPI NOR. + config SPI_INTEL_SPI tristate diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile index 2adedbe..189a15c 100644 --- a/drivers/mtd/spi-nor/Makefile +++ b/drivers/mtd/spi-nor/Makefile @@ -3,7 +3,7 @@ obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o obj-$(CONFIG_SPI_ASPEED_SMC) += aspeed-smc.o obj-$(CONFIG_SPI_CADENCE_QUADSPI) += cadence-quadspi.o obj-$(CONFIG_SPI_HISI_SFC) += hisi-sfc.o -obj-$(CONFIG_MTD_MT81xx_NOR) += mtk-quadspi.o +obj-$(CONFIG_SPI_MTK_QUADSPI) += mtk-quadspi.o obj-$(CONFIG_SPI_NXP_SPIFI) += nxp-spifi.o obj-$(CONFIG_SPI_INTEL_SPI) += intel-spi.o obj-$(CONFIG_SPI_INTEL_SPI_PCI) += intel-spi-pci.o -- 1.9.1