Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 21272C433F5 for ; Thu, 20 Jan 2022 22:52:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D908E838E0; Thu, 20 Jan 2022 23:52:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="JASCcvMT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 57202838E4; Thu, 20 Jan 2022 23:52:48 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by phobos.denx.de (Postfix) with ESMTP id 51BE183890 for ; Thu, 20 Jan 2022 23:52:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dphadke@linux.microsoft.com Received: from [192.168.86.154] (unknown [50.47.106.53]) by linux.microsoft.com (Postfix) with ESMTPSA id 56BFC20B6C61; Thu, 20 Jan 2022 14:52:44 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 56BFC20B6C61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1642719164; bh=B2qghb5mVikOtHrSfL+3zwhZzlqDugPXu8BArv7AYGo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JASCcvMTEtOPElosrLLVM5D2Rp66gZVGk3ynHqsvY55gmV0uijrf54wh4o5hv9NwS jOEsjCecgUw6cy8+YAWZ7Pv79QcD87KGDqrtEgYaPLhL9dgcNqz/1YGnfmLXybuq4D iOJQHHgkUKcaEZuzgVRBtwHou+MyUhvQKC55la80= Message-ID: <3d9c31bf-9ba5-4b8c-085d-4572ee5d4b55@linux.microsoft.com> Date: Thu, 20 Jan 2022 14:52:43 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v3] drivers: spi-nor: Add JEDEC id for W25Q16JV Content-Language: en-US To: Tudor.Ambarus@microchip.com, jagan@amarulasolutions.com, michael@walle.cc, angus@akkea.ca Cc: kernel@puri.sm, u-boot@lists.denx.de, vigneshr@ti.com References: <20220120132010.3019854-1-michael@walle.cc> <8cc5ac9e-74ee-5fa5-e2c7-dbed13a8283a@microchip.com> From: Dhananjay Phadke In-Reply-To: <8cc5ac9e-74ee-5fa5-e2c7-dbed13a8283a@microchip.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On 1/20/2022 7:46 AM, Tudor.Ambarus@microchip.com wrote: >>>> FWIW, "w25q15jvm" would be the "correct" name in linux. Although for this >>>> particular flash the name in linux is "w25q16jv-im/jm".. >>> >>> would you fix it? :D >>> >>>> >>>> Anyhow, see [1] for a lengthy discussion on that name. That being said, I >>>> still don't share Tudors opinion on using that made up name, just because >>>> no one will find any flash if one searches for w25q16jvm in the internet. >>> >>> The temperature range "I/J" is skipped in the name because it does not have >>> any influence on the jedec-id. That's why we don't include the "Package Type" >>> field in the naming convention as well. >> >> Okay, I'm merging v3. let me know if you have any questions? >> > > For now it should be fine. But if anyone is feeling brave enough maybe we should > fix the naming scheme for winbond once and for all. It seems that the flashes > were we append "m" support DTR, and in fact winbond names them blabla-dtr [1]. > So instead of "w25q16jvm" maybe it's better to convert to "w25q16jv-dtr". > Are there any volunteers to check if my assumption is correct? > > [1] https://www.winbond.com/hq/product/code-storage-flash-memory/serial-nor-flash/?__locale=en&selected=128Mb#Density I would be happy to do it if there's consensus that we can break downstream device-tree users that hold older compatible string :-). I thought of w25q512jv-dtr for my patch [1] but saw "m" suffix used for other dtr parts. On related note, that array can be sorted by Device ID. [1] https://lore.kernel.org/u-boot/0c3e4727-0997-a4c5-dab1-b09ea8781c72@linux.microsoft.com/ Dhananjay