Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp499256ybg; Fri, 18 Oct 2019 03:07:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMo8E5hqAnNhyXQCS6boRTbm5eAc535NmnRczH/IDlDPuzCnsqm91LGJK0SQquhQbipLpo X-Received: by 2002:a17:906:474b:: with SMTP id j11mr7833514ejs.325.1571393243445; Fri, 18 Oct 2019 03:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571393243; cv=none; d=google.com; s=arc-20160816; b=GHzNbGQbl38GNI88pCldvz0NOV8MRNnV3drKamG6AikOIexY/BFeXWsXLFr6oY7O7H JKtUEib/AeDw4irQq6O7ZX11mcOigI3yg/KXc+v0FThp7piZlZm6/wwc+XvsqX5fzSeM lshOxcmKn+/nSw5/8x6M9LbwmoM72JabWrZggmsa19iEOF+LzWYJlBdQV04FlfFsnD71 tSJ75ziQZ4meDPPYRVFifsn9HJjO+1JpR+GyOS9Kp30waIpA56u8rWRIjf5A/U7OBE86 Ka3A8c7N4BC0QWw/nCLkNM/bf7niZrOOtNqlItyHo4DN/w56GlK2//US0Uos2SKZ2r9c 6p8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=YYcK4JHlDj82EBZOCJY2gldljNzC1yYPpM7CWcKYd0c=; b=BTCCT4pMnk3Xw/dLL4CwPBwRe4qQnTBtc8cAPYc0bawI7yMB2bKRauF4J1bCwrRkgr Svmh1Mhi6cmZOKZr5bf1zUKVeoQie6H8h1hCQ9PW0ywChYpoue7k1b9I3/0JBkvg9bUz +nBImHrsO999ZH+Nu+JloLrmKNQIhyvDZUOuKGOrYZLEmvTpMOfOIqtw295BIGh9T3EC tumrE5MDz5EVjKKvImcuCY4t1r93S5lfA9shz3hMa46tk2xrLaI1//32/sqs8XLNvEnR a/N/91JdEyo+hqYYlqy3tDeyxW+E+qWhYiJZiD1WwJM8GNhB9lR/WTHXR8/q4KlJUWQb o95w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si3619130edb.286.2019.10.18.03.06.59; Fri, 18 Oct 2019 03:07:23 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408079AbfJQHUJ (ORCPT + 99 others); Thu, 17 Oct 2019 03:20:09 -0400 Received: from mga07.intel.com ([134.134.136.100]:10404 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408044AbfJQHUJ (ORCPT ); Thu, 17 Oct 2019 03:20:09 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Oct 2019 00:20:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,306,1566889200"; d="scan'208";a="200304826" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by orsmga006.jf.intel.com with ESMTP; 17 Oct 2019 00:20:04 -0700 From: "Ramuthevar,Vadivel MuruganX" To: linux-mtd@lists.infradead.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dwmw2@infradead.org, computersforpeace@gmail.com, richard@nod.at, jwboyer@gmail.com, boris.brezillon@free-electrons.com, cyrille.pitchen@atmel.com, david.oberhollenzer@sigma-star.at, miquel.raynal@bootlin.com, tudor.ambarus@gmail.com, vigneshr@ti.com, andriy.shevchenko@intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, "Ramuthevar,Vadivel MuruganX" Subject: [PATCH v4 0/2] mtd: spi-nor: cadence-quadspi: Disable the DAC and Autopoll for Intel LGM SoC Date: Thu, 17 Oct 2019 15:19:58 +0800 Message-Id: <20191017072000.48860-1-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Intel Lightning Mountain SoCs QSPI controller do not use auto-poll and Direct Access Controller (DAC). Thanks vignesh for your time to review the patch. The following comments are addressed.. changes from v3: - commit messages are updated in both the patches - moved cqspi_disable_auto_poll() in cqspi_controller_init() - moved the check quirks & CQSPI_DISABLE_DAC_MODE))> in cqspi_setup_flash() - introduced cqspi->auto_poll variable instead of f_pdata->use_direct_mode for auto_poll patch Ramuthevar Vadivel Murugan (2): mtd: spi-nor: cadence-quadspi: Disable the DAC for Intel LGM SoC - This patch adds a quirk to disable the Direct Access Controller for data transfer instead it uses indirect data transfer. mtd: spi-nor: cadence-quadspi: Disable the auto-poll for Intel LGM SoC - This patch disables auto polling when direct access mode is disabled drivers/mtd/spi-nor/Kconfig | 2 +- drivers/mtd/spi-nor/cadence-quadspi.c | 55 +++++++++++++++++++++++++++++++---- 2 files changed, 50 insertions(+), 7 deletions(-) -- 2.11.0