Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp752909ybh; Sun, 12 Jul 2020 23:29:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJ8BDVX58lFG9g0BrEldj0gNtYj3gkFQB7VtAN/VJ4G4w5cQTF5rHIf48LxWLK6/6eBAGK X-Received: by 2002:a17:906:3984:: with SMTP id h4mr68141791eje.254.1594621773327; Sun, 12 Jul 2020 23:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594621773; cv=none; d=google.com; s=arc-20160816; b=BlYjoH7PbMAHrc3h/S4UkVajUZCkubUwmqzsyhuQng8FqbdlPSx8tFo75kOoM2QzIp Cy9inGyft/70kJfIUzexgjj2xrVOQUkE0JqAir91COBS7VfhKByGOVPtA9iQKCLsOmgs Bwf8vPyzx5rPqeikvoTi5AW6yLbesv1AwxxBV8ITjcFkfdrSHxsUDZRKsAm+Qch1VC3Q Pp5KZWRC8sNbJ7lOi8iCyZ0QAb6Brc6hyoJzZQMhdJl6O1wIEfV3rN1qcaV6v1qo3wh4 OOw+wLQ6o+vG2F0sMXJjyldrULYowfmKF1jeCnKlDml6YnjXmnd/LWa21Y8Cr/BEXuHB VhWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:from:message-id:mime-version:subject :cc:to:references:in-reply-to; bh=s8uTii6AQG7uQxZCvAGWydr2rfPstAd0d3cUqJJrZzI=; b=RIZc/sUl5Lh/V8fZ6ciDYfdSUkd2uWcYp1iWxEhrB/v+3HKo6SM6GhJ7lFjO9f/Nwc 9Bd/7usvgDEzEDuYdTVkdsZqNzHlHMDODHZfd7JA6b6M5S+WP/9wKYFAB53HJcZqkBcu ef/IoLSuWDjQDLpXPfICyJLCBuX4h/UiskR8aucRa1HiYOkcwWn+i/yBkr8Wv6qvgCy4 b5to8/ZvBw49g3g370M/jQQaK10B9LtjoGwYUSS6de2aNx2/PF/N2m3/HaxULxAUIdNO Kl6a12l6mdC/B+NarwtnIBGjUbm8UZ+kHZKOfgvKRAxdI+AWFVPggtG4QeY4X0UznVjd NeLg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f18si8636127edw.95.2020.07.12.23.29.10; Sun, 12 Jul 2020 23:29:33 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729275AbgGMG2j (ORCPT + 99 others); Mon, 13 Jul 2020 02:28:39 -0400 Received: from twhmllg4.macronix.com ([211.75.127.132]:10354 "EHLO TWHMLLG4.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725804AbgGMG2i (ORCPT ); Mon, 13 Jul 2020 02:28:38 -0400 Received: from TWHMLLG4.macronix.com (localhost [127.0.0.2] (may be forged)) by TWHMLLG4.macronix.com with ESMTP id 06D5qcgD016783 for ; Mon, 13 Jul 2020 13:52:38 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) Received: from twhfm1p2.macronix.com (twhfmlp2.macronix.com [172.17.20.92]) by TWHMLLG4.macronix.com with ESMTP id 06D5qVq1016645; Mon, 13 Jul 2020 13:52:31 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) Received: from MXML06C.mxic.com.tw (mxml06c.mxic.com.tw [172.17.14.55]) by Forcepoint Email with ESMTP id 567B261D7B2D739B9D9B; Mon, 13 Jul 2020 13:52:32 +0800 (CST) In-Reply-To: <1590737775-4798-3-git-send-email-masonccyang@mxic.com.tw> References: <1590737775-4798-1-git-send-email-masonccyang@mxic.com.tw> <1590737775-4798-3-git-send-email-masonccyang@mxic.com.tw> To: ycllin@mxic.com.tw Cc: boris.brezillon@collabora.com, broonie@kernel.org, juliensu@mxic.com.tw, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, matthias.bgg@gmail.com, miquel.raynal@bootlin.com, p.yadav@ti.com, richard@nod.at, tudor.ambarus@microchip.com, vigneshr@ti.com Subject: Re: [PATCH v4 2/7] mtd: spi-nor: sfdp: parse xSPI Profile 1.0 table MIME-Version: 1.0 X-KeepSent: 5D2955E6:5ACFFC6F-482585A4:00200EDE; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.3FP4 SHF90 June 10, 2013 Message-ID: From: masonccyang@mxic.com.tw Date: Mon, 13 Jul 2020 13:52:32 +0800 X-MIMETrack: Serialize by Router on MXML06C/TAIWAN/MXIC(Release 9.0.1FP10 HF265|July 25, 2018) at 2020/07/13 PM 01:52:32, Serialize complete at 2020/07/13 PM 01:52:32 Content-Type: text/plain; charset="US-ASCII" X-MAIL: TWHMLLG4.macronix.com 06D5qVq1016645 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + YC Lin in loop, -- > > Subject > > [PATCH v4 2/7] mtd: spi-nor: sfdp: parse xSPI Profile 1.0 table > > JESD251, xSPI profile 1.0 table supports octal DTR mode. > Extract information like the fast read opcode, dummy cycles for various > frequencies, the number of dummy cycles needed for a Read Status > Register command, the number of address bytes needed for a Read > Status Register command, read volatile register command and write > volatile register command. > > According to BFPT 20th DWORD of octal maximum speed, driver get it's > specific dummy cycles from profile 1.0 table and then could update > it to device by their fixup hooks. > > Since driver get octal DTR read opcode and then set read settings, > expose spi_nor_set_read_settings() in core.h. > > Signed-off-by: Mason Yang > --- CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation. Macronix International Co., Ltd. ===================================================================== ============================================================================ CONFIDENTIALITY NOTE: This e-mail and any attachments may contain confidential information and/or personal data, which is protected by applicable laws. Please be reminded that duplication, disclosure, distribution, or use of this e-mail (and/or its attachments) or any part thereof is prohibited. If you receive this e-mail in error, please notify us immediately and delete this mail as well as its attachment(s) from your system. In addition, please be informed that collection, processing, and/or use of personal data is prohibited unless expressly permitted by personal data protection laws. Thank you for your attention and cooperation. Macronix International Co., Ltd. =====================================================================