of interrupt based handling
- DMA operations not supported. Remove it
- Adapt DT parsing to U-Boot APIs
v2:
- Add linux reference version in the commit message from which the
driver is ported from
- Reword the commit message to describe the changes clearly
Balamanikandan Gunasundar (9):
nand
parsing to U-Boot APIs
Signed-off-by: Balamanikandan Gunasundar
---
drivers/mtd/nand/raw/Kconfig |8 +
drivers/mtd/nand/raw/Makefile|1 +
drivers/mtd/nand/raw/atmel/Makefile |4 +
drivers/mtd/nand/raw/atmel/nand-controller.c | 2293
Add driver for atmel pmecc. This implementation is ported from
Linux. The reference taken is linux-5.4-at91.
Signed-off-by: Balamanikandan Gunasundar
---
drivers/mtd/nand/raw/atmel/Makefile | 3 +-
drivers/mtd/nand/raw/atmel/pmecc.c | 965
drivers/mtd/nand/raw
This file is copied from Linux. AT91 SoCs have a memory range reserved
for internal bus configuration. Expose those registers so that drivers
can make use of the matrix syscon declared in at91 DTs.
Signed-off-by: Balamanikandan Gunasundar
---
include/linux/mfd/syscon/atmel-matrix.h | 112
The EBI is used to access peripherals like NAND, SRAM, NOR etc. Add
this driver to probe the nand flash controller. This is a dummy driver
and not yet a complete device driver for EBI.
Signed-off-by: Balamanikandan Gunasundar
---
MAINTAINERS| 1 +
drivers/memory/Kconfig
Add driver for atmel Static Memory Controller. Add helper functions to
configure SMC. This file is inherited from the work done by Boris
Brezillon for Linux
Signed-off-by: Balamanikandan Gunasundar
---
drivers/Kconfig | 2 +
drivers/Makefile | 1
Enable Device model supported NAND driver and remove legacy Atmel NAND
driver.
Signed-off-by: Balamanikandan Gunasundar
---
configs/sam9x60ek_mmc_defconfig | 9 ++---
configs/sam9x60ek_nandflash_defconfig | 9 ++---
configs/sam9x60ek_qspiflash_defconfig | 8 +---
3 files
Add new bindings for EBI and NAND controller
Signed-off-by: Balamanikandan Gunasundar
---
arch/arm/dts/sam9x60.dtsi | 42 +++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
index a5c429eb3a..17224ef771
Enable the EBI and NAND flash controller. Define the pinctrl and
partition table
Signed-off-by: Balamanikandan Gunasundar
---
arch/arm/dts/sam9x60ek.dts | 103 +
1 file changed, 103 insertions(+)
diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts
Move this out of board file as this is done by the DM based NAND flash
driver. The EBI chip select configuration, iomux and timings are
handled by the driver
Signed-off-by: Balamanikandan Gunasundar
---
board/atmel/sam9x60ek/sam9x60ek.c | 59 ---
include/configs
-send-email-holger.bru...@keymile.com
The implementation is inspired from
'mtd-utils/nand-utils/nandflipbits.c'
Signed-off-by: Balamanikandan Gunasundar
---
cmd/nand.c | 127 +++--
1 file changed, 124 insertions(+), 3 deletions(-)
di
l sub-nodes"
v2:
- Add linux reference version in the commit message from which the
driver is ported from
- Reword the commit message to describe the changes clearly
Balamanikandan Gunasundar (9):
nand: atmel: Add DM based NAND driver
nand: atmel: Add pmecc driver
mfd: syscon: Add at
parsing to U-Boot APIs
Signed-off-by: Balamanikandan Gunasundar
Signed-off-by: Balamanikandan Gunasundar
---
drivers/mtd/nand/raw/Kconfig |8 +
drivers/mtd/nand/raw/Makefile|1 +
drivers/mtd/nand/raw/atmel/Makefile |4 +
drivers/mtd/nand/raw
This file is copied from Linux. AT91 SoCs have a memory range reserved
for internal bus configuration. Expose those registers so that drivers
can make use of the matrix syscon declared in at91 DTs.
Signed-off-by: Balamanikandan Gunasundar
---
include/linux/mfd/syscon/atmel-matrix.h | 112
Add driver for atmel pmecc. This implementation is ported from
Linux. The reference taken is linux-5.4-at91.
Signed-off-by: Balamanikandan Gunasundar
---
drivers/mtd/nand/raw/atmel/Makefile | 3 +-
drivers/mtd/nand/raw/atmel/pmecc.c | 965
drivers/mtd/nand/raw
The EBI is used to access peripherals like NAND, SRAM, NOR etc. Add
this driver to probe the nand flash controller. This is a dummy driver
and not yet a complete device driver for EBI.
Signed-off-by: Balamanikandan Gunasundar
---
MAINTAINERS| 1 +
drivers/memory/Kconfig
Enable Device model supported NAND driver and remove legacy Atmel NAND
driver.
Signed-off-by: Balamanikandan Gunasundar
---
configs/sam9x60ek_mmc_defconfig | 9 ++---
configs/sam9x60ek_nandflash_defconfig | 9 ++---
configs/sam9x60ek_qspiflash_defconfig | 8 +---
3 files
Add new bindings for EBI and NAND controller
Signed-off-by: Balamanikandan Gunasundar
---
arch/arm/dts/sam9x60.dtsi | 42 +++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
index a5c429eb3a..17224ef771
Add helper functions for atmel Static Memory Controller. The functions
are required to configure SMC. This file is inherited from the work
done by Boris Brezillon for Linux
Signed-off-by: Balamanikandan Gunasundar
---
drivers/Kconfig | 2 +
drivers/Makefile
Enable the EBI and NAND flash controller. Define the pinctrl and
partition table
Signed-off-by: Balamanikandan Gunasundar
---
arch/arm/dts/sam9x60ek.dts | 103 +
1 file changed, 103 insertions(+)
diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts
Move this out of board file as this is done by the DM based NAND flash
driver. The EBI chip select configuration, iomux and timings are
handled by the driver
Signed-off-by: Balamanikandan Gunasundar
---
board/atmel/sam9x60ek/sam9x60ek.c | 59 ---
include/configs
This patch series adds support for NAND flash. The series adds DM
support and replaces the existing NAND driver NAND_ATMEL. The drivers
are ported from Linux based on the work done by Boris brezillon
Balamanikandan Gunasundar (9):
nand: atmel: Add DM based NAND driver
nand: atmel: Add pmecc
This implementation is ported from the rework done by Boris Brezillon
in Linux. The driver is tested in sam9x60ek, sama5d3_xplained,
sam9x75eb and sama7g54-ddr3-eb.
Signed-off-by: Balamanikandan Gunasundar
---
drivers/mtd/nand/raw/Kconfig |8 +
drivers/mtd/nand/raw/Makefile
Add driver for atmel pmecc.
Signed-off-by: Balamanikandan Gunasundar
---
drivers/mtd/nand/raw/atmel/Makefile | 3 +-
drivers/mtd/nand/raw/atmel/pmecc.c | 969
drivers/mtd/nand/raw/atmel/pmecc.h | 94 +++
3 files changed, 1065 insertions(+), 1 deletion
This file is copied from Linux. AT91 SoCs have a memory range reserved
for internal bus configuration. Expose those registers so that drivers
can make use of the matrix syscon declared in at91 DTs.
Signed-off-by: Balamanikandan Gunasundar
---
include/linux/mfd/syscon/atmel-matrix.h | 112
The EBI is used to access peripherals like NAND, SRAM, NOR etc. Add
this driver to probe the nand flash controller. This is a dummy driver
and not yet a complete device driver for EBI.
Signed-off-by: Balamanikandan Gunasundar
---
MAINTAINERS| 1 +
drivers/memory/Kconfig
Add driver for atmel Static Memory Controller. Add helper functions to
configure SMC. This file is inherited from the work done by Boris
Brezillon for Linux
Signed-off-by: Balamanikandan Gunasundar
---
drivers/Kconfig | 2 +
drivers/Makefile | 1
Enable Device model supported NAND driver and remove legacy Atmel NAND
driver
Signed-off-by: Balamanikandan Gunasundar
---
configs/sam9x60ek_mmc_defconfig | 9 ++---
configs/sam9x60ek_nandflash_defconfig | 9 ++---
configs/sam9x60ek_qspiflash_defconfig | 8 +---
3 files
Add new bindings for EBI and NAND controller
Signed-off-by: Balamanikandan Gunasundar
---
arch/arm/dts/sam9x60.dtsi | 42 +++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
index a5c429eb3a..17224ef771
Enable the EBI and NAND flash controller. Define the pinctrl and
partition table
Signed-off-by: Balamanikandan Gunasundar
---
arch/arm/dts/sam9x60ek.dts | 103 +
1 file changed, 103 insertions(+)
diff --git a/arch/arm/dts/sam9x60ek.dts b/arch/arm/dts
Move this out of board file as this is done by the DM based NAND flash
driver. The EBI chip select configuration, iomux and timings are
handled by the driver
Signed-off-by: Balamanikandan Gunasundar
---
board/atmel/sam9x60ek/sam9x60ek.c | 59 ---
1 file changed, 59
31 matches
Mail list logo