From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50339C43381 for ; Sat, 23 Feb 2019 18:44:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 204D120675 for ; Sat, 23 Feb 2019 18:44:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ElQMaD0N"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cogentembedded-com.20150623.gappssmtp.com header.i=@cogentembedded-com.20150623.gappssmtp.com header.b="DliSCpHV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 204D120675 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=cogentembedded.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IAkDyCVnTN+TExy2WsPLJ0QYP1VxJHw7D8sgcXPCe0o=; b=ElQMaD0Ncm6T7F ialx6UFtKSys4ZPth5p7187oid3TAxZy9w7goWdIjwOnuz/f3BYPhL1bZWFFGxcPhPsWDqquHQLfq MLjfPjCoMY8UsXzVrSHyf26nGDvGzY/V8KrvtKD7lYyQUC/o6Hu1G+dWzCA11jeVHh2ru5RQmAg2R KZMiD1/kOwv4BeH3rhWbeObpW/qKnsRRc0jgcxADTzcCDWlZv+ck/K2/Mkrov2TLxZVKhyCd/rbnR nHef/xLA1yWMKh7+UGZgsT5AUC1BAUvAn4x9qrWHRF7ooFjVX48c6rD/ngYVSpsU/y+RmAJ6oq/Tr 3TbMFbT7qe7Wn8gdIkLA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxcHa-00077s-Hp; Sat, 23 Feb 2019 18:44:18 +0000 Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxcHX-00077K-DD for linux-mtd@lists.infradead.org; Sat, 23 Feb 2019 18:44:16 +0000 Received: by mail-lf1-x143.google.com with SMTP id v7so4079548lfd.2 for ; Sat, 23 Feb 2019 10:44:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8d2ksKb0t48p28IFWm7MH/ppMCXWwhhG5AAHRnK8znU=; b=DliSCpHVfit7CLu8Cq67dYqtBy93yokwUJ2RmSFkzMETYURa0PMyQikMQQ449CY57j XIG9hfUxxIFS5DCY8gUIMf6Y8XZs1A84HZOhRR0NYgg/r3C1+6/55Ey6xD/afr4qcpdX AzbHtipFtDntlZsjFmjs87Di5TLo8PZVq+R9rconCaKzaxCYb4EANTuuicXZqS+mbXSO fwqHycLkLcIqefEbEg9m12SgtDXfNtFgBcjRQ2yyKP2p/hSxVMiKgyYW9JToCR/5q+kc OeTUCWwjfGQapL0g54KulXBw/oEHh746/W9Y4Im3bbN1gj6NSsqxlCM91BA5wTYuBh/9 hdnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=8d2ksKb0t48p28IFWm7MH/ppMCXWwhhG5AAHRnK8znU=; b=IiGO+2QLQRQMgSQ2cZzak8w3IyNRZLqxsXexDFQ1HjtwU+w7w5SuE3Acxq0xlfc+Xf W+xtywBMT3Il59OpRPTgmRafPzVRJcW3b08yJGRXYbRkpaW1AyZP/PwliXs+l0SMEA6K yYmmOfgsStd0xzQhz9S6LhwBWKN9T04Y80eByuEJSPGRnixSDVt4LH3gp1ZLbsQXBfiH vnvPCzCkmP5nDccZ2tCah4Xm5H7y5OiEYth1GFoLkaBiJRqgC3/3zBQsJVMIzXg8lAC5 HGd9ntq9e2a24UUeDV1e0eCn13NSzcfI6lYhh6vSAtKTpzeLtIg0zjAzzulghOsJtB4u ZkTw== X-Gm-Message-State: AHQUAuYbNi30gOHjJjp4r0jr9BoE3xgo8HWSnqUP2i1DLKx2UkmbYfiP fsEUzphPM3ntSlUzBAdohuYiuQ== X-Google-Smtp-Source: AHgI3IYNjELnXE7aCiWX8XQsNopW4gQTGBnWF28Fqg7i2yzaSbL0HFE3irGg8JQLJP7iIM90aG5vCg== X-Received: by 2002:a19:f704:: with SMTP id z4mr6052902lfe.10.1550947453439; Sat, 23 Feb 2019 10:44:13 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.83.184]) by smtp.gmail.com with ESMTPSA id f141sm1594305lfe.64.2019.02.23.10.44.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Feb 2019 10:44:12 -0800 (PST) Subject: Re: [RFC PATCH 1/5] mtd: cfi_cmdset_0002: Add support for polling status register To: "Vignesh R (by way of Boris Brezillon )" , David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Rob Herring References: <20190219063607.29949-1-vigneshr@ti.com> <20190219063607.29949-2-vigneshr@ti.com> From: Sergei Shtylyov Organization: Cogent Embedded Message-ID: Date: Sat, 23 Feb 2019 21:44:10 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20190219063607.29949-2-vigneshr@ti.com> Content-Language: en-MW X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190223_104415_456098_8BD737BE X-CRM114-Status: GOOD ( 17.49 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Arnd Bergmann , tudor.ambarus@microchip.com, Greg Kroah-Hartman , nsekhar@ti.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On 02/19/2019 09:36 AM, Vignesh R (by way of Boris Brezillon ) wrote: > HyperFlash devices are compliant with CFI AMD/Fujitsu Extended Command > Set(0x0002) for flash operations, therefore drivers/mtd/chips/cfi_cmdset_0002.c > can be use as is. But these devices do not support DQ polling method of > determining chip ready/good status. These flashes provide Status > Register whose bits can be polled to know status of flash operation. > > Cypress HyperFlash datasheet here[1], talks about CFI Amd/Fujitsu > Extended Query version 1.5. Bit 0 of "Software Features supported" field > of CFI Primary Vendor-Specific Extended Query table indicates > presence/absence of status register and Bit 1 indicates whether or not > DQ polling is supported. Using these bits, its possible to determine > whether flash supports DQ polling or need to use Status Register. > > Add support for polling status register to know device ready/status of > erase/write operations when DQ polling is not supported. > > [1] https://www.cypress.com/file/213346/download > > Signed-off-by: Vignesh R Forgot about one thing: tags like S-o-b: need your full name, cfr. Documentation/process/5.Posting.rst... [...] MBR, Sergei ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/