Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3454332pxj; Tue, 1 Jun 2021 05:49:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzhTj5FzoGVlVipT+CKaBRnZEeTsY35lHrh+KdnBh5dnBr1UqUja99gENqn9S2QW0OtFOo X-Received: by 2002:aa7:cd77:: with SMTP id ca23mr31951818edb.378.1622551790961; Tue, 01 Jun 2021 05:49:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622551790; cv=none; d=google.com; s=arc-20160816; b=b/2kWiY+TTDVecEOi0UHOYhb6U4Psu3WyvuJkoiK1H5C2f9knDk1I69Pn20OlY+Lgq vFYqaA0eTYFWEtPksIfJJxu3yYMT46CjPP29XcoMMA2tX2K0h7aSMU+1IoW2PcJJRNKX Plqbpz1OYgx36J90G+ACldMat0PM//JlUz/CfWP9B7uudWE5QGdLWVmVDEezMHKUPETk /fyxwAnW5b8TCqxpwnHWnXBjBnzfn7/kHhPNqXLJGskYXQVRZBPDIyq8Rs3376hHmRXN H59W31OipmtKtvmiiT/E0PwK/q+Csv1VFXF7Wj75YbQCPjhbncSaqUNjOyXJpi0duH5Z NgrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=v/3YxyX+Ol081lsLNR+PQ0B+vmJYYqKxRHPUbEOofow=; b=eY893DJN6Oq3Ee3cBNOv4uA1YnfDDoFcFx5Mgh8DW9VcMlusz9LFVEWwcAhWk1hoTS jf9nOacKbCmYy9sxMLppzHP4ABjolB/OYOQMQBiTAXp4kIKmldreVYce5EXLrtFBVnP1 R1j305kJO5RCPJZSlSaBIUbGM8vn+1TdKVT3VKPFVAoSYxZPNAee4gkejwgXCB7Uuv18 bOu9/3Gb8/ibSWyiQNiRqZqWM6pCGT9jKXrAzcgz3c+2mj8MFoIH161wmYpFsUK84TQn CgfD/gvnml6oV160If97i6J5CIJyYyp0IF9/GUXviVqjFZbSd4sfR4dA2/KDDi/AA395 q4mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=RuJdqdfA; 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 z11si9919476eja.613.2021.06.01.05.49.27; Tue, 01 Jun 2021 05:49:50 -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=@walle.cc header.s=mail2016061301 header.b=RuJdqdfA; 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 S233856AbhFAMtA (ORCPT + 99 others); Tue, 1 Jun 2021 08:49:00 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:56491 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233758AbhFAMs6 (ORCPT ); Tue, 1 Jun 2021 08:48:58 -0400 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 9D5A922236; Tue, 1 Jun 2021 14:47:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1622551635; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v/3YxyX+Ol081lsLNR+PQ0B+vmJYYqKxRHPUbEOofow=; b=RuJdqdfALJu7SASfKuKsUSVyIPOaiNgbbVjCQjbSn9oR86pzD+Nn8Cjo3An4+GI6LX6NCG YdDfaCBp/Rm6HZwSbxSLzqCyqu6SI3PfrNb5/dMEAH5tvoXqKMSQUnDDW0GV0WL3DI3HxI fS71hmVivc3y/VR4oEEoLlOvP6chNfI= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 01 Jun 2021 14:47:15 +0200 From: Michael Walle To: Pratyush Yadav Cc: Tudor Ambarus , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Mark Brown , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Subject: Re: [PATCH v2 2/6] mtd: spi-nor: spansion: write 2 bytes when disabling Octal DTR mode In-Reply-To: <20210531181757.19458-3-p.yadav@ti.com> References: <20210531181757.19458-1-p.yadav@ti.com> <20210531181757.19458-3-p.yadav@ti.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2021-05-31 20:17, schrieb Pratyush Yadav: > The Octal DTR configuration is stored in the CFR5V register. This > register is 1 byte wide. But 1 byte long transactions are not allowed > in > 8D-8D-8D mode. Since the next byte address does not contain any > register, it is safe to write any value to it. Write a 0 to it. > > Signed-off-by: Pratyush Yadav > --- Can't say much, because there is no public datasheet, is there? But looks sane. Same for patch 3/6.