Message ID | 20240201094353.33281-8-jaimeliao.tw@gmail.com |
---|---|
State | New |
Headers | show
Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2DEE4D9F3 for <linux-spi@vger.kernel.org>; Thu, 1 Feb 2024 09:44:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706780646; cv=none; b=fhxNiWZqECBeJ7pQF5zfXKaFAiMMqFB9MdSFo9FUhUdN9JS3uapAe5IJz5T0bYGUNG6LyUVnoE0+2mfFT8TXwia6wDnLMGnzQjgj9RPm+d2jjm917G2k+hRmkQ7NTkdDAxROyh/jjcUDa284y3VlUD+dosjukRE38vhpae5L63E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706780646; c=relaxed/simple; bh=hfNt+/QPMpa53eI9gudunueKzxHL5iJp50BiUsg0tN0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=j9RF8lvayET3y0weABiLs7MQhg6FbP2kswAfQQVb3nm1WFZuILdaMlhmZxewcYlY64jNS1vZhMHNUMj/Qc3OJhMZ05UEMnG9GaX9zlhxElIypDPDGmm5EIl6fohvkcUWBQIOrYl872W2q5UYVMoOjlfVmvFRvoqtw1F8kQeSS8E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mhCaKBIE; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mhCaKBIE" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1d94323d547so5759185ad.3 for <linux-spi@vger.kernel.org>; Thu, 01 Feb 2024 01:44:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706780644; x=1707385444; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TIFlFHvsfhehyqaRP1ouo3BOZo0GfNeez8MgVuBet0s=; b=mhCaKBIErbRKcxNUvPJA3yIqN0zaEhuuBH3fBdvGNIuTaK/fTQNodvLSXqTp34GBxa we4jK8pKv8enmNhHe16tK5c4qlR5HQBGvBxaAzgNqr6PzciaVbPeOYgEIRwS9KBkQXI8 vGAWbfiqWTFIDzZLNI1mDJTWkaXeKH214YOplv4Dw6iqB/OXmR/J7sTP8xYwWER6rUEy 7SMzUsaubt4B4o3ltiYzVBR1mbPDzysatrDVNR4pAi+U6XMkxaDLSZQydP0bPpvKb4y6 Ip6iOrXeNDgKFLDBcKUKHrINmRF8zuuBxxcc90A0h8FkgKk6QA0OBnBI7w2usPjVhnS9 c4vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706780644; x=1707385444; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TIFlFHvsfhehyqaRP1ouo3BOZo0GfNeez8MgVuBet0s=; b=tl9PxVK9gTBo+mNUV60H4AS5I9Dxlm69hhqjK/Bx14lPM9jbQJoopnp2HsGT9LTIbF lxOKUJQBFERN7W/u23uMPuIhTO0j0ReqpQK+18H2717ap/b3HNvW1+jYYJ2lJy+PUNmD 7xfGboxBwQQNqXFu4RK0+JfFLPPu9++2FVYAv/VDzdctH5gjpE5Uw3BbA3Wn+b1HxbAh MUYa4+VaLCiBSsMXrFt/4tGGv11ccZh7RTcmMAYoXKzcT33Fodc9a/HbC3jhtmpNM/5b Dt2VpGdx8peRjoHKEB+iWMBOkAdl8Z+F4F8/cb2tHkXKKoiXsf4Cxq6oX3QezQMNFRfG oUTg== X-Gm-Message-State: AOJu0YzfaTTCmCIVsLPUA7N4iXxDKdDQY7Me5EdcusfKOsCPSifPw/XE EbT4uAXXzfA4zeHRkiMW+YiP1rtXU6nlksGua44sGGM12yIMbeNUVey+iX9v X-Google-Smtp-Source: AGHT+IHlZA9spCAb+BCzW/P1IYWDzYvqxoNQf81FFLcaIHCdMdjqwYATrTEjwhN8oN8793XIbjA/Dg== X-Received: by 2002:a17:903:124f:b0:1d8:e64d:cd62 with SMTP id u15-20020a170903124f00b001d8e64dcd62mr5067889plh.4.1706780644147; Thu, 01 Feb 2024 01:44:04 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUh5GEk7WVrzJRmvi+GSq9RGnyQ1o6+i0AVQ5YPywzhsI+etuixfFvN1BF5H+HsM/fD2UAZwK1rU10ShwTrV/WhubigKuhDsmdbvlXNbfqWeJ3uvUvPvV0tJsVEL7s3Z3khUwFki/4NeDoIqr6nJqYO9Q6n0NNPmjkiV+MJaYKc67abk9UccjoTTYUAnbcjVqjjuFXTPaG7omA5MYHCxgG+8sK9cNzZ/KbkFt3zqTyHzf2wFeZ2lJnZ6h62YaMB/NNGBO/uPFF1zLxrWO8xn5IODukcUcVbbBJqRp/hMe5aOGEOPDExQKjFJ+ifNEDiyKVZVg== Received: from twhmp6px (mxsmtp211.mxic.com.tw. [211.75.127.162]) by smtp.gmail.com with ESMTPSA id e20-20020a170902f1d400b001d8d1a2e5fesm7726309plc.196.2024.02.01.01.44.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 01:44:03 -0800 (PST) Received: from hqs-appsw-appswa2.mp600.macronix.com (linux-patcher [172.17.236.35]) by twhmp6px (Postfix) with ESMTPS id CC2F68074F; Thu, 1 Feb 2024 17:50:03 +0800 (CST) From: Jaime Liao <jaimeliao.tw@gmail.com> To: linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, tudor.ambarus@linaro.org, pratyush@kernel.org, mwalle@kernel.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, broonie@kernel.org Cc: leoyu@mxic.com.tw, jaimeliao@mxic.com.tw Subject: [PATCH v8 7/9] mtd: spi-nor: add support for Macronix Octal flash MX66 series with RWW feature Date: Thu, 1 Feb 2024 17:43:51 +0800 Message-Id: <20240201094353.33281-8-jaimeliao.tw@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240201094353.33281-1-jaimeliao.tw@gmail.com> References: <20240201094353.33281-1-jaimeliao.tw@gmail.com> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: <linux-spi.vger.kernel.org> List-Subscribe: <mailto:linux-spi+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-spi+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
Add octal DTR support for Macronix flash
|
expand
|
diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c index 467bb5c97d6c..29bd5f0b32ec 100644 --- a/drivers/mtd/spi-nor/macronix.c +++ b/drivers/mtd/spi-nor/macronix.c @@ -240,6 +240,18 @@ static const struct flash_info macronix_nor_parts[] = { .id = SNOR_ID(0xc2, 0x84, 0x3b), .n_banks = 4, .flags = SPI_NOR_RWW, + }, { + .id = SNOR_ID(0xc2, 0x81, 0x3b), + .n_banks = 4, + .flags = SPI_NOR_RWW, + }, { + .id = SNOR_ID(0xc2, 0x84, 0x3c), + .n_banks = 4, + .flags = SPI_NOR_RWW, + }, { + .id = SNOR_ID(0xc2, 0x94, 0x3c), + .n_banks = 4, + .flags = SPI_NOR_RWW, } };