Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1922958lqz; Tue, 2 Apr 2024 01:35:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU3qmo0eZeilyNIz1wa3rjiTiKZihuGLgsSNb+jBHdHbwGzA2EZ9QyJIn9V0oqHREyYQnSBIFhxEjYuQtJUQzR+94vxBu1Vj3wWnONHMA== X-Google-Smtp-Source: AGHT+IGqjLRr5ZwBHkDAhasFg0lwI255tXwMAK93dYiMj/JGqc1nB2IaUDOUVtacYbrDb2TMja9u X-Received: by 2002:a17:906:49a:b0:a4e:6f0d:c53b with SMTP id f26-20020a170906049a00b00a4e6f0dc53bmr2779765eja.35.1712046918316; Tue, 02 Apr 2024 01:35:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712046918; cv=pass; d=google.com; s=arc-20160816; b=zkd0n5sog+qrgwGJt6NfVIBKaL+gORIB9iH93vVNr4YKTpo+uyPU/hIUNuxnXGL+Iw DYx7nHHqOR+UuDwCDAlRFM0taWmfl5tcqD9EKi9W89ny5WS2wQFHFXXd2z7SZ++x2rlB 5W8au660j29AR4i5VGCrcUjfaKAi7nPwVSHw+8Xowd+kveKr9F6hUmx/MrXgHjVFq9h7 m6kxSw9DVXN0ee5RgSkjEJkn9l05g5CAI1GkpXuPWgiYuXivTZCAINESznvNMFhjfWf/ vkg48RUZeoSu9fp478DgiU5tcrluKzJ2HkgGGaf6GOEyGuJbFNs4YZJcVHu+rgzjMi6m sVuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to :references:to:from:cc:subject:message-id:date:dkim-signature; bh=iUrzhnN1b0wYbSN2sEfMxv3eMGLGJkK4YqxS0Ed/Uto=; fh=i63+kPhJq39dZNslZ+7q/fi/1tRroZPNWhD3bogeFCo=; b=SE1WotHLavik9nxAW7h+lRcADHOLW0C82C9LwTtIWlGrZpv6qr7c9cLlznD00uauUl cBBubObjSbYif/Tv9Cgt/72ywUKrDDB54p5Lc2Zi/E9VlMdsIuFebc9BNdkWjZKeeATf L3t1MbDN+BTZ3IKhPwaqbPuNLnvGogjk2CRdZBBy685KrqeSb5PqE1YYHvSvxk96490q AG8/B9s4pVFCWUo99h9PP/Yrr6czKSF55d0DMN5SrKJAaTuRIhDTzAbX4t/F7AAmr3oy 0cN0wmvVfldDiQJUHGxUBPwfId/uEkqdgPGH9DjBmRs4SbwDop923HQRwxeNrbMxR7JS x1zw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bfr3sTaj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-127560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id m10-20020a1709061eca00b00a4e0eaee044si5268053ejj.814.2024.04.02.01.35.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 01:35:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bfr3sTaj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-127560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0E0BE1F21ED3 for ; Tue, 2 Apr 2024 08:35:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C3B350278; Tue, 2 Apr 2024 08:34:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bfr3sTaj" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C36B94B5CD; Tue, 2 Apr 2024 08:34:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712046896; cv=none; b=OVHlC5PNKEjiX3AWZewnAxqebfB12XARd8nO2/Q5a7Q8bKaXvIBbgBJx/IhplrGZtipAp+Ts+5Y8NW7CWnACewAYNjPwbH0EmRj2phtfN7+TDljoeKfJT7YtZZKcyvGDc6lVsOOgguv/JqfGmzGZI9kieHyO+ZQbucdTMGMlKuA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712046896; c=relaxed/simple; bh=7kWQsmRpXpQp3bKZs819yi3gZoHSA+71Gnw2aAmVD8Q=; h=Content-Type:Date:Message-Id:Subject:Cc:From:To:References: In-Reply-To; b=rm6QVZhAV6vHYcsEGaAzXHlDO0zREuAiHT7VeBJGwiS9Kjx661VZYNT3oPhYDv14PIU5i1eDh7r9n5mtG017t1m4aVYBmSvE4kVdMxLdU5bY7Rt7Ep9zkn8dGwF+jrnzEJ6PxdEp5Egc0Te4QlspRQ9XP/GL9YdFg+BoNKWS7PE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bfr3sTaj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09764C433F1; Tue, 2 Apr 2024 08:34:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712046896; bh=7kWQsmRpXpQp3bKZs819yi3gZoHSA+71Gnw2aAmVD8Q=; h=Date:Subject:Cc:From:To:References:In-Reply-To:From; b=bfr3sTajNmvYKWQlCUAOLZDhOZDixacRj748vqrWjfjM0XS4/InLHeTeh2ikZ6d13 NUTKGQm4P31n041l8D5MMKx+41+Q5Lciqwy1rq1t/W+Wx5yZJdApWwpDy/tvw1y7MU UgTTB3iDt1q7Vq6SLtgKLg2jZ50crK7SPj6YLO6Yasn87sun6XiVDGVmti69ZhdNzk LNIRLNTFve5yE8tlAmLmp2nBq+bCYGsqOkydJ1g7HTrnIws30bbyLy0LQaPhO7CklW SG5lQ/SiIKXiGx+KomnfjSc6KtFf4LQd4PihFEk8BuMJBpAaj1aTHSWc5gxIgfuKHk bu2jpx34peFfg== Content-Type: multipart/signed; boundary=92633de13f80d4722cab62876e75f1f46a1ce5d8254bdf21234f6f54d746; micalg=pgp-sha384; protocol="application/pgp-signature" Date: Tue, 02 Apr 2024 10:34:52 +0200 Message-Id: Subject: Re: [PATCH] mtd: spi-nor: macronix: Add support for mx25um51245g Cc: From: "Michael Walle" To: "Witold Sadowski" , , , X-Mailer: aerc 0.16.0 References: <20240328115225.1783-1-wsadowski@marvell.com> In-Reply-To: <20240328115225.1783-1-wsadowski@marvell.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: --92633de13f80d4722cab62876e75f1f46a1ce5d8254bdf21234f6f54d746 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 [+ linux-mtd ] Hi, On Thu Mar 28, 2024 at 12:52 PM CET, Witold Sadowski wrote: > The Macronix mx25um51245g is a 1.8V, 512Mbit (64MB) device that > supports x1, or x8 operation. > > Tested on Marvell Octeon SoC hardware with a Cadence xSPI controller. > > Signed-off-by: Witold Sadowski You haven't CC'ed the correct list, therefore it's unlikely this will get a proper review/getting merged at all. As Krzysztof already pointed out on another series of yours, please read submitting-patches.rst. For nor flash related submissions please also read: https://docs.kernel.org/driver-api/mtd/spi-nor.html > --- > drivers/mtd/spi-nor/macronix.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macroni= x.c > index ea6be95e75a5..f5fbdb7912e0 100644 > --- a/drivers/mtd/spi-nor/macronix.c > +++ b/drivers/mtd/spi-nor/macronix.c > @@ -182,6 +182,12 @@ static const struct flash_info macronix_nor_parts[] = =3D { > .name =3D "mx25l3255e", > .size =3D SZ_4M, > .no_sfdp_flags =3D SECT_4K, > + }, { > + .id =3D SNOR_ID(0xc2, 0x80, 0x3a), Wrong indentation?. Please use checkpatch.pl. > + .name =3D "mx25um51245g", drop the name. > + .size =3D SZ_64M, This is also autodetected. Drop it. > + .no_sfdp_flags =3D SECT_4K, No "no_sfdp_flags" for SFDP capable flashes. Drop it. > + .fixup_flags =3D SPI_NOR_4B_OPCODES, Doesn't the flash have proper a 4BAIT table? -michael --92633de13f80d4722cab62876e75f1f46a1ce5d8254bdf21234f6f54d746 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iKgEABMJADAWIQTIVZIcOo5wfU/AngkSJzzuPgIf+AUCZgvDLRIcbXdhbGxlQGtl cm5lbC5vcmcACgkQEic87j4CH/jOzgF+KSOzHoPsP7oOG25ae5P4lNDk1qp6LWMv Vx6iQft3Sn8zwAqBytHxaG7tzw/x0wHnAYDnH/uN4T9V/ZDc5xhO/0oHsFXQWxFt fOsRGlwuKLLrxY3mTAs9UnSXSxXQ2GA+iKY= =MbwG -----END PGP SIGNATURE----- --92633de13f80d4722cab62876e75f1f46a1ce5d8254bdf21234f6f54d746--