From patchwork Tue May 26 08:04:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1247 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id BBD7F3F1DD for ; Tue, 26 May 2020 10:04:50 +0200 (CEST) Received: by mail-pf1-f200.google.com with SMTP id 79sf16181925pfv.18 for ; Tue, 26 May 2020 01:04:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590480289; cv=pass; d=google.com; s=arc-20160816; b=s8EKQh8S/CC8IPkMkWa2YJJyJJK1PHMk/tI6Xf3kbBOKAUdXu3FpeR8Q8/N+rDnfZr BltNM+8uI8DH30p609FffLRWiM5dtoMbUw5+3ZGtCNBm/FNIcfuINpwQJPr2vgk7ti8a aaYE1As5zDq5TrquIByjTREsT/42xYtFvcfa5sfCl0FfIyZttCD7ILujdOrfSxebi2VA iDWHc6HOmAGVJHWDALsDafXBjWZvzN1VwJfqUKQDevim9AkvIlCyAaGA7H5OvQd5Whr5 qopSMwQtMb6dH1C1ZWifrAn+EeXtjKRF9p7uPGI5GT93N0fwAVPeg2Rs82OMgSzJZN1S 2qUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=qvdBz5jCDfpWEjBr1Q4PFb/yvdQkMG9A6hlJtFjKMoc=; b=nxox4Hm9LgvSV06MVypqvK7C8hF6jRA3JMQStdkVAzqYhFOVrsu74n2gg5hi19dPXY I0/EIHhGFjiuaOq0q0OzuzkZ+ALV1OX57RZ6Myzf8d4zjQlm9UlKMln0z2orS4Wtvh41 3QcGeZ5DxzYLw4UfN9bB0qmT0cN7ZWZq7MIV2/kJqSQRPhyPJew5Z1fG+NtFKahL/Mkw w32vwBADJpryjNxmjkLisDbqFltvBrtEWBiX6A7OU5Q1iicX9hmsrW4/j1oLmsFt6tcX h2Szx3Dn/zeflvBjImaCGRXYXpyM2FVxqcUThABnp+miVlmZ5hHlM/PVUIk0p0hHj1Qu rQsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kOwlUnO5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=qvdBz5jCDfpWEjBr1Q4PFb/yvdQkMG9A6hlJtFjKMoc=; b=KL39am2GHmG6qsa6dOOIsBxEFeQjELZFTy5Q2/3XBMswIfQSiyt1LIKjEjVGF46CdS TEsEacs5zyiD/UKcMo7cXVGEQ+fRkrCgf+or2Wc/1/4uJEQSjlddKrR21VKL/QMCs+vT 20H7sOvasd5rilPy1OKEJ5JAM/TQMB1r/LU+8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=qvdBz5jCDfpWEjBr1Q4PFb/yvdQkMG9A6hlJtFjKMoc=; b=rGI71ZQcoeUmrbX93QkSrLlbhmcLtUWlFS5n9iyLzITC8U/Z67NhA96Dvy4tfBefhf sl9TDE5isZzqTUSxk7WgBSimoWjy9KnBcc8f9EZ1IKcczRg48Me9nnSPn43/2lhTazHx s5DYBj8fXgi7lEL8w5H9bG5zumOOACDtxCb4/X5xs/pXNvSD/wKBY2284tcxjP9URs4C 6GMZxmX9wqrDKFX+C9t4oWWqyNECLQIfR+SZqcWytB2y+3hG37J+QfMnUf4PVPG08TK/ G/M4F1jSiYnXKKqiww3A92ciyxyp2WoohFCGyZNUAuj8HkADAch9cwap2zWxOKNe7TkM WYRw== X-Gm-Message-State: AOAM5333y/MPH+7+NO2s/vslmLkcd6tntX3lEXrctUdfWOc+6iX3tFu3 HamlgsJFhtulqK9I6nb8+kX5o/2d X-Google-Smtp-Source: ABdhPJwP0EEnPszD/cCeeW9NYCyohD0AEqijk5lX21KxUrwH7mkSHw3HjwYT+mC3cMn2IJ1vXGCAuQ== X-Received: by 2002:a17:90b:503:: with SMTP id r3mr25155383pjz.69.1590480289512; Tue, 26 May 2020 01:04:49 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:e116:: with SMTP id z22ls3468408pgh.9.gmail; Tue, 26 May 2020 01:04:49 -0700 (PDT) X-Received: by 2002:a63:7e01:: with SMTP id z1mr30511425pgc.132.1590480289098; Tue, 26 May 2020 01:04:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590480289; cv=none; d=google.com; s=arc-20160816; b=bxk/FcMqjxoAzSeHbf4PSDpVqio7t1bTTLktcNJr1qboq4eYokxyHGk9piL0Ks+fh2 skHCoCpbGIq5kmBsJC6HsslyrDoOWdEoGM9J9v71XNnIK0UtyeT550DaYbOrFXGiA9Cm pLYQgQp65aHZ770RMfe8+ZzykkFabHIFxQeRnUrvOjTmyfxa6U0NAw+NHUZ480WmHYwO ZLAFPBLaXvsa1QiUL2BdZjz06qgBSQ5+nrwYo+OR5bgkSRGdrKnD0aM1sbG/djMNKyHA BAwdORwBzY/l/OYMB2cSj+EbUtHwpE57GtwBUbSll/Em2OviYXL2p5JcxZW7ksWmQfzB vZ6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=IqppUQqNdbuOTxEKgzyCNJywZ+we6GHIFxYNWfaea9c=; b=pJECKtgrN/JGMjEz0wwCfJyRawJLGDCNgxxjy6YX0a9nmcxjVtgTdI9pc0Xk13xdh+ 6pOZWZ2F9j0OzSJ1uEGz53W1UpCTd+utFw2CxS5gkG5iQ3g53gxPWyWSASe/3twG0qwd OEXXjs1MzR63D8H28U6nd5kBiZIssbSaPW2++vJhfXs5i+q+Tim9LfQH3W1mqg2NZm06 B+hDkxB6hLpWmeEeYYLjvVQ82ZfZ+b+yTRmngv63HRNVUQ3+aowKrxsFfiHb4tw5vmi9 uV4HRwIvASleJsSvTptTMB2ew4CQDYvcH1n7uBdcggXy0iLLmmo2aINYc47n6/3Hloho HmyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kOwlUnO5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id i192sor24992772pfe.59.2020.05.26.01.04.49 for (Google Transport Security); Tue, 26 May 2020 01:04:49 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:3785:: with SMTP id e127mr21110405pfa.210.1590480288776; Tue, 26 May 2020 01:04:48 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3:4404:74c7:87fd]) by smtp.gmail.com with ESMTPSA id d8sm14560782pfq.123.2020.05.26.01.04.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 May 2020 01:04:47 -0700 (PDT) From: Jagan Teki To: Simon Glass , Tom Rini Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 3/9] spi: Kconfig: Move MSCC_BB_SPI, FSL_QSPI into DM_SPI Date: Tue, 26 May 2020 13:34:24 +0530 Message-Id: <20200526080430.118262-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200526080430.118262-1-jagan@amarulasolutions.com> References: <20200526080430.118262-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kOwlUnO5; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , - MSCC_BB_SPI - FSL_QSPI Both are fully dm-driven, let's move them into DM_SPI side definition. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 658a48e57a..59415209ee 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -141,6 +141,14 @@ config FSL_DSPI this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms use this driver. +config FSL_QSPI + bool "Freescale QSPI driver" + imply SPI_FLASH_BAR + help + Enable the Freescale Quad-SPI (QSPI) driver. This driver can be + used to access the SPI NOR flash on platforms embedding this + Freescale IP core. + config ICH_SPI bool "Intel ICH SPI driver" help @@ -167,6 +175,13 @@ config MPC8XXX_SPI help Enable support for SPI on the MPC8XXX PowerPC SoCs. +config MSCC_BB_SPI + bool "MSCC bitbang SPI driver" + depends on SOC_VCOREIII + help + Enable MSCC bitbang SPI driver. This driver can be used on + MSCC SOCs. + config MT7621_SPI bool "MediaTek MT7621 SPI driver" depends on SOC_MT7628 @@ -377,13 +392,6 @@ config SOFT_SPI Enable Soft SPI driver. This driver is to use GPIO simulate the SPI protocol. -config MSCC_BB_SPI - bool "MSCC bitbang SPI driver" - depends on SOC_VCOREIII - help - Enable MSCC bitbang SPI driver. This driver can be used on - MSCC SOCs. - config FSL_ESPI bool "Freescale eSPI driver" imply SPI_FLASH_BAR @@ -392,14 +400,6 @@ config FSL_ESPI access the SPI interface and SPI NOR flash on platforms embedding this Freescale eSPI IP core. -config FSL_QSPI - bool "Freescale QSPI driver" - imply SPI_FLASH_BAR - help - Enable the Freescale Quad-SPI (QSPI) driver. This driver can be - used to access the SPI NOR flash on platforms embedding this - Freescale IP core. - config DAVINCI_SPI bool "Davinci & Keystone SPI driver" depends on ARCH_DAVINCI || ARCH_KEYSTONE