Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2251179rwb; Mon, 7 Nov 2022 10:58:37 -0800 (PST) X-Google-Smtp-Source: AMsMyM5AGLjPwF0/ujNljMxH5sMXH1+VlTV8FebMLbec7uW98UiItpkIUJJhAYKY2UXBG6PsgXrR X-Received: by 2002:a17:90b:4b84:b0:213:beb9:b3c1 with SMTP id lr4-20020a17090b4b8400b00213beb9b3c1mr49046931pjb.162.1667847517039; Mon, 07 Nov 2022 10:58:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667847517; cv=none; d=google.com; s=arc-20160816; b=dgIs6hoR/JrhRfAQ3Apg8HR6gQp+YXBELhFlP8LnGVDznPkSEMNqf75OXaLHEghKTq wMOzQsCq/tyJb7IIdj30uMfHS2sm/DCln38nMAnSitfJ5kBqLtKjsr0rTfaRfs7Niyo8 58GER2Em/WOL8yc5y6GwJ/oy4lNDJD3SmA2pN0kkgLuyJrHngySL/VhionoLM+q/QF+a yXC+Zlh69vq0hT/pLtLp46R6AvU7J3SUgR+V+5VodvaxTjyRcMPMfCUV7CxI8w76Q6o1 3QKsxoxG2Fla2MFovCQP3AaH1twohYhbEpCg1XXShF/hQLmAiXCvfAmcYk2lgH/SNWyK 09XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=i66Bm0EZDr45BT3ymGVEXCMJcddpq0EAsVqoE2IhkH0=; b=MfynZ4tShuVL6exK7zMzu+AiXxM1XBd4jf4JwJsZO4y6lwdvmutIdfuqcg2VE6XAqS EfeZyintSPkrKyeIUFXYVvLMN2UL4dcmFizC9tgyt8yBTNIO7MGMn5iy0ZX2gV8wUQAV Kl0Ok07hAcOrjO2WTgVrhGqR1ccLtJzufBHSVoBE96AzM+30DizrxKEGQQE6Ye74yhHW 8iQ932aJAv8SjurgxigZZeJ/V7CEq/Fio7K1SMDEs7IDQUD26Z015aSYEVnYxhCk7OIB /n0uQwJaMJ3+6ZioC8z2vYyIK6BKDWhfjGYZuBG1ENgg6eoRaIn77cjLHwI9fV0zD3FR 4rKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b="bF9wy7/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a10-20020a17090abe0a00b002119e6aa0casi9588089pjs.43.2022.11.07.10.58.24; Mon, 07 Nov 2022 10:58:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b="bF9wy7/3"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232744AbiKGSXB (ORCPT + 93 others); Mon, 7 Nov 2022 13:23:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232237AbiKGSW4 (ORCPT ); Mon, 7 Nov 2022 13:22:56 -0500 Received: from mail.3ffe.de (0001.3ffe.de [159.69.201.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EBCCBC2A for ; Mon, 7 Nov 2022 10:22:54 -0800 (PST) Received: from 3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id 72805341; Mon, 7 Nov 2022 19:22:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1667845371; 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=i66Bm0EZDr45BT3ymGVEXCMJcddpq0EAsVqoE2IhkH0=; b=bF9wy7/3AMbvbZ/I/qwQgwklcwO/HJZ6Y2p0Srmc2Rcdncz/0ZWSETGs1INfRJDU0YCurR NlyktDRNPvRmduTi9RuOuQXgJfjmrYjB+a6ThiUrkpD4s6z4EM4ssKWfVspyZRQTPZI+ch ixDKhVAQRY72zvKWpgujsvuU5sHUi9OMF1cbjS+ONYBZU1Mo7A7yO5eZy9WT1jAn6PplyZ Gq35WzUoDJtNiTx3FHRej/na77owZvcTBL4oijAcKoqdiNge7lRapuCA/YonmHa9gVgytM v1UNq/Jvm/LmCwW/Pv0S6pYoCN4M3EofdRX7stOJCDOfWWMTapTQXYm+UY8+Bw== MIME-Version: 1.0 Date: Mon, 07 Nov 2022 19:22:51 +0100 From: Michael Walle To: Tudor.Ambarus@microchip.com Cc: pratyush@kernel.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Takahiro.Kuwano@infineon.com Subject: Re: [PATCH v2 6/7] mtd: spi-nor: add generic flash driver In-Reply-To: <848f22da-7f1b-ae93-99d3-65a5f31cb122@microchip.com> References: <20220810220654.1297699-1-michael@walle.cc> <20220810220654.1297699-7-michael@walle.cc> <848f22da-7f1b-ae93-99d3-65a5f31cb122@microchip.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <2b56d38b76660692117103c9de213cdc@walle.cc> X-Sender: michael@walle.cc Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2022-11-01 09:46, schrieb Tudor.Ambarus@microchip.com: > On 8/11/22 01:06, Michael Walle wrote: >> --- a/drivers/mtd/spi-nor/core.c >> +++ b/drivers/mtd/spi-nor/core.c >> @@ -1632,6 +1632,16 @@ static const struct spi_nor_manufacturer >> *manufacturers[] = { >> &spi_nor_xmc, >> }; >> >> +static const struct flash_info spi_nor_generic_flash = { >> + .name = "spi-nor-generic", > > How about "jedec,spi-nor" instead? The series looks good, I intend to > test it > and apply it soon. I had that string before actually but decided against it because it looks like "jedec" is the vendor, which is (a) not true for any flash and (b) if it would be a vendor, it should go into the manufacturer property, which isn't supported at the moment. That being said, I don't care too much. After all, it's just a name. (and yes, I'm on vacation till next week ;) -michael