kernel: add pending patches for new LED_FUNCTION_* definitions
[openwrt/openwrt.git] / target / linux / generic / pending-6.1 / 485-mtd-spi-nor-add-xmc-xm25qh128c.patch
1 From f6b33d850f7f12555df2fa0e3349b33427bf5890 Mon Sep 17 00:00:00 2001
2 From: OpenWrt community <openwrt-devel@lists.openwrt.org>
3 Date: Wed, 13 Jul 2022 12:19:01 +0200
4 Subject: [PATCH] spi-nor/xmc.c: add xm25qh128c
5
6 The XMC XM25QH128C is a 16MB SPI NOR chip. The patch is verified on
7 Ruijie RG-EW3200GX PRO.
8 Datasheet available at https://www.xmcwh.com/uploads/435/XM25QH128C.pdf
9
10 ---
11 drivers/mtd/spi-nor/xmc.c | 2 ++
12 1 file changed, 2 insertions(+)
13
14 --- a/drivers/mtd/spi-nor/xmc.c
15 +++ b/drivers/mtd/spi-nor/xmc.c
16 @@ -16,6 +16,9 @@ static const struct flash_info xmc_nor_p
17 { "XM25QH128A", INFO(0x207018, 0, 64 * 1024, 256)
18 NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
19 SPI_NOR_QUAD_READ) },
20 + { "XM25QH128C", INFO(0x204018, 0, 64 * 1024, 256)
21 + NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
22 + SPI_NOR_QUAD_READ) },
23 };
24
25 const struct spi_nor_manufacturer spi_nor_xmc = {