/
Теги: programming computer science computer technology databases
Год: 2022
Текст
TECHNICAL NOTE
Summary of 2021 patchworks
Background
As a world-wide leader in non-volatile memory, Macronix is committed to provide best quality products and
constantly devotes to offer advanced features that benefit customers' system performance, low power, and
versatile. Macronix has worked closely with most popular communities like Linux or mbed OS to enable new
features readyto-use through driver patching and comprehensive verification.
It is delightful to summarize our progress for your reference on the note. In 2021, we have developed 15
patchworks on either Linux or u-boot, 9 of them have been accepted and merged into the mainlines. Even the other
6 are under review, users can still visit our website for early adoption. Our patchworks span four categories: new
devices, new features, optimization, and interface controllers. Users can figure out more information in this note
and go visit repos on the github and patchworks on Macronix website.
Outline
Devices:
1. mtd: spinand: macronix: Add support for serial NAND flash
2. mtd: spi-nor: macronix: add support for Macronix octaflash
3. mtd: spi-nor: macronix: add support for Macronix octaflash
4. mtd: spi-nor: macronix: Add support for mx25l51245g
5. Uboot mtd: spinand: macronix: Add support for serial NAND flash in u-boot
6. Uboot Add MX66UW2G345G(1-1-8) ID
Feature support:
1. Add octal DTR support for Macronix flash
2. Support SPI-NAND continuous read
3. Add octal DTR support for Macronix flash(U-boot)
Optimization:
1. mtd: spinand: Fix double counting of ECC stats
Controller support:
1. spi: mxic: patch for octal DTR mode support
2. memory: renesas-rpc-if: Fix missing setting address
3. Uboot mtd: rawnand: Add Macronix raw NAND controller driver
CLK driver support:
1. Uboot Add clock wizard driver
ECC Engine support:
1. External ECC engines & Macronix support
P/N: AN0916
Macronix Proprietary
1
Rev. 1, March 03, 2022
TECHNICAL NOTE
Patchworks
Linux Kernel
• SPI NAND
1. mtd: spinand: macronix: Add support for serial NAND flash
• Macronix NAND Flash devices are available in different configurations and densities. Add Macronix
NAND Flash IDs in Linux Kernel.
Patch Link:mtd: spinand: macronix: Add support for serial NAND flash
P/N: AN0916
Macronix Proprietary
2
Rev. 1, March 03, 2022
TECHNICAL NOTE
2. mtd: spinand: Fix double counting of ECC stats
• In the SPI-NAND world it was a bit different until now because there was only one possible ECC
engine: the on-die one.
Patch Link:mtd: spinand: Fix double counting of ECC stats
3. Support SPI-NAND continuous read (Under Review)
• This series add support continuous read mode for SPI NAND
P/N: AN0916
Patch Link:Support SPI-NAND continuous read
Macronix Proprietary
3
Rev. 1, March 03, 2022
TECHNICAL NOTE
• SPI NOR
1. mtd: spi-nor: macronix: add support for Macronix octaflash (Under Review)
• Add Macronix SPI NOR octal Flash IDs in Linux kernel
P/N: AN0916
Patch Link:mtd: spi-nor: macronix: add support for Macronix octaflash
Macronix Proprietary
4
Rev. 1, March 03, 2022
TECHNICAL NOTE
P/N: AN0916
Macronix Proprietary
5
Rev. 1, March 03, 2022
TECHNICAL NOTE
2. Add octal DTR support for Macronix flash (Under Review)
• This series add support for Macronix octal DTR flash and add octal Flash IDs in ID table.
P/N: AN0916
Patch Link:Add octal DTR support for Macronix flash
Macronix Proprietary
6
Rev. 1, March 03, 2022
TECHNICAL NOTE
3. mtd: spi-nor: macronix: Add support for mx25l51245g (Ambarus Tudor)
• Change flash name
Patch Link:mtd: spi-nor: macronix: Add support for mx25l51245g
• ECC ENGINE
1. External ECC engines & Macronix support (Under Review)
• This series is now stable and brings support for external/modular ECC engines, and let SPI
controller using the ECC framework.
P/N: AN0916
Patch Link:External ECC engines & Macronix support
Reference:SPI-NAND & Host-Side ECC in Linux - ECC Engine Framework
Macronix Proprietary
7
Rev. 1, March 03, 2022
TECHNICAL NOTE
• Controller Driver
1. spi: mxic: patch for octal DTR mode support
• Add dtr operation support in spi_mem_default_supports_ops() to support dtrand keep checking
the buswidth and command bytes.
Patch Link:spi: mxic: patch for octal DTR mode support
2. memory: renesas-rpc-if: Fix missing setting address (Under Review)
• In the RPC manual mode, if the data direction is not set , the address misses the setting.
P/N: AN0916
Patch Link:memory: renesas-rpc-if: Fix missing setting address
Macronix Proprietary
8
Rev. 1, March 03, 2022
TECHNICAL NOTE
U-boot
• SPI NAND
1. Uboot mtd: spinand: macronix: Add support for serial NAND flash in u-boot
• Add SPI NAND IDs in ID table for U-boot
Patch Link:Uboot mtd: spinand: macronix: Add support for serial NAND flash in u-boot
• SPI NOR
1. Add octal DTR support for Macronix flash (Under Review)
• This series add support for Macronix octal DTR flash and add octal Flash IDs in ID table.
Patch Link:Add octal DTR support for Macronix flash(U-boot)
2. Uboot Add MX66UW2G345G(1-1-8) ID
• The MX66UW2G345G is Macronix Flash with SINGLE and OCTAL I/O. Hence, add
SPI_NOR_OCTAL_READ flag for this flash.
Patch Link:Uboot Add MX66UW2G345G(1-1-8) ID
• CLK Driver
1. Uboot Add clock wizard driver
• The Clocking Wizard IP supports clock circuits customized to your clocking requirements. The
wizard support for dynamically reconfiguring the clocking primitives for Multiply, Divide, Phase
Shift/Offset, or Duty Cycle.
Patch Link:Uboot Add clock wizard driver
• Controller Driver
1. Uboot spi: Add MXIC controller driver
• Add a driver for Macronix SPI controller IP.
Patch Link:Uboot spi: Add MXIC controller driver
2. Uboot mtd: rawnand: Add Macronix raw NAND controller driver
• Add a driver for Macronix raw NAND controller.
Patch Link:Uboot mtd: rawnand: Add Macronix raw NAND controller driver
P/N: AN0916
Macronix Proprietary
9
Rev. 1, March 03, 2022
TECHNICAL NOTE
Revision History
Revision No.
Rev. 1
P/N: AN0916
Description
Initial Release
Macronix Proprietary
10
Page
Date
ALL
March 03, 2022
Rev. 1, March 03, 2022
TECHNICAL NOTE
Except for customized products which has been expressly identified in the applicable agreement, Macronix's
products are designed, developed, and/or manufactured for ordinary business, industrial, personal, and/or
household applications only, and not for use in any applications which may, directly or indirectly, cause death,
personal injury, or severe property damages. In the event Macronix products are used in contradicted to their
target usage above, the buyer shall take any and all actions to ensure said Macronix's product qualified for its
actual use in accordance with the applicable laws and regulations; and Macronix as well as it’s suppliers and/or
distributors shall be released from any and all liability arisen therefrom.
Copyright© Macronix International Co., Ltd. 2022. All rights reserved, including the trademarks and tradename
thereof, such as Macronix, MXIC, MXIC Logo, MX Logo, Integrated Solutions Provider, Nbit, Macronix NBit, HybridNVM, HybridFlash, HybridXFlash, XtraROM, KH Logo, BE-SONOS, KSMC, Kingtech, MXSMIO, RichBook,
OctaBus, ArmorFlash, LybraFlash. The names and brands of third party referred thereto (if any) are for identification purposes only.
For the contact and order information, please visit Macronix’s Web site at: http://www.macronix.com
MACRONIX INTERNATIONAL CO., LTD. reserves the right to change product and specifications without notice.
P/N: AN0916
Macronix Proprietary
11
Rev. 1, March 03, 2022