From patchwork Mon Feb 11 09:05:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Raghavendra, Vignesh" X-Patchwork-Id: 1039717 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="TfX1hzmQ"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43yfz41MKqz9s3l for ; Mon, 11 Feb 2019 20:06:04 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 0DC02C21F77; Mon, 11 Feb 2019 09:05:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 63224C21F1D; Mon, 11 Feb 2019 09:05:56 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C7355C21EF0; Mon, 11 Feb 2019 09:05:54 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lists.denx.de (Postfix) with ESMTPS id 5EEEFC21C51 for ; Mon, 11 Feb 2019 09:05:54 +0000 (UTC) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1B94f8d005587; Mon, 11 Feb 2019 03:04:41 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1549875881; bh=RXPdqu0oIUspDTE353IysFQEb9wGg7d+i1Vhf2+EjqY=; h=From:To:CC:Subject:Date; b=TfX1hzmQ2aZ8a+WqhVnmqerdWxNlYguOmRvP96Vs1vshxNvltHIqo72LmpoJLfYe9 KeLVIWQ0aROwQ7mxxi+/TTjXD+MNxmnc5Fl0vrUzAozdP5UpEcmFth/hYJ47uxtpOl m0ZL47yKE3pNXSCPIOaAQODoxxWKAyW54cLc1IVE= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1B94fWw050726 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 11 Feb 2019 03:04:41 -0600 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 11 Feb 2019 03:04:41 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Mon, 11 Feb 2019 03:04:41 -0600 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1B94cVL016953; Mon, 11 Feb 2019 03:04:39 -0600 From: Vignesh R To: Jagan Teki Date: Mon, 11 Feb 2019 14:35:34 +0530 Message-ID: <20190211090536.23953-1-vigneshr@ti.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: Tom Rini , u-boot@lists.denx.de, Nikita Kiryanov Subject: [U-Boot] [PATCH 0/2] ti_qspi: Move to spi-mem framework X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Now that SPI NOR Supports MMIO SPI controllers via spi-mem framework, move TI QSPI to SPI MEM framework for better performance and avoid repeating SPI NOR generic code in the driver. While at that get rid of non DM code, as all boards are expected to support DM and DT by now. Note: This *breaks cl-som-am57x_defconfig*, as defconfig does not enable even basic CONFIG_DM and would surely be dropped in next merge window. Tested on AM43xx, dra7xx EVMs Vignesh R (2): spi: ti_qspi: Drop non DM code spi: ti_qspi: Convert to spi-mem ops drivers/spi/Kconfig | 12 +- drivers/spi/Makefile | 2 +- drivers/spi/ti_qspi.c | 351 ++++++++++----------------------- include/configs/am43xx_evm.h | 2 - include/configs/am57xx_evm.h | 2 - include/configs/cl-som-am57x.h | 1 - include/configs/cm_t43.h | 1 - include/configs/dra7xx_evm.h | 2 - scripts/config_whitelist.txt | 2 - 9 files changed, 107 insertions(+), 268 deletions(-)