Searched +full:rtl9302c +full:- +full:snand (Results 1 – 2 of 2) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/spi/realtek,rtl9301-snand.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: SPI-NAND Flash Controller for Realtek RTL9300 SoCs10 - Chris Packham <[email protected]>13 The Realtek RTL9300 SoCs have a built in SPI-NAND controller. It supports14 typical SPI-NAND page cache operations in single, dual or quad IO mode.19 - items:20 - enum:[all …]
1 // SPDX-License-Identifier: GPL-2.0-only4 #include <linux/dma-mapping.h>10 #include <linux/spi/spi-mem.h>29 #define CMR_LEN(len) ((len) - 1)40 struct rtl_snand *snand = data; in rtl_snand_irq() local43 regmap_read(snand->regmap, SNAFSR, &val); in rtl_snand_irq()47 regmap_write(snand->regmap, SNAFDIR, SNAFDIR_DMA_IP); in rtl_snand_irq()48 complete(&snand->comp); in rtl_snand_irq()58 if (op->cmd.nbytes != 1 || op->cmd.buswidth != 1) in rtl_snand_supports_op()63 static void rtl_snand_set_cs(struct rtl_snand *snand, int cs, bool active) in rtl_snand_set_cs() argument[all …]