Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2299688pxb; Fri, 17 Sep 2021 06:50:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPs2pJCvekw13vuedam+XXAY8/VsYJ1RwmqDFJxOx8emxFBAuM8fJocZQTeFPjg22kUmxV X-Received: by 2002:aa7:c7c2:: with SMTP id o2mr12315424eds.166.1631886642769; Fri, 17 Sep 2021 06:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631886642; cv=none; d=google.com; s=arc-20160816; b=JFaA312CpJJoyqwVkjHq2gyEo2Gfe7SiPEaS7vw7xsG144JR7IWfZFGSzIaaKLFbUL wujDv/bJhqTwMP+Da/OQ8Y+wJ3niYJsgezjXt7YR7B3ezSZoGyss0Cm/OKTwykKg/Ch8 aFkgSTFHvl4M9fJc1xZHHGzI5GzQd50Djlf8B7mlkn0miM3nowSIM9OvZn6TSZI8+KSt 7ER8nIPuW2Vq8jZmEWi5AY11YB9g4CbOymoZdzfKn3/VnNFy3HkZnQbC6TBVtGKmK92k I1+PL/qxiPxvX08uQz8drQDcahoOWZOm342GsbhUNpWfxWvaWICIxO5D1JGCxeKrIAlf ihCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=VLm4UxwbbuEzVUE70aWdz5RD8bv6XF2EJwP+insnRhM=; b=JOZtrXIncOyVPSrkM5NVYU77HUPJDXUuG3B6h043eyNljTb49cdX4NIev7AgH7IEmO la51nI4DDXXBuLWhIHBLc0zpILYCiSxocaB++vob3sQ3AKytQ128Z7+qCynJfvIaIpx6 E6iMWF4MMDKEHiW8wkQ+AQps7OPWiRqhgyVYP/dEedJnOdBpSlpITE5mIZXafXNzxlh3 1c6hrLvfPCWTIUc7TrVdUrkD/bB8QfhViv9eU7M8qEemKYSInmCS8zJdYMATapYvBwWp aAJRdUaynKPFejYrNGzb6qbMYWBMcqpJP5+CzenTlHvGbcccnMNxAU4nQBpELTe/2cau epMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OqNp2nxI; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy12si8071710edb.311.2021.09.17.06.50.18; Fri, 17 Sep 2021 06:50:42 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OqNp2nxI; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242394AbhIQKWP (ORCPT + 99 others); Fri, 17 Sep 2021 06:22:15 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:40884 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234869AbhIQKWO (ORCPT ); Fri, 17 Sep 2021 06:22:14 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 18HAKnfg085552; Fri, 17 Sep 2021 05:20:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1631874049; bh=VLm4UxwbbuEzVUE70aWdz5RD8bv6XF2EJwP+insnRhM=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=OqNp2nxItL3bQWAwT3wpC/o4J+vwLWsmZs4o9IrUhlpCXCZ7oEVkt1VgnyjLzLryI KcSW0JksYR9G/oBOLrYBCxDmMy1QeQtd6vtjKPxjkjQALIg3cTiO5KPei21Lw1ZiyV QoCvuIUB72dxwwM/9UBfkK4ZhhBS8K+9D892lqoc= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 18HAKn1D056993 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 17 Sep 2021 05:20:49 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 17 Sep 2021 05:20:49 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 17 Sep 2021 05:20:49 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 18HAKmfA104639; Fri, 17 Sep 2021 05:20:49 -0500 Date: Fri, 17 Sep 2021 15:50:47 +0530 From: Pratyush Yadav To: Parshuram Thombare CC: , , , , , , , , Konrad Kociolek Subject: Re: [PATCH v4 2/2] spi: cadence: add support for Cadence XSPI controller Message-ID: <20210917102045.mapb7j3sixzxwald@ti.com> References: <1631534558-8102-1-git-send-email-pthombar@cadence.com> <1631534779-8371-1-git-send-email-pthombar@cadence.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1631534779-8371-1-git-send-email-pthombar@cadence.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/09/21 02:06PM, Parshuram Thombare wrote: > This patch adds driver for Cadence's XSPI controller. > It supports 3 work modes. > 1. ACMD (auto command) work mode > ACMD name is because it uses auto command engine in the controller. > It further has 2 modes PIO and CDMA (command DMA). > The CDMA work mode is dedicated for high-performance application > where very low software overhead is required. In this mode the > Command Engine is programmed by the series of linked descriptors > stored in system memory. These descriptors provide commands to execute > and store status information for finished commands. > The PIO mode work mode is dedicated for single operation where > constructing a linked list of descriptors would require too > much effort. > 2. STIG (Software Triggered Instruction Generator) work mode > In STIG mode, controller sends low-level instructions to memory. > Each instruction is 128-bit width. There is special instruction > DataSequence which carries information about data phase. > Driver uses Slave DMA interface to transfer data as only this > interface can be used in STIG work mode. > 3. Direct work mode > This work mode allows sending data without invoking any command through > the slave interface. > Currently only STIG work mode is enabled, remaining work modes will > be added later. Acked-by: Pratyush Yadav -- Regards, Pratyush Yadav Texas Instruments Inc.